init problem with Intrepid

Derek Broughton news at pointerstop.ca
Thu Oct 30 18:19:10 UTC 2008


Chris Rees wrote:

> 2008/10/30 Derek Broughton <news at pointerstop.ca>:
> 
>> Killall seems a little abrupt, but should be safe enough, but starting
>> via the /etc/init.d/ methods does a whole lot more than "sudo gdm".
> 
> No Derek! killall is WRONG! You screw up init's knowledge of what's
> running properly and what's not. You could end up with two gdms
> running....

That's an argument for not _starting_ gdm the way Cybe suggests, not for not
killing it with killall.  If you killed it with killall,
then "/etc/init.d/gdm start" would find the old pid file and cleanup
anyway.  And no, really, you _can't_ end up with two gdms running.  Try
it...

I agree that it really isn't good practice to killall daemons, but it's not
the end of the world.
-- 
derek





More information about the ubuntu-users mailing list