|
Bugzilla – Full Text Bug Listing |
| Summary: | Sudo default 5 minutes password caching ignored when laptop is suspended | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | A. Soldon <zaroff> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | nigon.nanta2523 |
| Priority: | low | ||
| Version: | 1.8.19 | ||
| Hardware: | All | ||
| OS: | FreeBSD | ||
|
Description
A. Soldon
2017-03-14 12:21:12 MDT
FreeBSD doesn't appear to have a monotonic clock that runs while the machine is suspended. The choice is between using a clock that can run backward, potentially defeating the point of the timestamp file, or one that cannot run backward but that is not incremented while suspended. Currently, sudo uses the second option. On most other systems, the monotonic clock either runs while suspended or an alternate clock is available which does. I consider this a FreeBSD failing, rather than a sudo one. This is not fixable until FreeBSD provides a monotonic clock that runs while suspended, like CLOCK_BOOTTIME on Linux. |