|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxl: prevent xl from running if xend is running.
Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxl: prevent xl from running if
xend is running."):
> You could consider this to be a best effort check for xend. IOW we try
> and look but if we can't tell then we assume it is not.
I guess.
> It's not terribly robust to just blunder on, but on the other hand being
> more robust has a bigger risk of false positives, e.g. failing to start
> xl because /var/lock/subsys/ does not exist isn't especially helpful
> either (the EACCESS return code doesn't distinguish that
> from /var/lock/subsys/xend not existing).
EACCES would happen only if the permissions prevented us from
looking. If /var/lock/subsys doesn't exist we'll get ENOENT, the
"good" error return.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |