nixos/nbd: unset user and group in config
The service is already running under root, nbd-server doesn't have to set user and groups again. And setgroups is failing in the systemd sandbox.
This commit is contained in:
@@ -36,8 +36,6 @@ let
|
||||
generic = (
|
||||
cfg.server.extraOptions
|
||||
// {
|
||||
user = "root";
|
||||
group = "root";
|
||||
port = cfg.server.listenPort;
|
||||
}
|
||||
// (optionalAttrs (cfg.server.listenAddress != null) {
|
||||
|
||||
Reference in New Issue
Block a user