diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-18 14:21:45 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-18 14:21:45 +0200 |
commit | 7c4591d010ad827f9927ce84b2e1bd2db8762f92 (patch) | |
tree | 458098c53baa7e8edff6630207b454b67eb3dcae | |
parent | c3c9e2d9bcaec85f59c34edac88f1a15e89658f8 (diff) | |
download | nixlib-7c4591d010ad827f9927ce84b2e1bd2db8762f92.tar nixlib-7c4591d010ad827f9927ce84b2e1bd2db8762f92.tar.gz nixlib-7c4591d010ad827f9927ce84b2e1bd2db8762f92.tar.bz2 nixlib-7c4591d010ad827f9927ce84b2e1bd2db8762f92.tar.lz nixlib-7c4591d010ad827f9927ce84b2e1bd2db8762f92.tar.xz nixlib-7c4591d010ad827f9927ce84b2e1bd2db8762f92.tar.zst nixlib-7c4591d010ad827f9927ce84b2e1bd2db8762f92.zip |
Don't barf if /var/log doesn't support ACLs
http://hydra.nixos.org/build/13462892
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 455c40693b00..e353e9246b0e 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -744,7 +744,7 @@ in # Make all journals readable to users in the wheel and adm # groups, in addition to those in the systemd-journal group. # Users can always read their own journals. - ${pkgs.acl}/bin/setfacl -nm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal + ${pkgs.acl}/bin/setfacl -nm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal || true ''; # Target for ‘charon send-keys’ to hook into. |