public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: hwclock service in OpenRC
@ 2018-12-13 18:18 William Hubbs
  2018-12-15 14:36 ` Andrew Savchenko
  0 siblings, 1 reply; 3+ messages in thread
From: William Hubbs @ 2018-12-13 18:18 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

All,

the hwclock service is Linux specific, so all of this applies only to
OpenRC on Linux.

OpenRC currently adds the hwclock service to the boot runlevel upstream.
The linux kernel also has had a way for some time to handle the clock
itself if you have an RTC.

Is it reasonable to stop adding the hwclock service to the boot runlevel
upstream and documenting the options and asking users to make that
choice?

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] rfc: hwclock service in OpenRC
  2018-12-13 18:18 [gentoo-dev] rfc: hwclock service in OpenRC William Hubbs
@ 2018-12-15 14:36 ` Andrew Savchenko
  2018-12-15 21:00   ` Christopher Head
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Savchenko @ 2018-12-15 14:36 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

Hi!

On Thu, 13 Dec 2018 12:18:26 -0600 William Hubbs wrote:
> All,
> 
> the hwclock service is Linux specific, so all of this applies only to
> OpenRC on Linux.
> 
> OpenRC currently adds the hwclock service to the boot runlevel upstream.
> The linux kernel also has had a way for some time to handle the clock
> itself if you have an RTC.
> 
> Is it reasonable to stop adding the hwclock service to the boot runlevel
> upstream and documenting the options and asking users to make that
> choice?

Yes, it is. CONFIG_RTC_HCTOSYS (and CONFIG_RTC_SYSTOHC) is
available in kernel for years and should be a preferred way to
handle the clock.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] rfc: hwclock service in OpenRC
  2018-12-15 14:36 ` Andrew Savchenko
@ 2018-12-15 21:00   ` Christopher Head
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Head @ 2018-12-15 21:00 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

On Sat, 15 Dec 2018 17:36:00 +0300
Andrew Savchenko <bircoph@gentoo.org> wrote:

> Yes, it is. CONFIG_RTC_HCTOSYS (and CONFIG_RTC_SYSTOHC) is
> available in kernel for years and should be a preferred way to
> handle the clock.
> 
> Best regards,
> Andrew Savchenko

AFAIK those options still don’t work with RTCs set to local time, do
they? Which, sadly, are required by anyone who dual-boots with a certain
other OS made by Microsoft? So hwclock will still be needed for many
people—perhaps kernel support should be the default, but a painless
migration path for those who need to keep using hwclock would be
appropriate (if any migration is even needed—I’m unclear on whether
hwclock would be removed from the boot runlevel on existing installs or
only not added on new installs).
-- 
Christopher Head

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-15 21:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-13 18:18 [gentoo-dev] rfc: hwclock service in OpenRC William Hubbs
2018-12-15 14:36 ` Andrew Savchenko
2018-12-15 21:00   ` Christopher Head

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox