[Bug 775548] New: KDE3: plymouth prevents clean shut down when '/var' is individually mounted
https://bugzilla.novell.com/show_bug.cgi?id=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c0 Summary: KDE3: plymouth prevents clean shut down when '/var' is individually mounted Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: KDE3 AssignedTo: anixx@opensuse.org ReportedBy: belphegor@belbel.or.jp QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Because plymouth (started from initrd) will not be terminated after starting kdm3, this plymouth process will stay exist while shut-down. In this situation, '/var' will not be unmounted cleanly on shut-down. Reproducible: Always Steps to Reproduce: 1. install openSUSE 12.2-RC2 + KDE3 (kdebase3-kdm, kdebase3-session, kdebase3-workspace) with '/var' partition (for example, /dev/sda1=swap, /dev/sda2='/var', /dev/sda3='/') 2. set DISPLAYMANAGER='kdm3' in /etc/sysconfig/displaymanager and reboot. 3. select shut down from kdm3 menu. Actual Results: shutdown process will hang, or '/var' will not unmounted cleanly. Expected Results: should be shutdown cleanly. Cause of problem: Since kdm3 (kdebase3-kdm) is treated as plymouth-supported in /etc/init.d/xdm (because 'DM' variable will be set to 'kdm' if kdm3 or kdm4 is used), 'plymouth quit' will not be run on kdm3 startup although kdm3 does not support plymouth. Workaround (one of them is needed to be applied): * uninstall plymouth (zypper rm plymouth) and rebuild initrd (mkinitrd). * change systemd to sysvinit. * run "plymouth quit" before shutting down (it is necessary to run each time). -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c1 --- Comment #1 from Ilya Chernykh <anixx@opensuse.org> 2012-08-11 02:56:34 UTC --- So what is the proposed solution? Change xdm? Change plymoth? Change systemd? It seems to me the bug is external to kde3 if plymoth somehow thinks that kdm3 supports it. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c2 --- Comment #2 from Ilya Chernykh <anixx@opensuse.org> 2012-08-11 02:58:13 UTC --- I omly can make kdebase3-session to conflict with plymoth so that it to be uninstalled automatically. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c3 --- Comment #3 from Ilya Chernykh <anixx@opensuse.org> 2012-08-11 03:00:03 UTC --- Alternatively I can add a "plymoth quit" command to startkde script. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c4 --- Comment #4 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-08-11 05:10:14 UTC --- (In reply to comment #3)
Alternatively I can add a "plymoth quit" command to startkde script.
Yes, I agree it. I think that the following script should be added to /usr/bin/startkde3: if [ -x /usr/bin/plymouth ]; then plymouth quit plymouth --wait fi -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c5 --- Comment #5 from Ilya Chernykh <anixx@opensuse.org> 2012-08-11 05:49:16 UTC --- Why is wait? -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c6 --- Comment #6 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-08-11 05:53:21 UTC --- Created an attachment (id=502040) --> (http://bugzilla.novell.com/attachment.cgi?id=502040) xdm patch Oops, /usr/bin/startkde3 is not carried out when kdm is starting from /etc/init.d/xdm.. (So /usr/bin/startkde3 cannot solve this problem..) So that, I created a small patch for /etc/init.d/xdm. This patch distinguishes kdm3 from kdm4 (it is done by DISPLAYMANAGER path) and run "plymouth quit; plymouth --wait" when kdm3. It can solve my problem in my environment. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c7 --- Comment #7 from Ilya Chernykh <anixx@opensuse.org> 2012-08-11 05:55:31 UTC --- Modify /opt/kde3/bin/startkde - it is used. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c8 --- Comment #8 from Ilya Chernykh <anixx@opensuse.org> 2012-08-11 05:56:40 UTC --- xdm patch should be submitted to xdm maintainers. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c9 --- Comment #9 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-08-11 06:15:17 UTC --- (In reply to comment #5)
Why is wait?
In short, kdm3 can use tty7 (it is used by plymouth just before). (In reply to comment #7)
Modify /opt/kde3/bin/startkde - it is used.
I've just edited /opt/kde3/bin/startkde (not /usr/bin/startkde3), but it cannot be solved. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c10 --- Comment #10 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-08-11 07:58:19 UTC --- (In reply to comment #8)
xdm patch should be submitted to xdm maintainers.
Thanks. I'll sent a xdm patch through OBS. (https://build.opensuse.org/request/show/130631) -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c11 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |belphegor@belbel.or.jp --- Comment #11 from Stefan Dirsch <sndirsch@suse.com> 2012-08-13 09:48:10 UTC --- Patch looks rather ugly. What about kdm3 package providing a proper /usr/lib/X11/displaymanagers/kdm3 file, so we can remove the "kdm3" case in /usr/lib/X11/displaymanagers/kdm.fallback? Add the plymouth magic to kdm_start_proc() in your file. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c12 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eich@suse.com, | |tiwai@suse.com --- Comment #12 from Stefan Dirsch <sndirsch@suse.com> 2012-08-13 09:55:00 UTC --- We should also move the plymouth magic in /etc/init.d/xdm to xdm_start_proc() of entrance.fallback lxdm.fallback slim.fallback wdm.fallback xdm by using a new function to be provided also by /etc/init.d/xdm. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c13 Yasuhiko Kamata <belphegor@belbel.or.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #502040|0 |1 is obsolete| | Status|NEEDINFO |NEW InfoProvider|belphegor@belbel.or.jp | --- Comment #13 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-08-13 12:16:01 UTC --- Created an attachment (id=502122) --> (http://bugzilla.novell.com/attachment.cgi?id=502122) /usr/lib/X11/displaymanagers/kdm3 and /usr/lib/X11/displaymanagers/kdm (In reply to comment #11) Thanks for reviewing. I've now created /usr/lib/X11/displaymanagers/kdm3 (with "plymouth quit") and modified /usr/lib/X11/displaymanagers/kdm as attached. It seems that only adding /usr/lib/X11/displaymanagers/kdm3 to kdebase3-kdm is incomplete, removing KDE3 parts from /usr/lib/X11/displaymanagers/kdm is also needed for working fine. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c14 --- Comment #14 from Stefan Dirsch <sndirsch@suse.com> 2012-08-14 13:04:42 UTC --- (In reply to comment #13)
Created an attachment (id=502122) --> (http://bugzilla.novell.com/attachment.cgi?id=502122) [details] /usr/lib/X11/displaymanagers/kdm3 and /usr/lib/X11/displaymanagers/kdm
(In reply to comment #11) Thanks for reviewing. I've now created /usr/lib/X11/displaymanagers/kdm3 (with "plymouth quit") and modified /usr/lib/X11/displaymanagers/kdm as attached.
It seems that only adding /usr/lib/X11/displaymanagers/kdm3 to kdebase3-kdm is incomplete, removing KDE3 parts from /usr/lib/X11/displaymanagers/kdm is also needed for working fine.
Yes, that's correct and the right approach! -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c15 --- Comment #15 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-08-14 22:45:12 UTC --- (In reply to comment #14)
Yes, that's correct and the right approach!
Ok, I'll try to submit patch. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c16 --- Comment #16 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-08-17 16:00:18 CEST --- This is an autogenerated message for OBS integration: This bug (775548) was mentioned in https://build.opensuse.org/request/show/131102 Factory / xdm -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c17 --- Comment #17 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-08-20 10:00:41 CEST --- This is an autogenerated message for OBS integration: This bug (775548) was mentioned in https://build.opensuse.org/request/show/131206 Factory / xdm -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c18 --- Comment #18 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-08-29 13:00:21 CEST --- This is an autogenerated message for OBS integration: This bug (775548) was mentioned in https://build.opensuse.org/request/show/131931 Factory / kdebase3 -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c19 Yasuhiko Kamata <belphegor@belbel.or.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #19 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-10-01 22:52:28 UTC --- Finally, solutions for this bug were accepted. kdebase3: OBS Request #130878: https://build.opensuse.org/request/show/130878 kdebase4-workspace: OBS Request #136518:https://build.opensuse.org/request/show/136518 (kde4-workspace was manually updated by kde4 maintainer in spite of declining of request (see comments of this request for details)) So this bug was solved at last. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c20 --- Comment #20 from Stefan Dirsch <sndirsch@suse.com> 2012-10-02 07:23:50 UTC --- (In reply to comment #19)
kdebase3: OBS Request #130878: https://build.opensuse.org/request/show/130878
Why is /usr/lib/X11/displaymanagers/kdm3 not using plymouth_quit() as also being done by /usr/lib/X11/displaymanagers/xdm and implemented in /etc/X11/xdm?
kdebase4-workspace: OBS Request #136518:https://build.opensuse.org/request/show/136518 (kde4-workspace was manually updated by kde4 maintainer in spite of declining of request (see comments of this request for details))
AFAICS this looks ok. It removes the KDE3 clause from /usr/lib/X11/displaymanager/kdm. -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c21 --- Comment #21 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-10-02 11:37:13 UTC --- (In reply to comment #20)
(In reply to comment #19)
kdebase3: OBS Request #130878: https://build.opensuse.org/request/show/130878
Why is /usr/lib/X11/displaymanagers/kdm3 not using plymouth_quit() as also being done by /usr/lib/X11/displaymanagers/xdm and implemented in /etc/X11/xdm?
Thanks for reminding. Now changed kdm3 and submitted again (OBS Request #136592: https://build.opensuse.org/request/show/136592). -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c22 --- Comment #22 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-10-03 19:00:14 CEST --- This is an autogenerated message for OBS integration: This bug (775548) was mentioned in https://build.opensuse.org/request/show/136956 Factory / kdebase3 -- 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=775548 https://bugzilla.novell.com/show_bug.cgi?id=775548#c23 --- Comment #23 from Yasuhiko Kamata <belphegor@belbel.or.jp> 2012-10-03 23:26:17 UTC --- (In reply to comment #21)
Now changed kdm3 and submitted again (OBS Request #136592: https://build.opensuse.org/request/show/136592).
Ok, this patch was accepted. -- 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