Who has "/var/lib/hwclock/adjtime"?

Peter S. Mazinger ps.m at gmx.net
Fri Sep 2 07:53:02 UTC 2005


On Thu, 1 Sep 2005, Rob Landley wrote:

> On Thursday 01 September 2005 10:15, Paul Fox wrote:
> >  > So hwclock.c is looking for adjtime in a very strange place.  I thought
> >  > it was supposed to be /etc/adjtime (which can be a symlink if /etc isn't
> >  > writeable. All sorts of stuff gets mad if /etc is read only, starting
> >  > with "passwd"...)
> >  >
> >  > Is there a reason for this?
> >
> > i can't answer that -- i was surprised as well.
> >
> > what's also broken is that hwclock makes bad assumptions about
> > UTC vs. localtime if that file doesn't exist.  (details attached
> > to the bug, whose id i don't have handy.)
> 
> I switched that bug into "more feedback please" mode last night.  (I'm slowly 
> churning through the bug list.)
> 
> I tried it from the command line and it "worked for me".  And on 
> ubuntu, /var/lib/hwclock/adjtime definitely does not exist.  (The directory 
> it should be in doesn't even exist...)  Hoary Warthog uses /etc/adjtime...

if missing directory and file is a problem, why not adding:
mkdir -p ${PREFIX/ROOT}/var/lib/hwclock
> ${PREFIX/ROOT}/var/lib/hwclock/adjtime
to install if applet was enabled?

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the busybox mailing list