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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30.04.14 10:42, Daniel J Walsh (dwalsh@xxxxxxxxxx) wrote:

> 
> On 04/30/2014 10:28 AM, 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.
> >
> > - ajax
> >
> Created a ticket.
> 
> https://fedorahosted.org/fpc/ticket/425
> 
> Next I will create a change request if the ticket is approved.

Note that just dropping systemd from your images might not be the best
choice, as you then have no owners for a lot of drop-in dirs, which made
be bad for verifying the software installed in the container images...

Lennart

-- 
Lennart Poettering, Red Hat
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux