|
Bugzilla – Full Text Bug Listing |
| Summary: | lib/eventlog/eventlog.c uses _PATH_SUDO_SENDMAIL unconditionally | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | torcontact1 |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.9.4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Thanks for the report, fixed by https://www.sudo.ws/repos/sudo/rev/41db1aad85bb Fixed in sudo 1.9.4p1 |
Hi! Sudo 1.9.4 can no longer be built without ‘--with-sendmail’ or with ‘--without-sendmail’: ./eventlog.c:94:5: error: ‘_PATH_SUDO_SENDMAIL’ undeclared here (not in a function); did you mean ‘_PATH_SENDMAIL’? _PATH_SUDO_SENDMAIL, /* mailerpath */ ^~~~~~~~~~~~~~~~~~~ _PATH_SENDMAIL make[1]: *** [Makefile:218: eventlog.lo] Error 1 Like plugins/sudoers/defaults.c, lib/eventlog/eventlog.c should guard against this with an #ifdef _PATH_SUDO_SENDMAIL. Thanks for sudo! T