[Bug 1888543] Re: hwclock: fails to set time on glibc 2.31
Balint Reczey
1888543 at bugs.launchpad.net
Mon Nov 9 15:04:27 UTC 2020
** Changed in: busybox (Ubuntu Focal)
Status: New => Confirmed
** Description changed:
+ [Impact]
+ * With glibc 2.31, hwclock from busybox is unable to set the system time
+ due to the changes in settimeofday behavior.
+
+ [Test Case]
+ * Run:
+ sudo busybox hwclock -s
+
+ * It should succeed in the fixed version
+
+ [Where problems could occur]
+ * The fix calls the originally called glibc function twice, instead of passing both non-NULL parameters at once. If this compiles there should be no other issue.
+
+ [Original Bug Text]
With glibc 2.31, hwclock from busybox is unable to set the system time
due to the changes in settimeofday behavior.
The problem has been reported upstream in [1] which also contains a
patch.
hwclock from busybox is important as it's used on the Raspberry Pi to set the system
time when an RTC is present.
This bug applies to focal and groovy.
[1] https://bugs.busybox.net/show_bug.cgi?id=12756
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to busybox in Ubuntu.
https://bugs.launchpad.net/bugs/1888543
Title:
hwclock: fails to set time on glibc 2.31
Status in busybox package in Ubuntu:
Confirmed
Status in busybox source package in Focal:
Confirmed
Status in busybox source package in Groovy:
New
Status in busybox package in Debian:
Confirmed
Bug description:
[Impact]
* With glibc 2.31, hwclock from busybox is unable to set the system time
due to the changes in settimeofday behavior.
[Test Case]
* Run:
sudo busybox hwclock -s
* It should succeed in the fixed version
[Where problems could occur]
* The fix calls the originally called glibc function twice, instead of passing both non-NULL parameters at once. If this compiles there should be no other issue.
[Original Bug Text]
With glibc 2.31, hwclock from busybox is unable to set the system time
due to the changes in settimeofday behavior.
The problem has been reported upstream in [1] which also contains a
patch.
hwclock from busybox is important as it's used on the Raspberry Pi to set the system
time when an RTC is present.
This bug applies to focal and groovy.
[1] https://bugs.busybox.net/show_bug.cgi?id=12756
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1888543/+subscriptions
More information about the foundations-bugs
mailing list