Bug#766771: udev rules are reloaded on any event due to incomplete debian patch
Hi, I can now confirm this as fixed as I noticed the udev packages just got pushed to testing. Thanks. Kitty On Fri, Nov 21, 2014 at 7:29 PM, Martin Pitt wrote: > Sjoerd Simons [2014-11-20 22:13 +0100]: >> Martin, I suspect this bug has been fixed due: >> * Replace our Debian hwdb.bin location patch with what got committed >>upstream. Run hwdb update with the new --usr option to keep current >>behaviour. >> >> Could you verify that ? > > Yes, very likely. Our previous Debian specific patch was missing a > part of the code when we upgraded to 215. > > Martin > -- > Martin Pitt| http://www.piware.de > Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#766771: udev rules are reloaded on any event due to incomplete debian patch
Sjoerd Simons [2014-11-20 22:13 +0100]: > Martin, I suspect this bug has been fixed due: > * Replace our Debian hwdb.bin location patch with what got committed >upstream. Run hwdb update with the new --usr option to keep current >behaviour. > > Could you verify that ? Yes, very likely. Our previous Debian specific patch was missing a part of the code when we upgraded to 215. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#766771: udev rules are reloaded on any event due to incomplete debian patch
Hi, Not until the relevant packages are pushed to testing. Kitty On Fri, Nov 21, 2014 at 8:13 AM, Sjoerd Simons wrote: > Martin, I suspect this bug has been fixed due: > * Replace our Debian hwdb.bin location patch with what got committed >upstream. Run hwdb update with the new --usr option to keep current >behaviour. > > Could you verify that ? > > > On Sun, Oct 26, 2014 at 03:52:16AM +1100, kittyofthebox wrote: >> 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 adduser3.113+nmu3 >> ii debconf [debconf-2.0] 1.5.53 >> ii libacl12.2.52-2 >> ii libblkid1 2.25.1-5 >> ii libc6 2.19-11 >> ii libkmod2 18-3 >> ii libselinux12.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; > > > -- > Air pollution is really making us pay through the nose. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#766771: udev rules are reloaded on any event due to incomplete debian patch
Martin, I suspect this bug has been fixed due: * Replace our Debian hwdb.bin location patch with what got committed upstream. Run hwdb update with the new --usr option to keep current behaviour. Could you verify that ? On Sun, Oct 26, 2014 at 03:52:16AM +1100, kittyofthebox wrote: > 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 adduser3.113+nmu3 > ii debconf [debconf-2.0] 1.5.53 > ii libacl12.2.52-2 > ii libblkid1 2.25.1-5 > ii libc6 2.19-11 > ii libkmod2 18-3 > ii libselinux12.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; -- Air pollution is really making us pay through the nose. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#766771: udev rules are reloaded on any event due to incomplete debian patch
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 adduser3.113+nmu3 ii debconf [debconf-2.0] 1.5.53 ii libacl12.2.52-2 ii libblkid1 2.25.1-5 ii libc6 2.19-11 ii libkmod2 18-3 ii libselinux12.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;