diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2020-08-25 16:58:02 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 16:58:02 -0300 |
commit | 213c004335b40042723ac992a56f12dbcb5f09e7 (patch) | |
tree | 1e7621ed58b569db5e9fa8db439aa0e76bacfac7 /nixos/modules/misc/locate.nix | |
parent | 22293c2594df5d56a89f044a2eb93bd2576c61ce (diff) | |
parent | db28ce35357c15a1407eba23715938aa256d120e (diff) |
Merge pull request #79239 from andersk/mlocate-warning
locate: Clarify mlocate warning message
Diffstat (limited to 'nixos/modules/misc/locate.nix')
-rw-r--r-- | nixos/modules/misc/locate.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix index dc668796c7886..92aa3be0a3667 100644 --- a/nixos/modules/misc/locate.nix +++ b/nixos/modules/misc/locate.nix @@ -127,7 +127,7 @@ in { { LOCATE_PATH = cfg.output; }; - warnings = optional (isMLocate && cfg.localuser != null) "mlocate does not support searching as user other than root" + warnings = optional (isMLocate && cfg.localuser != null) "mlocate does not support the services.locate.localuser option; updatedb will run as root. (Silence with services.locate.localuser = null.)" ++ optional (isFindutils && cfg.pruneNames != []) "findutils locate does not support pruning by directory component" ++ optional (isFindutils && cfg.pruneBindMounts) "findutils locate does not support skipping bind mounts"; |