[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
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c2
--- Comment #2 from Ilya Chernykh
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c3
--- Comment #3 from Ilya Chernykh
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c4
--- Comment #4 from Yasuhiko Kamata
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
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c6
--- Comment #6 from Yasuhiko Kamata
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c7
--- Comment #7 from Ilya Chernykh
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c8
--- Comment #8 from Ilya Chernykh
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c9
--- Comment #9 from Yasuhiko Kamata
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
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
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c12
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c13
Yasuhiko Kamata
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c14
--- Comment #14 from Stefan Dirsch
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
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
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c17
--- Comment #17 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c18
--- Comment #18 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c19
Yasuhiko Kamata
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c20
--- Comment #20 from Stefan Dirsch
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
(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
https://bugzilla.novell.com/show_bug.cgi?id=775548
https://bugzilla.novell.com/show_bug.cgi?id=775548#c23
--- Comment #23 from Yasuhiko Kamata
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