diff -u udev-113/debian/changelog udev-113/debian/changelog --- udev-113/debian/changelog +++ udev-113/debian/changelog @@ -1,3 +1,15 @@ +udev (113-0ubuntu17) gutsy; urgency=low + + * Backported debian/patches/00upstream-RUN-for-remove.patch from hardy: + - Execute RUN rules for device removals even if the device is not present + any more (like for USB devices). + - This restores the behaviour of earlier versions and fixes race + conditions with hal for e. g. cryptsetup, and device naming. + - Patch taken from upstream git (see patch header). + - LP: #148003 + + -- Michael Hofmann Tue, 12 Feb 2008 11:33:42 +0100 + udev (113-0ubuntu16) gutsy; urgency=low * Rename the finish init.d script to udev-finish, and move from S23 to only in patch2: unchanged: --- udev-113.orig/debian/patches/00upstream-RUN-for-remove.patch +++ udev-113/debian/patches/00upstream-RUN-for-remove.patch @@ -0,0 +1,18 @@ +# Upstream: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=a0092d28dbb2c1c75c2fac17303b703343f03a35 +# Ubuntu: https://bugs.launchpad.net/bugs/148003 +# Debian: http://bugs.debian.org/457616 + +diff -Nurp orig/udev_node.c new/udev_node.c +--- orig/udev_node.c 2008-02-07 09:42:51.000000000 +0100 ++++ new/udev_node.c 2008-02-07 09:44:10.000000000 +0100 +@@ -408,8 +408,8 @@ int udev_node_remove(struct udevice *ude + strlcat(filename, "/", sizeof(filename)); + strlcat(filename, udev->name, sizeof(filename)); + if (stat(filename, &stats) != 0) { +- dbg("device node '%s' not found", filename); +- return -1; ++ info("device node '%s' not found", filename); ++ return 0; + } + if (udev->devt && stats.st_rdev != udev->devt) { + info("device node '%s' points to a different device, skip removal", filename);