From: Ian Jackson Subject: Re: [PATCH] tools: remove /var/run/xenstored from install target Date: Thu, 17 Apr 2014 19:14:21 +0100 Message-ID: <21328.6653.6907.298603@mariner.uk.xensource.com> References: <1397728521-19959-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1397728521-19959-1-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Ian.Campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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.