mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
nixos/systemd: set r-x group permissions on /var/log/journal
This allows services such as systemd-journal-gateway to access the systemd journal. Closes #22288
This commit is contained in:
parent
d2465227d5
commit
9d30099b7f
@ -753,7 +753,8 @@ in
|
||||
|
||||
# Keep a persistent journal. Note that systemd-tmpfiles will
|
||||
# set proper ownership/permissions.
|
||||
mkdir -m 0700 -p /var/log/journal
|
||||
# FIXME: revert to 0700 with systemd v233.
|
||||
mkdir -m 0750 -p /var/log/journal
|
||||
'';
|
||||
|
||||
users.extraUsers.systemd-network.uid = config.ids.uids.systemd-network;
|
||||
|
Loading…
Reference in New Issue
Block a user