git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit9d30099b7f6b7f5bef6abd6dc240ada3a666112c authorAntoine Eiche <lewo@abesis.fr> dateMon 6 Feb 2017, 20:47 (10 years ago) parentd246522
1 file changed+2−1
nixos/modules/system/boot/systemd.nix+2−1
nixos/modules/system/boot/systemd.nix+2−1
@@ -753,7 +753,8 @@ in
753753
754754 # Keep a persistent journal. Note that systemd-tmpfiles will
755755 # set proper ownership/permissions.
756− mkdir -m 0700 -p /var/log/journal
756+ # FIXME: revert to 0700 with systemd v233.
757+ mkdir -m 0750 -p /var/log/journal
757758 '';
758759
759760 users.extraUsers.systemd-network.uid = config.ids.uids.systemd-network;