> powerpc-utils.postinst moves adjtime from /etc to /var/lib/hwclock.
> /var is a seperate partition on my system and I've just noticed
> hwclockfirst.sh complains about "no such file" while booting because
> because the /etc/adjtime link points to nothing as /var is not mounted
> yet.
>
> I'm not sure if this bug belongs to powerpc-utils or util-linux: The
> relevant change in powerpc-utils happened back in November '04 but
> it's the first time I've noticed the adjtime error message.

AFAIR the message is a warning message only. At hwclockfirst.sh run time,
the adjtime file is not usually available so it doesn't get used.

If, OTOH, hwclockfirst.sh fails it would be a bug. In that case, please
check if /sbin/hwclock is the binary from the util-linux package, or the
clock binary from powerpc-utils (only used for oldworld Macs, and it
should never be copied to /sbin/hwclock). If it's from util-linux, the bug
would belong there and I'll reassign it accordingly. Otherwise, it's a
problem with 'clock' that I'm aware of - clock does not understand the
hwclock long options, in particular the --noadjfile one.

To avoid this type of problem, I've changed postinst to copying instead of
linking (as originally done when mandated by the util-linux change) so
there should be a stale copy of adjtime for hwclockfirst.sh to use from
-18 onwards. So I consider the bug related to /sbin/clock fixed by -18 and
would close this bug.

Please advise ...

        Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to