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

Lennart Poettering mzerqung at 0pointer.de
Tue Apr 29 10:31:33 UTC 2014


On Mon, 28.04.14 15:11, Toshio Kuratomi (a.badger at gmail.com) wrote:

> On Apr 28, 2014 5:01 PM, "Daniel J Walsh" <dwalsh at redhat.com> wrote:
> >
> > The problem  is lots of services require systemd because they ship a
> > unit file and want systemctl reload to happen.
> 
> Would removing the requires on systemd and doing:
> 
> /usr/bin/systemctl reload ||:
> 
> Work for these cases?

Note that all the invocations of systemctl done by the systemd rpm
macros are suffixed with ">/dev/null 2>&1 || :", as it is customary for
rpm scriplets. Hence there's little to do really, except dropping the
deps, and leaving everything else in place...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the devel mailing list