[Bug 811452] New: Installation not finishing - Xorg does not quit
https://bugzilla.novell.com/show_bug.cgi?id=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c0 Summary: Installation not finishing - Xorg does not quit Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joschibrauchle@gmx.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22 On a series of autoinstallations of openSUSE 12.3, there have been some occurrences of the installation not finishing. It looks like YaST reaches the very last step of "YaST2.call" and simply needs to kill Xorg, but Xorg does not die. Hence, the installation keeps waiting for X to die and never finishes. This is 'ps auxf' of such a machine: ---------- root 597 0.0 0.0 13396 1956 tty1 Ss+ 17:38 0:00 /bin/sh /usr/lib/YaST2/startup/YaST2.Second-Stage root 3645 0.0 0.0 13528 2004 tty1 S+ 17:39 0:00 \_ /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue root 4292 0.2 0.3 129888 14768 tty7 Ss+ 17:39 0:01 \_ Xorg -noreset -br -deferglyphs 16 vt07 root 10857 0.0 0.0 5764 568 tty1 S+ 17:52 0:00 \_ sleep 1 ---------- This is the tail of y2log: ---------- 2013-03-25 17:42:23 <1> lab05(4390) [liby2] genericfrontend.cc(main):784 Finished YaST2 component 'y2base' 2013-03-25 17:42:23 <1> lab05(4390) [liby2] genericfrontend.cc(main):789 Exiting with client return value '`next' ...stripped some lines... 2013-03-25 17:42:23 <1> lab05(4390) [Y2Perl] YPerl.cc(destroy):164 Shutting down embedded Perl interpreter. ---------- As you can see, Yast is basically done since 17:42, but is still waiting for Xorg to shut down... The relevant code for sleeping is at the very end of /usr/lib/YaST2/startup/YaST2.call ---------- ... #============================================= # 9) Clean sweep #--------------------------------------------- # 9.1) clear Qt environment... clr_inst_qt_env # 9.2) kill X-Server... if [ "$server_running" = 1 ];then sleep 1 && kill $xserver_pid while kill -0 $xserver_pid 2>/dev/null ; do sleep 1 done fi ... ---------- So I manually tried to do a "kill 4292", where 4292 is the PID of Xorg, but nothing happens... it does not die! Reproducible: Couldn't Reproduce Steps to Reproduce: 1. Start (auto-)installation of 12.3 and wait for it to finish... Actual Results: Installation never finishes as Xorg does not react to kill -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c1 --- Comment #1 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-03-25 17:03:18 UTC --- Created an attachment (id=531567) --> (http://bugzilla.novell.com/attachment.cgi?id=531567) y2logs -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c Xiaolong Li <xlli@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xlli@suse.com AssignedTo|bnc-team-screening@forge.pr |bnc-team-xorg-bugs@forge.pr |ovo.novell.com |ovo.novell.com -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c2 Achim Mildenberger <admin@fph.physik.uni-karlsruhe.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |admin@fph.physik.uni-karlsr | |uhe.de --- Comment #2 from Achim Mildenberger <admin@fph.physik.uni-karlsruhe.de> 2013-09-09 09:12:10 UTC --- Joschi, many many thanks for pointing this out! I encountered the same problem, in my case the machine was completely inaccessible, I couldn't even get shell access. Only booting a rescue system offered some vague hints. I'm very glad that you solved this puzzle. As a workaround, I'm using an autoyast-chroot script: <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>chroot-script.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[echo "+++++ CHROOT SCRIPT" sed -i '/kill X-Server/,/exit/ s/while kill -0/while kill -9/' /usr/lib/YaST2/startup/YaST2.call # [...some more setup...] ]]></source> </script> </chroot-scripts> -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c Alberto Planas Dominguez <aplanas@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| | GOLD -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c3 Joschi Brauchle <joschibrauchle@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Installation |AutoYaST AssignedTo|bnc-team-xorg-bugs@forge.pr |fehr@suse.com |ovo.novell.com | Product|openSUSE 12.3 |openSUSE 13.1 QAContact|jsrain@suse.com |qa-bugs@suse.de --- Comment #3 from Joschi Brauchle <joschibrauchle@gmx.de> 2014-01-31 16:33:12 UTC --- The problem persists in 13.1 Autoinstall, see: ------------------------- root 828 0.0 0.0 13436 1984 tty1 Ss+ 16:38 0:00 /bin/sh /usr/lib/YaST2/startup/YaST2.Second-Stage root 4130 0.0 0.0 13568 2064 tty1 S+ 16:39 0:00 \_ /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue root 4790 0.0 0.2 219772 20432 tty7 Ss+ 16:39 0:01 \_ Xorg -noreset -br -deferglyphs 16 vt07 root 13395 0.0 0.0 5776 560 tty1 S+ 17:23 0:00 \_ sleep 1 ------------------------- The script has been trying to kill Xorg for a while... (see timestamp of sleep vs Xorg) I would change /usr/lib/YaST2/startup/YaST2.call to use "kill -9" in order to circumvent this. -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c4 Thomas Fehr <fehr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fehr@suse.com AssignedTo|fehr@suse.com |aschnell@suse.com Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED CC| |aschnell@suse.com Status|ASSIGNED |NEEDINFO InfoProvider| |sndirsch@suse.com --- Comment #4 from Thomas Fehr <fehr@suse.com> 2014-02-03 10:15:46 UTC --- Script /usr/lib/YaST2/startup/YaST2.call is not part of autoyast package. Reassigned to maintainer of yast startup scripts. --- Comment #5 from Arvin Schnell <aschnell@suse.com> 2014-02-05 15:17:55 UTC --- Stefan, any idea why the XServer could constantly ignore the signal? -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c6 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|sndirsch@suse.com |joschibrauchle@gmx.de --- Comment #6 from Stefan Dirsch <sndirsch@suse.com> 2014-02-05 15:48:35 UTC --- I remember nvidia gfx driver 331.20 broke signal handling of the Xserver (bnc#858421). This has been fixed with release 331.38. Is nvidia gfx driver here involved after all? -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c7 --- Comment #7 from Achim Mildenberger <admin@fph.physik.uni-karlsruhe.de> 2014-02-06 08:45:51 UTC --- Don't know whether this helps in any was: I encountered the problem with an Intel graphics adapter (HD2500), gfx driver i915 and with autoyast. Distro was opensuse 12.3. I haven't tested 13.1 yet. -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c8 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|joschibrauchle@gmx.de |sndirsch@suse.com --- Comment #8 from Arvin Schnell <aschnell@suse.com> 2014-02-06 10:30:07 UTC --- The YaST logs from comment #1 includes a Xorg.0.log. That also points to Intel Integrated Graphics. -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c9 --- Comment #9 from Stefan Dirsch <sndirsch@suse.com> 2014-02-06 10:39:47 UTC --- Indeed, intel gfx driver is in use. So this issue can be ruled out. -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c10 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Component|AutoYaST |X.Org InfoProvider|sndirsch@suse.com | AssignedTo|aschnell@suse.com |bnc-team-xorg-bugs@forge.pr | |ovo.novell.com QAContact|qa-bugs@suse.de |xorg-maintainer-bugs@forge. | |provo.novell.com --- Comment #10 from Arvin Schnell <aschnell@suse.com> 2014-02-06 14:30:28 UTC --- This is a bug in the xserver. The workaround (use SIGKILL) can also have bad effects (see e.g. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430498) so I don't want to implement that in the YaST startup code. -- 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=811452 https://bugzilla.novell.com/show_bug.cgi?id=811452#c Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |xorg-maintainer-bugs@forge. |ovo.novell.com |provo.novell.com -- 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.
participants (1)
-
bugzilla_noreply@novell.com