hwclock bug #74

Mike Frysinger vapier at gentoo.org
Wed Sep 28 03:08:34 UTC 2005


On Tuesday 27 September 2005 10:41 pm, Rob Landley wrote:
> On Tuesday 27 September 2005 15:01, Paul Fox wrote:
> >  > > i think the only issue to be resolved with hwclock, if any, is
> >  > > whether it should be trying to open /etc/adjtime (traditional) or
> >  > > /var/lib/hwclock/adjtime (current behavior).
> >  >
> >  > i think we should either add support for both:
> >  > FILE *fp = fopen(/var/lib/hwclock/adjtime)
> >  > if (!fp) fp = fopen(/etc/adjtime)
> >  >
> >  > or add a config option so you can select which one you want ... anyone
> >  > care either way ?
> >
> > i don't care either.  is the /var/lib path a "standard" of some
> > sort?  if so i'd say try both.
>
> The /var/lib thing is recent fresh breakage a recent version of... FHS 2.3,
> I think.  I believe the logic is that since /etc/passwd and /etc/shadow
> live in /etc we can't have anything writeable in there, because obviously
> those are never updated.

yeah

> > it'll waste some bytes, but we'll put tito on the job and he'll get 'em
> > back for us.  ;-)
>
> Compile-time option.

ok, adding support for both added like 35 bytes extra, but i'll make it an 
option :)
-mike



More information about the busybox mailing list