[Nix-dev] Irritating warnings for non existing security.setuidPrograms

Bas van Dijk v.dijk.bas at gmail.com
Wed Oct 29 18:00:43 CET 2008


Hello,

Each time I boot or do a nixos-rebuild I get the following irritating warnings:

WARNING: No executable named `fusermount' was found
WARNING: but `fusermount' was specified as a setuid program.
WARNING: No executable named `wodim' was found
WARNING: but `wodim' was specified as a setuid program.
WARNING: No executable named `cdrdao' was found
WARNING: but `cdrdao' was specified as a setuid program.

I see there's a option:

security.setuidPrograms = ["passwd" "su" "crontab" "ping" "ping6"
"fusermount" "wodim" "cdrdao"];

So I guess there's a script somewhere that tries to set the setuid
attribute of these executables.

I think the solution is to modify that script so that before setting
the setuid attribute it checks if the executable really exists and if
not it should just continue.

regards,

Bas



More information about the nix-dev mailing list