]> git.ipfire.org Git - thirdparty/dracut.git/commit
systemd: add more groups to deal with tmpfiles handling. 162/head
authorColin Guthrie <colin@mageia.org>
Tue, 7 Jun 2016 09:40:08 +0000 (10:40 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 7 Jun 2016 10:04:13 +0000 (12:04 +0200)
commit99b70a787cded169cc57c2d32e47c7c736146918
tree3ad6e3b0b4cfbb5feab9302ef5f5e91e2f7c8fd3
parent71867b665cea6b4d9814ea0386baf0500db06806
systemd: add more groups to deal with tmpfiles handling.

Both 'utmp' and 'root' groups are mentioned in tmpfiles.d/systemd.conf
and as such should be included.

It's probably better to have something equiv to inst_rule_group_owner()
for udev rules which parses out users and groups and adds them to the
passwd/group db respectively.

Could also rely on sysusers but as the initramfs is static in this
sense, it's more efficient to pre-define the users IMO.
modules.d/00systemd/module-setup.sh