Package: src/util-linux
Version: 2.34-0.1

There's an upstream fix needed in util-linux/hwclock for glibc
2.31/settimeofday() (currently in experimental.)

Older glibc:

$ sudo hwclock -s
$ echo $?
0

Newer glibc:

$ sudo hwclock -s
hwclock: settimeofday() failed: Invalid argument
$ echo $?
1

With patch [1]:

$ sudo ./hwclock -s
$ echo $?
0

commit cd781c405be82540484da3bfe3d3f17a39b8eb5c
Author: J William Piggott <elseift...@gmx.com>
Date: Fri Feb 21 20:03:47 2020 -0500

    hwclock: make glibc 2.31 compatible

Currently not yet tagged, v2.35+.

[1] 
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=cd781c405be82540484da3bfe3d3f17a39b8eb5c

Hope this helps,

-- 
Mauricio Faria de Oliveira

Reply via email to