Verified on Focal with 1:1.30.1-4ubuntu6.3:

ubuntu@ff:~$ dpkg -l busybox-static | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version             Architecture Description
+++-==============-===================-============-======================================================
ii  busybox-static 1:1.30.1-4ubuntu6.2 amd64        Standalone rescue shell 
with tons of builtin utilities
ubuntu@ff:~$ sudo busybox hwclock -s
hwclock: settimeofday: Invalid argument
ubuntu@ff:~$ sudo apt install busybox-static 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  busybox-static
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 949 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 busybox-static 
amd64 1:1.30.1-4ubuntu6.3 [949 kB]
Fetched 949 kB in 1s (1849 kB/s)   
(Reading database ... 63419 files and directories currently installed.)
Preparing to unpack .../busybox-static_1%3a1.30.1-4ubuntu6.3_amd64.deb ...
Unpacking busybox-static (1:1.30.1-4ubuntu6.3) over (1:1.30.1-4ubuntu6.2) ...
Setting up busybox-static (1:1.30.1-4ubuntu6.3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for initramfs-tools (0.136ubuntu6.3) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-54-generic
ubuntu@ff:~$ sudo busybox hwclock -s
ubuntu@ff:~$ 


** Tags removed: verification-needed verification-needed-focal 
verification-needed-groovy
** Tags added: verification-done verification-done-focal 
verification-done-groovy

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Released
Status in busybox source package in Focal:
  Fix Committed
Status in busybox source package in Groovy:
  Fix Committed
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to