smartctl: fix sandboxing

This commit is contained in:
2024-11-08 09:02:25 +00:00
parent 849fe87de7
commit ee24ae7e27

View File

@@ -1038,6 +1038,7 @@ in
smartmontools.sandbox.wrapperType = "inplace"; # ships a script in /etc that calls into its bin
smartmontools.sandbox.autodetectCliPaths = "existing";
smartmontools.sandbox.capabilities = [ "sys_rawio" ];
smartmontools.sandbox.tryKeepUsers = true;
# snapshot camera, based on libcamera
# TODO: enable dma heaps for more efficient buffer sharing: <https://gitlab.com/postmarketOS/pmaports/-/issues/2789>