We want to stop systemd from being added to docker images, because of rpm requiring systemctl.

Adam Jackson ajax at redhat.com
Wed Apr 30 14:28:56 UTC 2014

On Wed, 2014-04-30 at 16:05 +0200, Kalev Lember wrote:

> I suspect just dropping the deps would break initial installations, e.g.
> anaconda / livecd-creator. RPM uses the deps to order the transaction so
> that systemd gets installed first, and the packages that ship service
> files get installed later. Without the deps, rpm wouldn't know the order
> in which it has to run the transaction.
> For example, when a package bar has a postinstall script that does:
>     systemctl enable bar.service >/dev/null 2>&1 || :
> ... but if systemctl gets installed _after_ foo in the same transaction,
> then the systemctl command never runs and service stays disabled.

If you are right, this is an argument for rpm collections, which we've
had for ages now and should really start using.

- ajax

More information about the devel mailing list