| Summary: | hwclock --systz -u fails with error: Invalid argument | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | valere.monseur |
| Component: | Other | Assignee: | Sakib Sajal <sakib.sajal> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.31.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | hwclock: make glibc v2.31 compatible (Fixes: 12756) | ||
|
Description
valere.monseur
2020-04-05 09:43:21 UTC
Created attachment 8546 [details]
hwclock: make glibc v2.31 compatible (Fixes: 12756)
I have attached the patch that makes hwclock compatible with glibc v2.31.
Thank you very much for the patch. It looks ok on my side. Cheers, V. Thank you Valere for looking into it. This bug has been marked as RESOLVED FIXED, however I can't find the corresponding commit in the git. Could someone please point me at it? Thanks Well, I tought that the patch provided would be integrated. I have probably misunderstood => reopening. This has been fixed by the following commit: commit 1a5d6fcbb5e606ab4acdf22afa26361a25f1d43b Author: Eddie James <eajames@linux.ibm.com> Date: Mon Aug 10 09:59:02 2020 -0500 hwclock: Fix settimeofday for glibc v2.31+ The glibc implementation changed for settimeofday, resulting in "invalid argument" error when attempting to set both timezone and time with a single call. Fix this by calling settimeofday twice Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Marking the bug as resolved. |