diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-09-04 09:58:21 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-10-02 10:18:20 +0200 |
commit | 0a9d9ab4949effb20e77aa52e7b4ee07e776fc0d (patch) | |
tree | b48cfc8c29fabc508fa07cab8819481a5007f709 | |
parent | fe7726acefb79741630245345ec8c3d619d170a4 (diff) | |
download | upower-0a9d9ab4949effb20e77aa52e7b4ee07e776fc0d.tar.gz |
daemon: Fix upower's keyboard backlight supportwip/hadess/sandboxing-fix
Disabling kernel tunables blocked us from accessing /sys, meaning we
couldn't change keyboard backlight levels.
Closes: #73
-rw-r--r-- | src/upower.service.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/upower.service.in b/src/upower.service.in index 8838655..4566ad3 100644 --- a/src/upower.service.in +++ b/src/upower.service.in @@ -10,7 +10,8 @@ Restart=on-failure # Filesystem lockdown ProtectSystem=strict -ProtectKernelTunables=true +# Needed by keyboard backlight support +ProtectKernelTunables=false ProtectControlGroups=true ReadWritePaths=@historydir@ ProtectHome=true |