Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204326 - /etc/init.d/xdm stop/restart broken for kdm
Summary: /etc/init.d/xdm stop/restart broken for kdm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-04 20:06 UTC by Hanno Böck
Modified: 2009-11-22 17:38 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2008-01-04 20:06:25 UTC
Quote from /etc/init.d/xdm:
 # kdm takes too long to create a pidfile for baselayout-2
 #PIDFILE=/var/run/kdm.pid
 PIDFILE=

This is probably not a very good idea, as it causes /etc/init.d/xdm stop/restart to fail every time.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2008-01-11 08:17:47 UTC
Roy, can you comment on the baselayout-2 part of this?
Comment 2 Ken Rushia 2008-02-03 18:04:33 UTC
Confirmed here, the xdm init script now fails to start kdm on boot. This was discussed a little bit at http://forums.gentoo.org/viewtopic-t-650321.html (ignore the poor attitude there).
Comment 3 Ken Rushia 2008-02-03 21:44:28 UTC
(In reply to comment #2)

Oops. Ignore my last comment, I somehow responded to the wrong bug :-p
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-02-27 19:12:52 UTC
I'd say this is something that needs to be fixed within KDM then. Could someone from the KDE Herd confirm that this is still a bug?

Thanks
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2009-03-03 23:15:15 UTC
Well, I'm not a developer, but I can say that with more recent OpenRC releases (0.4.3{,-r1} for sure, maybe 0.4.2 too) this is no longer an issue. More precisely: kdm hasn't been fixed to create a pid file earlier, but openrc seems to be able to stop/restart it without any problem now.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-03 23:28:06 UTC
yep openrc restars nicely, so lets stable it :]
(and i am the developer :D)
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-03-04 10:05:44 UTC
So maybe we could drop the PIDFILE foo from the xdm script entirely?

@Rob, what say you?

Cheers
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-11-09 11:57:30 UTC
Is this still supposed to be a problem with Baselayout 1 and KDM 4.3.1 or 4.3.3, or was this limited to KDM 3.x ?
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2009-11-09 16:28:49 UTC
This is definitely *not* an issue with kdm 4.3.x and openrc >= 0.4.3.
Comment 10 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-11-22 17:38:42 UTC
this one seems fixed, closing