[libvirt] [dbus PATCH] Install daemon under @sbindir@

Andrea Bolognani abologna at redhat.com
Mon Jul 23 10:07:34 UTC 2018


On Mon, 2018-07-23 at 10:43 +0200, Pino Toscano wrote:
> On Monday, 23 July 2018 10:34:29 CEST Andrea Bolognani wrote:
> > The libvirt-dbus daemon is not supposed to be invoked
> > explicitly by the user, but rather to be spawned on-demand
> > by the D-Bus daemon: as such, @sbindir@ is a more suitable
> > location in which to install it.
> 
> sbindir is still not correct though, since it is not in the normal
> $PATH of users, but still root's one.
> 
> Most probably what you are looking for is libexecdir, which is the
> place that fits your requirement.

Yeah, I considered that one too, but being consistent with where
libvirt is installing its own daemons is probably a better
compromise in this case.

Also note that while /usr/sbin is not in regular users' $PATH in
Debian, it is in Fedora :)

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list