F24 System Wide Change: Systemd package split
Richard W.M. Jones
rjones at redhat.com
Sat Nov 21 17:16:33 UTC 2015
On Fri, Nov 20, 2015 at 08:38:40AM -0500, Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/19/2015 09:04 PM, Zbigniew Jędrzejewski-Szmek wrote:
> > On Thu, Nov 19, 2015 at 10:28:25PM +0000, Richard W.M. Jones
> > wrote:
> >> On Wed, Nov 18, 2015 at 05:32:02PM +0100, Jan Kurik wrote:
> >>> * systemd-udev.rpm will consist of systemd-udevd, udevadm, udev
> >>> rules, and the hardware database.
> >>
> >> So close! libguestfs needs udevd and /sbin/reboot.
> >> Unfortunately the latter is still part of the main systemd
> >> package.
> > reboot is systemctl is a thin client for systemd, so no hope here
> > :)
>
> Why does libguestfs need /sbin/reboot? That seems a little suspect to me.
It runs it:
https://github.com/libguestfs/libguestfs/blob/master/appliance/init#L196
But actually it only runs `reboot -f', because we have no systemd in
the appliance -- as there is only one process + udevd in the
appliance, using systemd would be overkill. So that could be replaced
with a simple system call to `reboot (RB_AUTOBOOT)'.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
More information about the devel
mailing list