From: Ian Jackson Subject: Re: [PATCH] libxl: prevent xl from running if xend is running. Date: Tue, 24 Apr 2012 19:00:55 +0100 Message-ID: <20374.59991.278304.64133@mariner.uk.xensource.com> References: <1335193862-37069-1-git-send-email-roger.pau@citrix.com> <20374.42987.732159.638716@mariner.uk.xensource.com> <1335274224.4347.138.camel@zakaz.uk.xensource.com> <20374.43998.471725.415493@mariner.uk.xensource.com> <1335278440.4347.180.camel@zakaz.uk.xensource.com> <20374.48381.57194.304369@mariner.uk.xensource.com> <1335279579.4347.191.camel@zakaz.uk.xensource.com> <4F96E9B9.6080407@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4F96E9B9.6080407@citrix.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: Roger Pau Monne Cc: George Dunlap , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("Re: [Xen-devel] [PATCH] libxl: prevent xl from run= ning if xend is running."): > Ian Campbell escribi=F3: > > Well, not starting because the perms on /var/lock/subsys are too tight > > (e.g. selinux restricting it to initscripts only? unrealistic maybe) > > seems unhelpful too. ... > What have we decided at the end? Should I do an inverse check, and run = > only if access(...) !=3D 0 && errno =3D=3D ENOENT? Ian and I don't seem to be entirely in agreement, but in this case I can live with the "best effort" error handling as in your most recent patch. Ian.