[Bug 798620] New: systemctl hangs in 2nd stage
https://bugzilla.novell.com/show_bug.cgi?id=798620 https://bugzilla.novell.com/show_bug.cgi?id=798620#c0 Summary: systemctl hangs in 2nd stage Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 1 Platform: All OS/Version: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: bwiedemann@suse.com QAContact: qa-bugs@suse.de CC: locilka@suse.com Found By: System Test Blocker: --- openQA.o.o found that since today yast2 2nd stage hangs
ps ax 4079 tty1 Sl+ 0:08 y2base installation ("continue") qt --noborder --auto-fonts --fullscreen 4084 tty1 S+ 0:00 dbus-launch --autolaunch 98d2ecfbcf5c97e4baa0585150f529ed --binary-syntax --close-stderr 4085 ? Ss 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session 4240 tty1 S+ 0:00 /usr/bin/perl -w /usr/lib/YaST2/servers_non_y2/ag_udev_persistent 4337 tty1 S+ 0:00 y2base installation ("continue") qt --noborder --auto-fonts --fullscreen 4338 tty1 S+ 0:00 y2base installation ("continue") qt --noborder --auto-fonts --fullscreen 4339 tty1 S+ 0:00 /bin/systemctl start SuSEfirewall2.service 4340 tty1 S+ 0:00 /usr/bin/systemd-tty-ask-password-agent --watch
likely appears now because of changes for bug 795929 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c1
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c2
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c3
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c4
--- Comment #4 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c5
--- Comment #5 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c6
--- Comment #6 from Frederic Crozat
this time SuSEfirewall2.service is an actual service file. the NO_WRAP workaround to start SuSEfirewall2 without systemd knowing wont help anymore. The question is why does systemctl hang here but doesn't in the running system?
which is why I introduced SYSTEMCTL_OPTIONS, so we can ensure services are still wrapped with systemd but we can "tweak" how they are started (I've just pushed a patch for YaST to ensure it uses SYSTEMCTL_OPTIONS when calling systemctl. The blocking is coming from systemctl, which was waiting for SuSEfirewall2.service to be started. By default, systemd will wait until the services AND its dependencies are started. But unfortunately, YaST is starting the network itself, not through network.service, which is causing systemd is "block" until network.service is started (it is in the queue to be started, but only after YaST-Second-Stage is done). Some logic has been added to systemd to "merge" calls like this, but it looks like it doesn't merge the additional parameter (ignore-dependencies). This is something I need to discuss with upstream. So far, the "fix" is to : - ensure YaST will use SYSTEMCTL_OPTIONS, when set, to call systemctl - stop SuSEfirewall2.service in ExecStartPre in YaST-Second-Stage.service (no fonctional change, since the firewall was supposed to be started after / during Second Stage), so this call is removed from the activation queue in systemd -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c7
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c8
--- Comment #8 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c9
--- Comment #9 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c10
--- Comment #10 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c11
--- Comment #11 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c12
--- Comment #12 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c13
Gabriele Mohr
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c14
--- Comment #14 from Gabriele Mohr
I have started RC1 with ssh=1. The problem is still there. 2nd stage only continues after killing systemctl.
The problem with 2nd stage hanging is also there without ssh (and text mode). No more details available here because I couldn't switch to another console. Both tests done in virtualbox. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c15
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c16
Gabriele Mohr
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c17
--- Comment #17 from Gabriele Mohr
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c18
--- Comment #18 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c19
Michal Filka
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c20
--- Comment #20 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c
Alberto Planas Dominguez
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c21
Ancor Gonzalez Sosa
https://bugzilla.novell.com/show_bug.cgi?id=798620
https://bugzilla.novell.com/show_bug.cgi?id=798620#c22
Gabriele Mohr
participants (1)
-
bugzilla_noreply@novell.com