diff options
author | Matej Cotman <cotman.matej@gmail.com> | 2014-12-28 07:33:59 +0100 |
---|---|---|
committer | Matej Cotman <cotman.matej@gmail.com> | 2014-12-28 22:37:50 +0100 |
commit | 9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d (patch) | |
tree | 4ad0af2b27729f0341063e05ef25f58a6dddac69 /nixos | |
parent | fb3f5fc7dbbcf98270950fb54d05331d1a739d37 (diff) | |
download | nixpkgs-9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d.tar nixpkgs-9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d.tar.gz nixpkgs-9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d.tar.bz2 nixpkgs-9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d.tar.lz nixpkgs-9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d.tar.xz nixpkgs-9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d.tar.zst nixpkgs-9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d.zip |
systemd: fix permissions on /var/log/journal
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 05f8c8009bf..be62655720f 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -1032,6 +1032,11 @@ in '' # This file is created automatically and should not be modified. # Please change the option ‘systemd.tmpfiles.rules’ instead. + + z /var/log/journal 2755 root systemd-journal - - + z /var/log/journal/%m 2755 root systemd-journal - - + z /var/log/journal/%m/* 0640 root systemd-journal - - + ${concatStringsSep "\n" cfg.tmpfiles.rules} ''; |