Bug 442196

Summary: second stage wants to install xinetd
Product: [openSUSE] openSUSE 11.1 Reporter: Olaf Hering <ohering>
Component: InstallationAssignee: Katarina Machalkova <kmachalkova>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: lars.vogdt
Version: Factory   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: bug442196.tar.bz2

Description Olaf Hering 2008-11-06 09:39:19 UTC
openSUSE-11.1-DVD-ppc-Build0005-Media1.iso, minimal installation on JS20 fenberry.suse.de

During vnc installation, the second stage wants to install xinetd and asks wether that should be done.

xinetd is installed, but fails to start because nothing is configured.

Shouldnt an automatic installation not ask questions?
Comment 1 Olaf Hering 2008-11-06 09:59:42 UTC
Created attachment 250232 [details]
bug442196.tar.bz2
Comment 2 Jan Kupec 2008-11-06 14:47:20 UTC
I have no clue here. Uwe, Miso?
Comment 3 Uwe Gansert 2008-11-07 10:36:33 UTC
are you sure you attached the right logs? The logs are not from an autoinstallation.
Comment 4 Olaf Hering 2008-11-07 10:50:13 UTC
its not an autoinstall.
Its automatic configuration, it should ask no questions in second stage.
Comment 5 Katarina Machalkova 2008-11-07 10:59:27 UTC
This is probably y2-network issue. xinetd is pulled in because of VNC installation, but it shouldn't ask user for confirming its installation once s/he opted for automatic conf. I'll check that
Comment 6 Katarina Machalkova 2008-11-10 09:00:22 UTC
Er, but xinetd does not look like installed in 2nd stage, see:

[libscr] SCR.cc(SCRExecute2):245 args: "rpm -q --whatprovides xinetd"
[bash] ShellCommand.cc(shellcommand):129 no package provides xinetd

Either way, if installation is VNC-one, we should a) take care all necessary packs are marked for installation in 1st stage b) even if they're not, installation in 2nd stage should be non-interactive
Comment 7 Katarina Machalkova 2008-11-13 10:44:08 UTC
Obviously "Minimal Server Selection (Text Mode)" image does not contain xinetd, as according to timestamps in zypp history, its installation has been really triggered only by remote_proposal.

So I've added xinetd to the list of required packages for VNC mode, to make sure it is really marked for installation in 1st stage.
y2-packager 2.17.43
Comment 8 Lars Vogdt 2008-11-18 13:16:28 UTC
What about changing the "Minimal Server Selection (Text Mode)" pattern instead of installing xinetd on every machine?

I'm not sure (the getpac diff doesn't show enough), but if you just install xinetd if the user installs via VNC, it's ok. Is that the case?
Comment 9 Katarina Machalkova 2008-11-18 13:40:40 UTC
> What about changing the "Minimal Server Selection (Text Mode)" pattern instead
> of installing xinetd on every machine?

It does not install xinetd on every machine, no. Only ...
 
> I'm not sure (the getpac diff doesn't show enough), but if you just install
> xinetd if the user installs via VNC, it's ok. Is that the case?

... like this. If and only we're installing via VNC. The full condition is as follows:

if (Linuxrc::vnc ())
        {
            packages = add (packages, "tightvnc");
            packages = add (packages, "yast2-qt");
            packages = add (packages, "xorg-x11");
            packages = add (packages, "icewm");
            packages = add (packages, "sax2-tools");
            packages = add (packages, "xinetd");
        }
Comment 10 Lars Vogdt 2008-11-18 15:58:46 UTC
jip, that's exactly what's missing for me ;-)

=> checked in.