Merge pull request #79239 from andersk/mlocate-warning

locate: Clarify mlocate warning message

authored by Anderson Torres and committed by GitHub 213c0043 22293c25

+1 -1
+1 -1
nixos/modules/misc/locate.nix
··· 127 127 { LOCATE_PATH = cfg.output; 128 128 }; 129 129 130 - warnings = optional (isMLocate && cfg.localuser != null) "mlocate does not support searching as user other than root" 130 + 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.)" 131 131 ++ optional (isFindutils && cfg.pruneNames != []) "findutils locate does not support pruning by directory component" 132 132 ++ optional (isFindutils && cfg.pruneBindMounts) "findutils locate does not support skipping bind mounts"; 133 133