Your message dated Sat, 5 Jul 2014 22:13:04 +0200 with message-id <[email protected]> and subject line hwclock init script should check for ! -L /etc/adjtime -- hwclockfirst.sh is dead has caused the Debian Bug report #520606, regarding hwclock init script should check for ! -L /etc/adjtime to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 520606: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520606 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: util-linux Version: 2.13.1.1-1 Severity: normal Hi, if /etc/adjtime is a symlink to /var and the filesystem underneath /var is not mounted the check ! -f /etc/adjtime succeeds, but echo … > /etc/adjtime fails. You should better check if /etc/adjtime is a symlink and the second check ! -e /etc/adjtime checks the presence of the file. Bye, Jörg. diff --git a/init.d/hwclockfirst.sh b/init.d/hwclockfirst.sh index 5d49e28..95265e9 100755 --- a/init.d/hwclockfirst.sh +++ b/init.d/hwclockfirst.sh @@ -63,7 +63,7 @@ hwclocksh() case "$1" in start) - if [ -w /etc ] && [ ! -f /etc/adjtime ] && [ ! -e /etc/adjtime ]; then + if [ -w /etc ] && [ ! -L /etc/adjtime ] && [ ! -e /etc/adjtime ]; then echo "0.0 0 0.0" > /etc/adjtime fi -- System Information: Debian Release: unstable/experimental APT prefers unstable APT policy: (900, 'unstable'), (700, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 2.6.29-rc8 Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages util-linux depends on: ii libc6 2.9-6 GNU C Library: Shared libraries ii libncurses5 5.7+20090228-1 shared libraries for terminal hand ii libselinux1 2.0.71-1 SELinux shared libraries ii libslang2 2.1.3-3 The S-Lang programming library - r ii libuuid1 1.41.3-1 universally unique id library ii lsb-base 3.2-21 Linux Standard Base 3.2 init scrip ii tzdata 2009c-1 time zone and daylight-saving time ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime util-linux recommends no packages. Versions of packages util-linux suggests: ii dosfstools 3.0.2-1 utilities for making and checking ii kbd 1.15-1 Linux console font and keytable ut pn util-linux-locales <none> (no description available) -- no debconf information
signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
--- End Message ---
--- Begin Message ---Package: util-linux Version: 2.20.1-5 The util-linux package no longer ships the hwclockfirst.sh script since the above mentioned version, so any potential bug in it can no longer exist.... I'm thus closing this bug report. Regards, Andreas Henriksson
--- End Message ---

