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 tis, 2014-04-29 at 11:21 -0400, Josh Boyer wrote:
> On Tue, Apr 29, 2014 at 10:58 AM, Alexander Larsson <alexl@xxxxxxxxxx> wrote:
> > On tis, 2014-04-29 at 12:33 +0200, Lennart Poettering wrote:
> >> On Mon, 28.04.14 17:01, Daniel J Walsh (dwalsh@xxxxxxxxxx) wrote:
> >>
> >> > The problem  is lots of services require systemd because they ship a
> >> > unit file and want systemctl reload to happen.  Systemd then triggers a
> >> > require for udev and kmod, which docker containers do not need.
> >>
> >> If you discount the docs/man pages of the RPMs, how much does kmod,
> >> udev, systemd actually contribtue in bytes to your docker images?
> >
> > Its around 15 megs or so, although on rhel7 its 20 megs larger because
> > of a dependency that kmod has on /usr/bin/nm (binutils) that doesn't
> > seem to be there on fedora kmod. This seems like a bug in fedora though,
> > as kmod ships /usr/sbin/weak-modules which calls nm, so once fixed
> > fedora would be at 35 meg too.
> 
> It's a bug one way or another.  Lacking the dep on nm would break
> weak-modules as you suggest, but afaik Fedora doesn't ship anything
> that actually uses or leverages weak-modules anyway.  So either the
> dep could be added or the script could be dropped.

Another alternative is to use eu-nm, which is part of elfutils, which is
not 20 meg.

-- 
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