Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'
Martin-Éric Racine
martin-eric.racine at iki.fi
Wed Dec 6 10:57:35 GMT 2023
On Wed, Dec 6, 2023 at 12:42 PM Mark Hindley <mark at hindley.org.uk> wrote:
> 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.
I just barely got around installing Hurd on a spare host, but I'll try
answering them anyway.
> > 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?
Hurd mailing list in CC might be able to answer that one.
> Does your Hurd system usually have util-linux-extra installed or was it only
> pulled in by the initscript dependency?
$ dpkg -l | grep linux
ii util-linux 2.39.3-2
hurd-i386 miscellaneous system utilities
ii util-linux-extra 2.39.3-2
hurd-i386 interactive login tools
It was probably pulled-in due to having priority Standard.
Martin-Éric
More information about the Debian-init-diversity
mailing list