On Fri, Sep 2, 2011 at 2:44 AM, Angus Salkeld <[email protected]> wrote:
>> >> survive a reboot.  So, some way is needed to (re-)create /var/run/glance
>> >> and /var/run/nova or the startup scripts need to be changed to just put
>> >> the pid's directly into /var/run, which will be there.  Does anyone know
>> >> whether there is a standard resolution to this?
>> > Can't the init scripts just "mkdir -p /var/run/nova" before starting the
>> > binary?

It's the correct thing to do for now but better is that daemon itself
should create the
directory if it does not exist... Of course depends who the daemon is
running as of course.

Also the directory should be added as a %ghost file. There are some docs
here on the matter. The systemd solution is here:
http://fedoraproject.org/wiki/Packaging:Tmpfiles.d


-- 
Steve Traylen
_______________________________________________
cloud mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/cloud

Reply via email to