Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'
Mark Hindley
mark at hindley.org.uk
Wed Dec 6 10:42:07 GMT 2023
Control: tags -1 moreinfo
Martin,
Thanks for this
On Wed, Dec 06, 2023 at 11:16:57AM +0200, Martin-Éric Racine wrote:
> Package: initscripts
> Version: 3.08-3
> Severity: important
>
> $ LC_ALL=C sudo invoke-rc.d hwclock.sh restart
> Saving the system clock to /dev/rtc0.
> /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'
>
> APT prefers unreleased
> APT policy: (500, 'unreleased'), (500, 'unstable')
> Architecture: hurd-i386 (i686-AT386)
>
> Kernel: GNU-Mach 1.8+git20230830-486/Hurd-0.9
So you are running Hurd. I have very little experience of that arch, so would
appreciate some more information from you.
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
> Shell: /bin/sh linked to /usr/bin/dash
> Init: sysvinit (via /sbin/init)
>
> Versions of packages initscripts depends on:
> ii sysv-rc 3.08-3
> ii sysvinit-utils 3.08-3
> ii util-linux-extra 2.39.3-2
Is hwclock actually useful on Hurd? I (naively) expected it to be linux
only. But src:util-linux still ships it[1]. Or is the HCTOSYS_DEVICE used in the
initscripts just wrong on Hurd?
Does your Hurd system usually have util-linux-extra installed or was it only
pulled in by the initscript dependency?
Mark
[1] https://salsa.debian.org/debian/util-linux/-/blob/master/debian/util-linux-extra.install
More information about the Debian-init-diversity
mailing list