mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
nixos/modules/services/monitoring/graphite.nix: don't create graphite user unconditionally
I'm not sure what exactly this user is needed for, i.e. under what circumstances it must exist or not, but creating it unconditionally seems like the wrong thing to do. I complained to @offlinehacker about this on Github, but got no response for a week or so. I'm disabling the extraUsers bit to put out the fire, and now hope that someone who actually knows about Graphite implements a proper solution later.
This commit is contained in:
parent
831f3b25c0
commit
96a7e65c37
@ -535,14 +535,16 @@ in {
|
||||
environment.systemPackages = [ pkgs.pythonPackages.graphite_pager ];
|
||||
})
|
||||
|
||||
{
|
||||
users.extraUsers = singleton {
|
||||
name = "graphite";
|
||||
uid = config.ids.uids.graphite;
|
||||
description = "Graphite daemon user";
|
||||
home = dataDir;
|
||||
};
|
||||
users.extraGroups.graphite.gid = config.ids.gids.graphite;
|
||||
}
|
||||
# Disabled: Don't create this user unconditionally!
|
||||
#
|
||||
# {
|
||||
# users.extraUsers = singleton {
|
||||
# name = "graphite";
|
||||
# uid = config.ids.uids.graphite;
|
||||
# description = "Graphite daemon user";
|
||||
# home = dataDir;
|
||||
# };
|
||||
# users.extraGroups.graphite.gid = config.ids.gids.graphite;
|
||||
# }
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user