Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Samuel Thibault
Hello, Thorsten Glaser, le mer. 06 déc. 2023 12:16:27 +0100, a ecrit: > On Wed, 6 Dec 2023, Chris Hofstaedtler wrote: > >I have zero knowledge about hurd, but it looks like[1] hwclock is built > >with CMOS support on hurd. So maybe it could work? > > Maybe it just needs a different config? > >

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Svante Signell
And on a Devuan/Ceres box: dpkg -S /usr/lib/udev/rules.d/hwclock.rules initscripts: /usr/lib/udev/rules.d/hwclock.rules dpkg -S /usr/lib/udev/rules.d/85-hwclock.rules dpkg-query: no path found matching pattern /usr/lib/udev/rules.d/85- hwclock.rules On Wed, 2023-12-06 at 18:08 +0100, Svante

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Mark Hindley
Chris, Thanks On Wed, Dec 06, 2023 at 05:57:55PM +0100, Chris Hofstaedtler wrote: > * Mark Hindley : > > 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

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Svante Signell
On Wed, 2023-12-06 at 16:52 +, Mark Hindley wrote: > 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 > >

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Chris Hofstaedtler
* Mark Hindley : > 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

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Mark Hindley
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

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Martin-Éric Racine
On Wed, Dec 6, 2023 at 4:57 PM Mark Hindley wrote: > I also propose downgrading the initscripts Depends: util-linux-extra to > Recommends. Even on non-systemd systems, hwclock.sh is far from essential as > many now use NTP and hwclock.sh already handles a missing /sbin/hwclock > gracefully. The

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Martin-Éric Racine
On Wed, Dec 6, 2023 at 4:57 PM Mark Hindley wrote: > > Control: tags -1 = patch > > Svante, > > On Wed, Dec 06, 2023 at 02:20:09PM +0100, Svante Signell wrote: > > On a qemu Hurd image: > > > > /sbin/hwclock --help | grep rtc > > --directisa use the ISA bus instead of

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Mark Hindley
Control: tags -1 = patch Svante, On Wed, Dec 06, 2023 at 02:20:09PM +0100, Svante Signell wrote: > On a qemu Hurd image: > > /sbin/hwclock --help | grep rtc > --directisa use the ISA bus instead of /dev/rtc0 access > > /sbin/hwclock --directisa --show > 2023-12-06

Bug#1057634: Re: Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Martin-Éric Racine
On Wed, Dec 6, 2023 at 3:46 PM Svante Signell wrote: > -- Forwarded message -- > From: Svante Signell > To: debian-init-divers...@chiark.greenend.org.uk > Cc: > Bcc: > Date: Wed, 06 Dec 2023 14:20:09 +0100 > Subject: Re: Bug#1057634: /sbin/hwclock: unrecogniz

Bug#1057634: Fwd: Re: Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Svante Signell
--- Begin Message --- On Wed, 2023-12-06 at 12:07 +, Mark Hindley wrote: > Chris, > > Thanks for your input. > > On Wed, Dec 06, 2023 at 11:56:56AM +0100, Chris Hofstaedtler wrote: > > * Mark Hindley [231206 11:42]: > > > Is hwclock actually useful on Hurd? I (naively) expected it to be

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Mark Hindley
Chris, Thanks for your input. On Wed, Dec 06, 2023 at 11:56:56AM +0100, Chris Hofstaedtler wrote: > * Mark Hindley [231206 11:42]: > > 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

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Thorsten Glaser
On Wed, 6 Dec 2023, Chris Hofstaedtler wrote: >I have zero knowledge about hurd, but it looks like[1] hwclock is built >with CMOS support on hurd. So maybe it could work? Maybe it just needs a different config? >Given this I'd imagine nobody has ever used the hwclock initscripts >on hurd

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Martin-Éric Racine
On Wed, Dec 6, 2023 at 12:42 PM Mark Hindley 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. > >

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Chris Hofstaedtler
* Mark Hindley [231206 11:42]: > > 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. [..] > Is hwclock actually useful on Hurd? I (naively) expected it to be linux >

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Mark Hindley
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:

Bug#1057634: /sbin/hwclock: unrecognized option '--rtc=/dev/rtc0'

2023-12-06 Thread Martin-Éric Racine
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