[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools: remove /var/run/xenstored from install target



Olaf Hering writes ("[PATCH] tools: remove /var/run/xenstored from install 
target"):
> xenstored already does "mkdir /var/run/xenstored" on startup, so its not
> required to create this directory during make install|rpmball.
> 
> Without this change installing the resulting xen.rpm will fail on
> systems where /var/run is a symlink. rpm complains that '/var/run' (the
> symlink) is already owned by some other system rpm package.

I think this is right.  Note also that /var/run might be a tmpfs so
trying to "install" it as a directory isn't right because it might
vanish on reboot (which is why the startup script creates it too).

I think it was simply a mistake not to remove the INSTALL_DIR at the
same time as adding the startup script mkdir.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.