[Nix-dev] maybe to silent WARNING when setuid program doesn't exist?

Michael Raskin 7c6f434c at mail.ru
Sun Aug 10 08:11:28 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marc Weber wrote:
| Activating the configuration...
| WARNING: No executable named `ssmtp' was found
| WARNING: but `ssmtp' was specified as a setuid program.
| WARNING: No executable named `sendmail' was found
| WARNING: but `sendmail' was specified as a setuid program.
| [....]
|
| [root at mail:/home/marc]# ssmtp
| ssmtp: /nix/store/iqvl6cbgj1kzdvn8fd0i0ql2d9kxwzd2-setuid-wrapper.c:66:
| main: Assertion `len > 0' failed.
| Aborted
|
| [root at mail:/home/marc]# sendmail
| sendmail:
| /nix/store/iqvl6cbgj1kzdvn8fd0i0ql2d9kxwzd2-setuid-wrapper.c:66: main:
| Assertion `len > 0' failed.
| Aborted
|
|
| The resulting error is missleading. What about adding a comment within
| the c source file what has gone wrong or better:
| print a nice error message such as:
|         "Ouups ? Something has gone wrong. Propably I've been compiled
when app
|         xx hasn't been in path, add it to extraPackages and try again"

How are you getting it? I do not want to modify default setuidPrograms
and so I have to put up with cdrdao warning every time, but I do not
have /var/setuid-wrappers/cdrdao in the result. So how do you get ssmtp
setuid wrapper in that case?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJInoaPAAoJEE6tnN0aWvw3pggIAIUSNYUsjYDNp3mGzNAYBoQy
3KDxEadnpxHJFWfcQGyCVvJtvnZDgQB3e7jcNsEJHBfIwpPZxYxily7zr66aJxNe
u7HO9RJN/AKBbV9tEZLBkIYzdJ4b8jnzdAuVuEStwmHEnDMqijEATiE/sCvXiocI
OU0fvRFFznOWbwe1RC0sAMy9YkAz3Kp1TGhr80xNrDEcO+JNwyKtvysu40HSDZ5G
GFVFcLRqZlx6XYeexYwYcIQaFY4CZlEZDCqxbNy6r62c+RqjIXyPg9jfknPmAw20
Iz2giLXcTEa3oEl1KospVSkuFU5IyBbN+pCj56awZ/HbdYVq6wMeEcguHqYcVDk=
=lMao
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list