Package: udev
Version: 215-5+b1
Severity: important
Tags: patch
Hi,
Due to an incomplete debian patch udev rules are reloaded everytime an event
occurs
instead of only when udev rules change. After some dicussion in the
#debian-systemd
chat room this patch fixes the problem.
Kitty
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (750, 'testing'), (700, 'testing'), (650, 'stable'), (600,
'stable'), (450, 'oldstable'), (400, 'oldstable'), (300, 'unstable'), (200,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages udev depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.53
ii libacl1 2.2.52-2
ii libblkid1 2.25.1-5
ii libc6 2.19-11
ii libkmod2 18-3
ii libselinux1 2.3-2
ii libudev1 215-5+b1
ii lsb-base 4.1+Debian13
ii procps 2:3.3.9-8
ii util-linux 2.25.1-5
udev recommends no packages.
udev suggests no packages.
--- a/src/libudev/libudev-hwdb.c
+++ b/src/libudev/libudev-hwdb.c
@@ -358,7 +358,7 @@ bool udev_hwdb_validate(struct udev_hwdb *hwdb) {
return false;
if (!hwdb->f)
return false;
- if (stat("/etc/udev/hwdb.bin", &st) < 0)
+ if (stat(UDEVLIBEXECDIR "/hwdb.bin", &st) < 0)
return true;
if (timespec_load(&hwdb->st.st_mtim) != timespec_load(&st.st_mtim))
return true;