Merge pull request #95686 from ju1m/transmission-fix

transmission: fix BindReadOnlyPaths=
This commit is contained in:
Jörg Thalheim 2020-08-17 19:52:27 +01:00 committed by GitHub
commit 914d37cbc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,9 +225,7 @@ in
# No confinement done of /nix/store here like in systemd-confinement.nix,
# an AppArmor profile is provided to get a confinement based upon paths and rights.
builtins.storeDir
"-/etc/hosts"
"-/etc/ld-nix.so.preload"
"-/etc/localtime"
"/etc"
] ++
optional (cfg.settings.script-torrent-done-enabled &&
cfg.settings.script-torrent-done-filename != "")