Hi everyone,

systemd 231 was built for rawhide / F25 today, with a bunch of usability and
security features, see [1]. Please give it a test.

There have been various discussion about reducing the footprint of systemd,
this release and the previous one make some progress:

1. Code shared between various systemd binaries is now installed as a private
   shared library (/usr/lib/systemd/systemd-shared-231.so) with unstable API
   and ABI.

   This gives a nice reduction: 18.7 → 8.4 MiB reduction in installed
   size for the main systemd rpm between systemd 229 and 231.

   Incidentally, the patches for this were provided by Debian and Ubuntu
   maintainers, so this is a nice example of cross-distro cooperation.

2. The dependency on libxkbcommon has been reduced from Requires to Recommends,
   and the .so is dlopen'ed at runtime if available. libxkbcommon is <300 kiB,
   but it pulls in xkeyboard-config, which is 5.3 MiB.

3. Upstream added %systemd_ordering macro to be used as relaxed version of
   %systemd_requires [2]. Doing that replaces Requires rpm dependencies with
   OrderWithRequires dependencies, allowing a package to be installed into
   a minimal image with no systemd, while still allowing presets to be
   correctly executed when installed (as part of the same transaction)
   *with* systemd. In Fedora, this still needs to go through FPC [3],
   and of course individual packages need to be modified. This is only
   possible for daemons which make no use of other systemd services
   (like tmpfiles) and can be started through some other mechanism, so no
   automatic conversion is possible.

Together with the split into systemd / systemd-container / systemd-udev /
systemd-journal-remote which was implemented for F24, we are making
good progress ;)

[1] https://lists.freedesktop.org/archives/systemd-devel/2016-July/037220.html
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1118740
[3] https://fedorahosted.org/fpc/ticket/644

Zbyszek
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to