Hi,
systemd 238 has been released [1] and is building in F28 and rawhide.
This release has more bugfixes than new features, but there are some
changes that might be particularly interesting for Fedora:
- cgroups v2 is now supported much better. In particular a long-standing
conflict between cgroups v2 and systemd-run --user --scope has
been fixed. Please try systemd-cgtop with a recent kernel and the v2
hierarchy to check out the improved accounting.
- various transfiletriggers have been ported from Mageia, for the udev
hwdb and rules, the journal catalog, sysctl.d, binfmt.d, sysusers.d,
and tmpfiles.d. This means that for many packages, which do not need
those rules to be applied immediately, scriptlets can be totally
removed.
- somewhat independently, systemd-sysusers has been beefed up so it is
possible to use it to create system users before any files are
installed on disk, but honouring admin overrides. In short, we now
recommend the following invocation to create users for an rpm which
contains files owned by those users:
%sysusers_create_package %{name} %SOURCEN
where %SOURCEN is the tmpfiles.d config file which will be installed
by package. This expands to
echo "u NAME - -" | systemd-sysusers
--replace=/usr/lib/sysusers.d/NAME.conf - >/dev/null 2>&1 || :
and the "u NAME - -" configuration is applied with a priority that
/usr/lib/sysusers.d/NAME.conf normally has (so e.g.
/etc/sysusers.d/NAME.conf will override this).
[1] https://raw.githubusercontent.com/systemd/systemd/master/NEWS
Zbyszek
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]