Bug#332926: powerpc-utils: adjtime problems

2005-10-10 Thread Michael Schmitz
 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]



Bug#332926: powerpc-utils: adjtime problems

2005-10-09 Thread Juergen Kreileder
Package: powerpc-utils
Version: 1.1.3-17
Severity: normal

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.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc5-mm1jk2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages powerpc-utils depends on:
ii  libc6 2.3.5-6GNU C Library: Shared libraries an

powerpc-utils recommends no packages.

-- no debconf information


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/


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