From: Ian Campbell Subject: Re: [PATCH] tools: remove /var/run/xenstored from install target Date: Wed, 23 Apr 2014 12:43:54 +0100 Message-ID: <1398253434.18537.61.camel@kazak.uk.xensource.com> References: <1397728521-19959-1-git-send-email-olaf@aepfle.de> <21328.6653.6907.298603@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21328.6653.6907.298603@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Olaf Hering , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-04-17 at 19:14 +0100, Ian Jackson wrote: > 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. I've taken this as an Ack (since you acked several other patches with reference to these comments, so I've assumed the omission here was unintentional) and also Acked myself + applied. I have also acked + applied tools: remove /var/lock/subsys from install target tools/pygrub: remove /var/run/xend/boot from install target which you did ack as well. Ian.