|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo wrong error | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | jg |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.21 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
jg
2018-11-04 12:24:25 MST
I imagine it is because there isn't any space to write a file somewhere. Shouldn't be an an EAGAIN message $ df -h Filesystem Size Used Avail Use% Mounted on udev 7.9G 0 7.9G 0% /dev tmpfs 1.6G 89M 1.5G 6% /run /dev/xvda1 7.7G 7.7G 0 100% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup tmpfs 1.6G 0 1.6G 0% /run/user/1000 If you are on a debian-based Linux system (like Ubuntu) you may be able to avoid this with the following line in sudoers: Defaults !fqdn This is not enabled by default on most systems but Debian changes the default... You are correct that the error message is wrong here. Sudo should be reporting the string version of gai_errno, not regular errno. This is fixed by https://www.sudo.ws/repos/sudo/rev/9c37c5db3293 Fixed in sudo 1.8.26. |