On Fri, Apr 29, 2016 at 09:24:19AM +0200, Ján Tomko wrote:
On Thu, Apr 28, 2016 at 05:54:34PM +0200, Andrea Bolognani wrote:
> Most distributions, including RHEL, have switched to systemd,
> so it makes sense for it to be the preferred choice.
>
>From "preferred choice" I would expect with_init_script=systemd is the
default, but the patch actually does some checking.
> Our witness for the check is the presence of the /etc/systemd
> directory on the host.
Very interesting, this directory actually exists on my Open-RC based
Gentoo system.
That's because applications install their startup scripts there.
Usually they install scripts for all init systems so that it works
everywhere. I don't know where we use this but it seems weird that we
need to know which ones to use. If we still need to know then I would
expect us to rather check either 'type systemctl' or 'mount -t cgroup |
grep name=systemd' or something like that.
> ---
> configure.ac | 5 +++++
> 1 file changed, 5 insertions(+)
>
ACK
Jan
--
libvir-list mailing list
libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list