Package: util-linux
Version: 2.15.1~rc1-1
Severity: normal
It looks like Eduard and I are using self-compiled kernels, and anyone using
the legacy RTC
support will only have /dev/rtc, and no /dev/rtc0. But package 'util-linux' is
hard coding
/dev/rtc0 into the 'hwclock*' boot scripts.
Would it be possible to allow 'util-linux' to configure "HWCLOCKPARS" and
"HCTOSYS_DEVICE"
(from /etc/init.d/hwclock{,first}.sh) using a file in /etc/default? I am also
using a self-compiled
kernel, and at boot I was getting messages like
Cannot access the system clock by any known method
until I changed the setting of "HCTOSYS_DEVICE" from "rtc0" to "rtc" in
/etc/init.d/hwclockfirst.sh
and /etc/init.d/hwclock.sh. These values are clearly meant to be modified by
the sysadmin,
anyway, so it seems like the appropriate place would be in /etc/default.
For reference, the Debian kernels are compiled with these options:
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
but my self-compiled kernel using using this instead
CONFIG_RTC=y
(Not sure if Eduard's problem has the same origin, but I would not be
surprised.)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (350, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-5s13589.090509.desktop.uvesafb (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages util-linux depends on:
ii libc6 2.9-13 GNU C Library: Shared libraries
ii libncurses5 5.7+20090523-1 shared libraries for terminal hand
ii libselinux1 2.0.71-1 SELinux shared libraries
ii libslang2 2.1.4-3 The S-Lang programming library - r
ii libuuid1 1.41.6-1 Universally Unique ID library
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii tzdata 2009h-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 console-tools 1:0.2.3dbs-65.1 Linux console and font utilities
ii dosfstools 3.0.3-1 utilities for making and checking
pn util-linux-locales <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]