OpenStack in Fedora 15

Steve Traylen steve.traylen at cern.ch
Fri Sep 2 07:00:45 UTC 2011


On Fri, Sep 2, 2011 at 2:44 AM, Angus Salkeld <asalkeld at redhat.com> 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



More information about the cloud mailing list