]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units/systemd-tmpfiles-setup.service: explicitly set RestrictSUIDSGID=no
authorGrimmauld <Grimmauld@grimmauld.de>
Tue, 8 Jul 2025 20:02:46 +0000 (22:02 +0200)
committerGrimmauld <Grimmauld@grimmauld.de>
Wed, 9 Jul 2025 09:08:31 +0000 (11:08 +0200)
The tmpfiles service is used to set file permissions, e.g. for setting
suid bit on the journal log directory [1].

[1] https://github.com/systemd/systemd/blob/48e0f7bc2f94e74d15eed5c9e70b1c0269a495ec/tmpfiles.d/systemd.conf.in#L24-L25

units/systemd-tmpfiles-setup.service

index b92beb73141924fda2d6631dcb7f4339d5c2a909..1299b195fe4193766b9b0c2d83608a2dfc4b8365 100644 (file)
@@ -28,3 +28,4 @@ ImportCredential=login.motd
 ImportCredential=login.issue
 ImportCredential=network.hosts
 ImportCredential=ssh.authorized_keys.root
+RestrictSUIDSGID=no