|
Bugzilla – Full Text Bug Listing |
| Summary: | coreutils uptime wrong on rtc-less system, procps w shows proper time | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Ruediger Oertel <ro> |
| Component: | Basesystem | Assignee: | Raymund Will <rw> |
| Status: | NEW --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | kukuk |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Ruediger Oertel
2024-05-06 13:18:27 UTC
(In reply to Ruediger Oertel from comment #0) > on a raspberry (and probably other platforms without a RTC), uptime > does not report what /proc/uptime would deliver but tries to find it > out via utmp boot_time but that fails (as that is synthesized via build > date of the initrd or similar). coreutils developer don't trust the kernel, since you can pause a VM from outside and the kernel would not notice it or something similar. They use the timestamp of I think random-seed or something similar. I meanwhile think we should replace uptime from coreutils with the one from procps-ng. |