Martin, On Wed, Dec 06, 2023 at 06:06:41PM +0200, Martin-Éric Racine wrote: > Please note that the start target refers to a non-existing > /usr/lib/udev/rules.d/85-hwclock.rules. The correct file is > /usr/lib/udev/rules.d/hwclock.rules instead. That file contains a > reference to rtc0 that probably needs fixing for Hurd as well.
Hmmm, udev is linux only, so I imagine udev rules are cruft on Hurd. > Anyhow, what I get with the patched init script: > > [2023-12-06 18:04](HURD i386)perkelix@pxeth:~$ LC_ALL=C sudo > /etc/init.d/hwclock.sh start > [2023-12-06 18:04](HURD i386)perkelix@pxeth:~$ LC_ALL=C sudo > /etc/init.d/hwclock.sh restart > Saving the system clock to CMOS. > Hardware Clock updated to Wed Dec 6 18:05:05 EET 2023. > [2023-12-06 18:05](HURD i386)perkelix@pxeth:~$ LC_ALL=C sudo > /etc/init.d/hwclock.sh stop > Saving the system clock to CMOS. > Hardware Clock updated to Wed Dec 6 18:05:12 EET 2023. > [2023-12-06 18:05](HURD i386)perkelix@pxeth:~$ LC_ALL=C sudo > /etc/init.d/hwclock.sh show > 2023-12-06 18:05:18.129566+02:00 Thanks. Looks OK to me. Mark