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

Panu Matilainen pmatilai at laiskiainen.org
Sat May 3 06:57:54 UTC 2014


On 04/30/2014 05:28 PM, Adam Jackson wrote:
> 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.

No.

The thing called collections has never been enabled in Fedora builds 
because it has never gotten out of experimental state upstream, and by 
now its rather clear it needs to change in all sorts of ways before it 
could be considered non-experimental.

	- Panu -



More information about the devel mailing list