Package: util-linux
Version: 2.17.2-9
Severity: important

The attached patch (against 2.19.1-1) fixes hwclock.sh to support
/run/udev in addition to looking for /dev/.udev (which is no longer
used in unstable).


Regards,
Roger

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.27-kvm-i386-20110114 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages util-linux depends on:
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  dpkg                    1.15.8.10        Debian package management system
ii  initscripts             2.88dsf-13.1     scripts for initializing and shutt
ii  install-info            4.13a.dfsg.1-6   Manage installed documentation in 
ii  libblkid1               2.17.2-9         block device id library
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libncurses5             5.7+20100313-5   shared libraries for terminal hand
ii  libselinux1             2.0.96-1         SELinux runtime shared libraries
ii  libslang2               2.2.2-4          The S-Lang programming library - r
ii  libuuid1                2.17.2-9         Universally Unique ID library
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  tzdata                  2011c-0squeeze1  time zone and daylight-saving time
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

util-linux recommends no packages.

Versions of packages util-linux suggests:
pn  dosfstools                    <none>     (no description available)
pn  kbd | console-tools           <none>     (no description available)
pn  util-linux-locales            <none>     (no description available)

-- debconf information excluded
diff -urN util-linux-2.19.1.original/debian/hwclock.sh util-linux-2.19.1/debian/hwclock.sh
--- util-linux-2.19.1.original/debian/hwclock.sh	2011-06-05 10:19:35.515111774 +0100
+++ util-linux-2.19.1/debian/hwclock.sh	2011-06-05 10:23:45.914174023 +0100
@@ -67,7 +67,7 @@
 
     case "$1" in
 	start)
-	    if [ -d /dev/.udev ]; then
+	    if [ -d /run/udev ] || [ -d /dev/.udev ]; then
 		return 0
 	    fi
 

Reply via email to