[PATCH] run uuidgen --ensure in the init script

John (J5) Palmieri johnp at redhat.com
Thu Oct 19 09:18:00 PDT 2006


On Thu, 2006-10-19 at 12:10 -0400, Havoc Pennington wrote:
> 
> John (J5) Palmieri wrote:
> > On Thu, 2006-10-19 at 11:49 -0400, Havoc Pennington wrote:
> >> btw, just noticed that the init scripts don't implement reload since it 
> >> wasn't possible originally, but they could now implement it since the 
> >> daemon supports -HUP for that now I think
> > 
> > This should be correct.
> > 
> 
> If the init script knows about a pid file presumably we can avoid 
> killall and just kill the pid? I would expect some other init scripts 
> already do this or even that one of the standard shell functions 
> available to Fedora init scripts does this for you? Reload on HUP is 
> pretty standard.
> 
> This will HUP all session daemons also, is the main issue.

The stop for rc.messagebus.in just does a killall so I used the same
convention.  I mean rc.messagebus.in seems broken in many cases such as
not cleaning up the pid file.  messagebus.in is the more sane Red Hat
style scripts.  Perhaps someone who doesn't use the Red Hat style
scripts should fix it up.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list