--- udev-136.orig/debian/udev.dirs +++ udev-136/debian/udev.dirs @@ -0,0 +1,16 @@ +/sbin +/lib/firmware +/lib/udev +/lib/udev/devices +/lib/udev/devices/net +/lib/udev/devices/pts +/lib/udev/devices/shm +/lib/udev/rules.d +/etc/udev/rules.d +/usr/lib/udev +/usr/share/initramfs-tools/hooks +/usr/share/initramfs-tools/scripts/init-premount +/usr/share/initramfs-tools/scripts/casper-premount +/usr/share/initramfs-tools/scripts/local-top +/usr/share/initramfs-tools/scripts/nfs-top +/usr/share/initramfs-tools/scripts/init-bottom --- udev-136.orig/debian/libvolume-id1.install +++ udev-136/debian/libvolume-id1.install @@ -0,0 +1 @@ +lib/libvolume_id.so.* --- udev-136.orig/debian/udev-udeb.dirs +++ udev-136/debian/udev-udeb.dirs @@ -0,0 +1,13 @@ +/sbin +/etc/udev +/etc/udev/rules.d +/lib/firmware +/lib/udev +/lib/udev/devices +/lib/udev/devices/net +/lib/udev/devices/pts +/lib/udev/devices/shm +/lib/debian-installer +/usr/bin +/usr/lib/base-installer.d +/usr/sbin --- udev-136.orig/debian/udev-udeb.install +++ udev-136/debian/udev-udeb.install @@ -0,0 +1,15 @@ +etc/udev/rules.d +etc/udev/udev.conf +etc/scsi_id.config +lib/udev/* +lib/udev/rules.d/* +sbin/udevadm +sbin/udevd +../../rules/packages/40-alsa.rules lib/udev/rules.d +../../rules/packages/40-ia64.rules lib/udev/rules.d +../../rules/packages/40-infiniband.rules lib/udev/rules.d +../../rules/packages/40-isdn.rules lib/udev/rules.d +../../rules/packages/40-pilot-links.rules lib/udev/rules.d +../../rules/packages/40-ppc.rules lib/udev/rules.d +../../rules/packages/40-zaptel.rules lib/udev/rules.d +../../rules/packages/64-device-mapper.rules lib/udev/rules.d --- udev-136.orig/debian/udev-udeb.links +++ udev-136/debian/udev-udeb.links @@ -0,0 +1 @@ +lib/udev/vol_id sbin/vol_id --- udev-136.orig/debian/udev.udev-finish.init +++ udev-136/debian/udev.udev-finish.init @@ -0,0 +1,48 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: udev-finish +# Required-Start: mountall-bootclean udev +# Required-Stop: +# Should-Start: +# Default-Start: S +# Default-Stop: +# Short-Description: Finish up udev. +# Description: Copies the udev log into /var/log and copies any rules +# generated while the root filesystem was read-only into +# /etc/udev/rules.d +### END INIT INFO + +# init script to finish up udev + +# Check the package is still installed +[ -x /sbin/udevd ] || exit 0 + +# Get LSB functions +. /lib/lsb/init-functions +. /etc/default/rcS + + +case "$1" in + start) + # Save udev log in /var/log/udev + if [ -e /dev/.udev.log ]; then + mv -f /dev/.udev.log /var/log/udev + fi + + # Copy any rules generated while the root filesystem was read-only + for file in /dev/.udev/tmp-rules--*; do + dest=${file##*tmp-rules--} + [ "$dest" = '*' ] && break + cat $file >> /etc/udev/rules.d/$dest + rm -f $file + done + ;; + stop|restart|reload|force-reload) + ;; +*) + echo "Usage: /etc/init.d/udev {start|stop|restart|reload|force-reload}" + exit 1 + ;; +esac + +exit 0 --- udev-136.orig/debian/README-etc-rules.d +++ udev-136/debian/README-etc-rules.d @@ -0,0 +1,35 @@ +The files in this directory are read by udev(7) and used when events +are performed by the kernel. The udev daemon watches this directory +with inotify so that changes to these files are automatically picked +up, for this reason they must be files and not symlinks to another +location as in the case in Debian. + +Packages do not generally install rules here, this directory is for +local rules. If you want to override behaviour of package-supplied +rules, which can be found in /lib/udev/rules.d, you can do one of +two things: + + 1) Write your own rules in this directory that assign the name, + symlinks, permissions, etc. that you want. Pick a number higher + than the rules you want to override, and yours will be used. + + 2) Copy the file from /lib/udev/rules.d and edit it here; you + should generally only do this if you want to prevent a program + from being run. + + +Files should be named xx-descriptive-name.rules, the xx should be +chosen first according to the following sequence points: + + < 60 most user rules; if you want to prevent an assignment being + overriden by default rules, use the := operator. + + these cannot access persistent information such as that from + vol_id + + < 70 rules that run helpers such as vol_id to populate the udev db + + < 90 rules that run other programs (often using information in the + udev db) + + >=90 rules that should run last --- udev-136.orig/debian/README-lib-rules.d +++ udev-136/debian/README-lib-rules.d @@ -0,0 +1,40 @@ +The files in this directory are read by udev(7) and used when events +are performed by the kernel. The udev daemon watches this directory +with inotify so that changes to these files are automatically picked +up, for this reason they must be files and not symlinks to another +location as in the case in Debian. + +These are not conffiles. If you want to override the behaviour, you +can do one of two things: + + 1) Write your own rules in /etc/udev/rules.d that assign the name, + symlinks, permissions, etc. that you want. Pick a number higher + than the rules you want to override, and yours will be used. + + 2) Copy the file to /etc/udev/rules.d and edit it there; you + should generally only do this if you want to prevent a program + from being run. + + +Files should be named xx-descriptive-name.rules, the xx should be +chosen first according to the following sequence points: + + < 60 rules shipped in packages; these can be overriden by later or + default rules unless := is used in assignment. + + these cannot access persistent information such as that from + vol_id + + < 70 rules that run helpers such as vol_id to populate the udev db + + < 90 rules that run other programs (often using information in the + udev db) + + >=90 rules that should run last + +Common locations for package rules: + + 40-xx general rules, setting names and permissions + 65-xx rules to populate the udev db + 85-xx rules to run programs + --- udev-136.orig/debian/udev.initramfs-premount +++ udev-136/debian/udev.initramfs-premount @@ -0,0 +1,29 @@ +#!/bin/sh -e +# initramfs premount script for udev + +PREREQ="" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +# It's all over netlink now +echo "" > /proc/sys/kernel/hotplug + +# Start the udev daemon to process events +/sbin/udevd --daemon + +# Iterate sysfs and fire off everything; if we include a rule for it then +# it'll get handled; otherwise it'll get handled later when we do this again +# in the main boot sequence. +/sbin/udevadm trigger --- udev-136.orig/debian/libvolume-id1.docs +++ udev-136/debian/libvolume-id1.docs @@ -0,0 +1 @@ +extras/volume_id/README --- udev-136.orig/debian/libvolume-id-dev.install +++ udev-136/debian/libvolume-id-dev.install @@ -0,0 +1,4 @@ +usr/include/libvolume_id.h +usr/lib/libvolume_id.a +usr/lib/libvolume_id.so +usr/lib/pkgconfig/libvolume_id.pc --- udev-136.orig/debian/udev.docs +++ udev-136/debian/udev.docs @@ -0,0 +1,3 @@ +README +NEWS +docs/writing_udev_rules --- udev-136.orig/debian/udev.init +++ udev-136/debian/udev.init @@ -0,0 +1,112 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: udev +# Required-Start: mountkernfs +# Required-Stop: +# Should-Start: +# Default-Start: S +# Default-Stop: +# Short-Description: Start the udev daemon. +# Description: Mounts the /dev virtual filesystem, starts the udev +# daemon and populates /dev. +### END INIT INFO + +# Check the package is still installed +[ -x /sbin/udevd ] || exit 0 + +# Get LSB functions +. /lib/lsb/init-functions +. /etc/default/rcS + + +case "$1" in + start) + # We need the uevent support introduced in 2.6.15, bail out if we + # don't have it and fall back to a static /dev + if [ ! -f /sys/class/mem/null/uevent ]; then + if mountpoint -q /dev; then + # uh-oh, initramfs made some kind of /dev, get rid of it + umount -l /dev + fi + exit 1 + fi + + if ! mountpoint -q /dev; then + # initramfs didn't mount /dev, so we'll need to do that + mount -n -t tmpfs -o mode=0755 udev /dev + fi + + # Copy over default device tree + cp -a -f /lib/udev/devices/* /dev + + # It's all over netlink now + if [ -e /proc/sys/kernel/hotplug ]; then + echo "" > /proc/sys/kernel/hotplug + fi + + # Start udevd + log_begin_msg "Starting kernel event manager..." + if start-stop-daemon --start --quiet --exec /sbin/udevd -- --daemon; then + log_end_msg 0 + else + log_end_msg $? + fi + + # This next bit can take a while + if type usplash_write >/dev/null 2>&1; then + usplash_write "TIMEOUT 360" ||: + trap "usplash_write 'TIMEOUT 15' ||:" 0 + fi + + # Log things that trigger does + /sbin/udevadm monitor -e >/dev/.udev.log & + UDEV_MONITOR_PID=$! + + # Fix permissions and missing symlinks/programs for devices made in + # initramfs, and catch up on everything we missed + log_begin_msg "Loading hardware drivers..." + /sbin/udevadm trigger + if /sbin/udevadm settle; then + log_end_msg 0 + else + log_end_msg $? + fi + + # Kill the udev monitor again + kill $UDEV_MONITOR_PID + ;; + stop) + log_begin_msg "Stopping kernel event manager..." + if start-stop-daemon --stop --quiet --oknodo --exec /sbin/udevd; then + log_end_msg 0 + else + log_end_msg $? + fi + umount -l /dev + ;; + restart) + cp -au /lib/udev/devices/* /dev + + log_begin_msg "Loading additional hardware drivers..." + /sbin/udevadm trigger + if /sbin/udevadm settle; then + log_end_msg 0 + else + log_end_msg $? + fi + ;; + reload|force-reload) + log_begin_msg "Reloading kernel event manager..." + if start-stop-daemon --stop --signal 1 --exec /sbin/udevd; then + log_end_msg 0 + else + log_end_msg $? + fi + ;; +*) + echo "Usage: /etc/init.d/udev {start|stop|restart|reload|force-reload}" + exit 1 + ;; +esac + +exit 0 --- udev-136.orig/debian/udev.install +++ udev-136/debian/udev.install @@ -0,0 +1,16 @@ +usr/share/man/*/* +etc/udev/rules.d +etc/udev/udev.conf +etc/scsi_id.config +lib/udev/* +lib/udev/rules.d/* +sbin/udevadm +sbin/udevd +../../rules/packages/40-alsa.rules lib/udev/rules.d +../../rules/packages/40-ia64.rules lib/udev/rules.d +../../rules/packages/40-infiniband.rules lib/udev/rules.d +../../rules/packages/40-isdn.rules lib/udev/rules.d +../../rules/packages/40-pilot-links.rules lib/udev/rules.d +../../rules/packages/40-ppc.rules lib/udev/rules.d +../../rules/packages/40-zaptel.rules lib/udev/rules.d +../../rules/packages/64-device-mapper.rules lib/udev/rules.d --- udev-136.orig/debian/udev.links +++ udev-136/debian/udev.links @@ -0,0 +1 @@ +lib/udev/vol_id sbin/vol_id --- udev-136.orig/debian/control +++ udev-136/debian/control @@ -0,0 +1,66 @@ +Source: udev +Section: admin +Priority: important +Maintainer: Scott James Remnant +Standards-Version: 3.8.0.0 +Build-Depends: debhelper (>= 7.0), libselinux1-dev (>= 1.28-1), libsepol1-dev, xsltproc, docbook-xsl +Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/udev/ubuntu + +Package: udev +Architecture: any +Depends: ${shlibs:Depends}, module-init-tools (>= 3.2.1-0ubuntu3), initramfs-tools (>= 0.40ubuntu30), procps, adduser +Conflicts: hotplug, ifrename, libdevmapper1.02 (<< 2:1.02.08-1ubuntu7), volumeid +Replaces: hotplug, initramfs-tools (<< 0.040ubuntu1), ifrename, volumeid, libvolumeid0 (<< 093-0ubuntu7) +Suggests: watershed +Description: rule-based device node and kernel event manager + udev is a collection of tools and a daemon to manage events received from + the kernel and deal with them in user-space. Primarily this involves + creating and removing device nodes in /dev when hardware is discovered or + removed from the system. + . + Events are received via kernel netlink messaged and processed according to + rules in /etc/udev/rules.d and /lib/udev/rules.d, altering the name of the + device node, creating additional symlinks or calling other tools and programs + including those to load kernel modules and initialise the device. + +Package: udev-udeb +XC-Package-Type: udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends} +Description: rule-based device node and kernel event manager + +Package: libvolume-id1 +Architecture: any +Depends: ${shlibs:Depends} +Description: volume identification library + libvolume_id provides a standard set of algorithms for identifying + the filesystem type of a volume and information about it. + +Package: libvolume-id-dev +Priority: optional +Architecture: any +Depends: libvolume-id1 (= ${Source-Version}) +Description: volume identification library (development files) + libvolume_id provides a standard set of algorithms for identifying + the filesystem type of a volume and information about it. + . + This package provides a static library and C header files. + +Package: libudev0 +Architecture: any +Depends: ${shlibs:Depends} +Description: udev library + libudev provides a set of functions for accessing the udev database + and querying sysfs. + +Package: libudev-dev +Priority: optional +Architecture: any +Depends: libudev0 (= ${Source-Version}) +Description: udev library (development files) + libudev provides a set of functions for accessing the udev database + and querying sysfs. + . + This package provides a static library and C header files. + --- udev-136.orig/debian/copyright +++ udev-136/debian/copyright @@ -0,0 +1,34 @@ +This is the Ubuntu package of udev, the rule-base device node and kernel +event manager. + +Copyright © 2004-2006 Key Sievers +Copyright © 2005-2006 SUSE Linux Products GmbH +Copyright © 2006 Hannes Reinecke +Copyright © 2006 Red Hat, Inc. +Copyright © 2003-2004 Greg Kroah-Hartman +Copyright © 2005 John Hull +Copyright © 2005 Tobias Klauser +Copyright © 2005 W. Michael Petullo +Copyright © 2004 Andre Masella +Copyright © 2004 Arnd Bergmann +Copyright © 2004 Chris Friesen +Copyright © 2004 Harald Hoyer +Copyright © 2004 Ling, Xiaofeng +Copyright © 2004 Daniel Walsh +Copyright © 2003 IBM Corp. + +Includes code from the Linux kernel source tree. + +Licence: + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation version 2 of the License. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +On Ubuntu systems, the complete text of the GNU General Public License +can be found in ‘/usr/share/common-licenses/GPL’. --- udev-136.orig/debian/udev.base-installer +++ udev-136/debian/udev.base-installer @@ -0,0 +1,9 @@ +#!/bin/sh -e + +RULESDIR=etc/udev/rules.d + +mkdir -p /target/$RULESDIR +cp /$RULESDIR/70-persistent-cd.rules \ + /$RULESDIR/70-persistent-net.rules \ + /target/$RULESDIR 2>/dev/null || true + --- udev-136.orig/debian/changelog +++ udev-136/debian/changelog @@ -0,0 +1,2625 @@ +udev (136-5) jaunty; urgency=low + + * debian/udev-udeb.dirs: Create /lib/udev/devices/{net,pts,shm} in the + udeb too, since (a) the installer-startup script gets a bit upset if + /lib/udev/devices doesn't exist or is empty, and (b) they seem like + reasonable things to have anyway. + + -- Colin Watson Tue, 20 Jan 2009 15:33:01 +0000 + +udev (136-4) jaunty; urgency=low + + * debian/udev.preinst, debian/udev.postinst, debian/udev.postrm: A couple + of conffiles from an earlier udev package are still around for several + people, make sure that we delete these too. + + * debian/compat: Update to 7. + * debian/control: Bump debhelper build-dep, and standards version. + + -- Scott James Remnant Mon, 12 Jan 2009 16:59:47 +0000 + +udev (136-3) jaunty; urgency=low + + * debian/udev.links, debian/udev-udeb.links: Create a vol_id symlink in + /sbin since this is a generally useful binary to have around. This + was probably accidentally dropped in the -2 upload because they weren't + committed to bzr. + + -- Scott James Remnant Sat, 10 Jan 2009 18:18:53 +0000 + +udev (136-2) jaunty; urgency=low + + * debian/control: Set priorities of -dev packages to optional. + * debian/rules: Take arguments off calls to dh_makeshlibs and dh_shlibdeps, + otherwise the libudev0 shlibs goes a bit wrong. + + -- Scott James Remnant Wed, 07 Jan 2009 15:40:58 +0000 + +udev (136-1) jaunty; urgency=low + + One of the biggest changes in this release is that the default rules + are no longer conffiles and are now installed into /lib/udev/rules.d + + You may still add your custom rules to /etc/udev/rules.d and these + will be processed after the default ones, and can thus override + anything they do. + + To avoid side-effects of default rules (ie. running of programs), + create the file with the same name. + + * New upstream release: + - Changed to use autoconf + - Default rules moved to /lib/udev/rules.d + - udevadm symlinks removed. + - udevadm info output for --device-id-of-file changed. + - udevadm trigger has new --type option. + - libvolume_id soname change. + - libvolume_id now able to return multiple matches for a single block + device, or no matches if conflicting metadata found. + - libudev shared library introduced. + - by-id/scsi-* and by-id/ieee-* links both created by Firewire disks. + - Optical devices no longer probed for raid signatures. (LP: #283316). + - DEVTYPE=disk/partition no longer exported by default. + - pnp support removed now that we have MODALIAS support in kernel. + - Introduced /dev/block and /dev/char (see changelog for 124-6). + - Rule matching engine changed, limits such as 5 ENV and ATTR matches + and only one match for any other key are now gone. NAME assignment + is no longer special cased (subsequent assignments will now overwrite + unless := is used). + - Substantial memory footprint reduction work. + + * debian/patches/01-cdrom-vol_id-probing.patch: + - Dropped, included in upstream release. + * debian/patches/80-extras-dvb_device_name.patch: + - Dropped, no longer compiles and won't be needed from the next kernel + onwards. Since these aren't boot critical, just do it in shell. + * debian/patches/80-extras-firmware.patch: + - Dropped, no longer compiles anyway so we may as well just use the + upstream firmware.sh which also supports crazy PackageKit stuff + * debian/patches/80-extras-ide_media.patch: + - Dropped, the ide subsystem has had MODALIAS support since hardy using + the media type. + * debian/patches/80-extras-usb_device_name.patch: + - Dropped, we no longer need to support the legacy usb_device subsystem + since we've had the newer ENVTYPE=usb_device objects since hardy. + - Bump minimum kernel version to 2.6.24 for the initramfs. + * debian/patches/80-extras-vio_type.patch: + - Dropped, we don't even build these modules. + * debian/patches/80-extras-watershed.patch: + - Dropped, we do not used it in any udev rules shipped in this package; + it can be separated out into another source package if other things + still use it (which we should try to make them not). + + * Merged our rules with Upstream default rules, this results in a number + of minor changes but achieves consistency with other distributions: + * /dev/net/tun is now mode 666, the kernel documentation says this is safe + since you still need CAP_NET_ADMIN to create tunnels. + * /dev/srN are now the definitive names of SCSI CD-ROM devices, with + /dev/scdN as deprecated symlinks to them; this is the exact opposite of + how we had things before. + * /dev/nvram is now in the kmem group, the nvram group has been dropped. + * Removable disks have moved from the floppy group to the disk group, with + floppy now largely reserved for real old-fashioned floppy devices (and + the /dev/fd* devices are now all in floppy). LP: #260982. + * CD/BD-ROM devices should now consistently be in the cdrom group. + * Tape devices should now consistently be in the tape group. + * More video devices consistently in the video group. + * Printers on printer-specific ports now in the lp group, ppdev module + loaded when necessary. + * The scanner group has been dropped, it's become increasingly difficult + to determine what is and isn't a scanner; especially with multi-function + devices - access to scanners is better handled by ACL now. + * /dev/input devices no longer group writable + * /dev/tty devices are now group writable (wall/write enabled) + * /dev/rtc restored to root group. LP: #306458. + * Various changes to the way the dialout group is assigned, should lead + to more reliable device groups thus specific rules dropped. + LP: #264792. + * Support for infiniband, iowarrior, usbdpfp, sxctl, rioctl, bsg and + etherd devices. + + * Add LSB headers to init scripts. LP: #312324. + * Correct name of CD Aliases generator in postinst. LP: #250232. + * Fixed /usr/lib/libvolume_id.so symlink. LP: #232434. + * Dropped /dev/.static/dev. LP: #253786. + + -- Scott James Remnant Wed, 07 Jan 2009 14:01:19 +0000 + +udev (124-12) jaunty; urgency=low + + * Mount /dev/pts at the end of /lib/debian-installer/start-udev, as + Debian's corresponding script does so and bterm needs it (previously it + was silently falling back to legacy PTYs, which are no longer so readily + available and are undesirable anyway). + + -- Colin Watson Mon, 29 Dec 2008 20:22:33 +0000 + +udev (124-11) jaunty; urgency=low + + * Mount /dev as a tmpfs at the start of /lib/debian-installer/start-udev, + and create the console and null devices there. + /lib/debian-installer/init-udev-devices used to do this, but that no + longer exists (LP: #300426). + + -- Colin Watson Thu, 20 Nov 2008 21:44:22 +0000 + +udev (124-10) jaunty; urgency=low + + * Cherry-pick from Debian 0.125-6: + - Move in the udeb /lib/debian-installer-startup.d/S02udev to + /lib/debian-installer/start-udev because udev will now be started + before the busybox init. Patch by Jérémy Bobbio. (Closes: #493865) + + -- Colin Watson Tue, 04 Nov 2008 23:43:32 +0000 + +udev (124-9) intrepid-proposed; urgency=low + + * Add debian/patches/01-cdrom-vol_id-probing.patch: Do not run vol_id on + optical drives if there is no medium in the drive. Doing so open()'s the + drive without O_NONBLOCK which closes the tray. Patch backported from + upstream GIT (released in version 126). (LP: #283316) + + -- Martin Pitt Mon, 03 Nov 2008 19:02:15 +0100 + +udev (124-8) intrepid; urgency=low + + * debian/rules.d/60-symlinks.rules: + - Add /dev/rtc symlink pointing to the CMOS RTC if it exists (almost + always rtc0, but we match properly by driver). LP: #252924. + + -- Scott James Remnant Fri, 24 Oct 2008 10:45:31 +0100 + +udev (124-7) intrepid; urgency=low + + * debian/rules.d/65-id-type.rules: + - Ensure that ID_TYPE is set to "disk" for block devices that are + likely disks, or "cd" for those that are likely CDs. In some cases + this has been lost in favour of $DEVTYPE, but many things (including + our installer) haven't caught up. LP: #287807. + + -- Scott James Remnant Thu, 23 Oct 2008 02:09:43 +0100 + +udev (124-6) intrepid; urgency=low + + * Backport addition of /dev/{block,char}/maj:min symlinks from latest + udev rules; this mirrors the /sys/dev/{block,char}/maj:min symlinks + found in our current kernel. + + If you have a device node, stat() it to obtain type, major and minor + and readlink /sys/dev/{block,char}/maj:min to obtain the sysfs path + of that device. + + If you have a sysfs path, read the "dev" file to obtain major and minor + (it's char unless in the block subsystem), and then readlink + /dev/{block,char}/maj:min to obtain the device node. + + -- Scott James Remnant Tue, 07 Oct 2008 14:37:44 +0100 + +udev (124-5) intrepid; urgency=low + + * re-introduce the change of 124-3, but make sure it only ignores these + errors in a vserver environment. + + -- Reinhard Tartler Tue, 23 Sep 2008 22:52:00 +0200 + +udev (124-4) intrepid; urgency=low + + * Revert the previous upload. + + This would cause a failure to install the package correctly to be ignored, + and could result in ordinary systems not booting. + + -- Scott James Remnant Tue, 23 Sep 2008 13:16:34 -0700 + +udev (124-3) intrepid; urgency=low + + * debian/udev.postinst: + - don't fail to install/upgrade in a vserver environment by ignoring + errors of mknod. LP: #144685 + + -- Reinhard Tartler Mon, 08 Sep 2008 18:04:25 +0200 + +udev (124-2) intrepid; urgency=low + + * debian/udev.initramfs-hook: + - Remove mention of pnp_modules. LP: #248378. + + -- Scott James Remnant Mon, 14 Jul 2008 13:49:09 +0100 + +udev (124-1) intrepid; urgency=low + + * New upstream release: + - udevmonitor, udevtest, udevcontrol and udevtrigger symlinks removed + - abstract namespace socket paths should be prefixed with @ + - cdrom_id replaced by a better version + - scsi_id no longer depends on sysfs + - 05-udev-early.rules removed + + * Patches from git dropped due to upstream update. + * Dropped 50-vol_id-on-entire-disk.patch, as noted in the changelog, this + was a temporary measure and should be fixed by the kernel. + + * Drop pnp_modules now that recent kernels export module aliases for these + module groups. + + -- Scott James Remnant Mon, 14 Jul 2008 11:06:43 +0100 + +udev (117-8) hardy; urgency=low + + * Remove cruft from diff.gz that prevented build. + + -- Scott James Remnant Fri, 11 Apr 2008 13:05:56 +0100 + +udev (117-7) hardy; urgency=low + + * debian/patches/50-vol_id-on-entire-disk.patch: + - Run vol_id on the entire disk again. LP: #192794. + - The reason it was disabled upstream was to avoid the cases where + removable devices don't issue "change" events and stale information is + left. + - Since this behaviour would not be a regression from gutsy, and losing + support for LVM PVs on the entire disk is a definite regression (since + it's documented to do it that way in various places) we've reverted + the upstream disabling. + - After 2.6.25 (so hopefully 8.10), the kernel will issue "change" + events and always read all volumes; so this is a very temporary patch. + * Place scsi type 0 devices in the "disk" group". + + -- Scott James Remnant Fri, 11 Apr 2008 10:20:37 +0100 + +udev (117-6) hardy; urgency=low + + * Automatically add ADDR{type}=="1" to 70-persistent-net.rules rules + where we can or at least add a useful comment where the user has written + their own rule that's broken in the same way. LP: #183968. + * Automatically comment out rules from 70-persistent-net.rules that would + match any device. + + -- Scott James Remnant Thu, 10 Apr 2008 23:49:41 +0100 + +udev (117-5) hardy; urgency=low + + * Merge the "volumeid" package back into "udev", there is no particular + gain to it being a separate binary package and it prevents the upgrade + from dapper from migrating the fstab to UUID. LP: #209347. + + * debian/patches/00-git-bad-net-rules.patch: + - Upstream patch from 118 to avoid creating persistent net rules + which will match any device. + * debian/patches/01-git-squashfs-lzma.patch: + - Upstream patch from 118 to detect LZMA-compressed squashfs. + * debian/patches/02-git-squashfs-endian.patch: + - Upstream patch from 118 to detect endianness of LZMA squashfs. + * debian/patches/03-git-vol_id-timeout-once.patch: + - Upstream patch from 118 to only timeout once for unreadable devices. + LP: #156184. + * debian/patches/04-git-multiple-floppy-devices.patch: + - Upstream patch from 118 to fix create_floppy_devices for more than + one floppy device. Possibly LP: #132546. + * debian/patches/05-git-vol_id-probe_all-readable.patch: + - Upstream patch from 118 to check whether a device is readable before + probing. Also LP: #156184. + * debian/patches/00upstream-RUN-for-remove.patch: + - Rename to 06-git-run-for-remove.patch so its in series with other + git patches (this is from 119) + * debian/patches/07-git-unlock-write_net_rules.patch: + - Upstream patch from 119 to unlock rules after invalid match, correcting + a bug introduced by 00-git-bad-net-rules.patch + * debian/patches/08-git-vol_id-uuid-buffer.patch: + - Upstream patch from 119 to correct UUID raw buffer usage. + * debian/patches/09-git-update-ext.patch: + - Upstream patch from 119 to update ext filesystem detection. + * debian/patches/10-git-match-basename.patch: + - Upstream patch from 119 to add match on the basename of an interface + so we can deal with PS3 multiple interfaces with the same MAC. + * debian/patches/11-git-persistent-change.patch: + - Upstream patch from 119 to run persistent device rules on change + events. + * debian/patches/12-git-serialise-same-devno.patch: + - Upstream patch from git to serialise multiple events with the same + device number, fixes a race with serial ttys amongst other things. + + * 20-names.rules: + - Add missing quotes for infiniband rules. LP: #192552. + - Change "rdma_ucm" to "rdma_cm" (same bug). + * 40-permissions.rules, 40-basic-permissions.rules: + - Split out the most basic permissions into a separate file that can be + used in the installer and initramfs. LP: #204108. + - Add rules to place known USB serial devices that need libusb access + in the dialout group. LP: #198757. + * 65-persistent-storage.rules, 65-persistent-storage-tape.rules, + 65-persistent-input.rules, 66-persistent-storage-edd.rules: + - Use upstream rule names for all rules. Also LP: #186686. + - Add persistent-storage-edd.rules to installer and initramfs. + * 80-programs.rules: + - Pass $root/%k to create-floppy-devices, not $tempnode. LP: #132546. + + -- Scott James Remnant Wed, 02 Apr 2008 18:59:56 +0100 + +udev (117-4ubuntu2) hardy; urgency=low + + * The persistent-storage-edd rules need to be numerically + persistent-storage+1 (as they are in the original source). Changed from + 65 to 66. LP: #186686 + + -- Ben Collins Wed, 02 Apr 2008 11:28:22 -0400 + +udev (117-4ubuntu1) hardy; urgency=low + + * change the "Breaks: libdevmapper1.02" to a Conflict to help + the apt resolver calculating the upgrade (LP: #203756) + + -- Michael Vogt Wed, 19 Mar 2008 16:27:39 +0100 + +udev (117-4) hardy; urgency=low + + * Add debian/patches/00upstream-RUN-for-remove.patch: + - 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 + + -- Martin Pitt Thu, 07 Feb 2008 09:45:24 +0100 + +udev (117-3) hardy; urgency=low + + * Ship symlinks of old udevtrigger, udevsettle, udevinfo and udevmonitor + tools to udevadm in the udeb. Use of these should be replaced with + calls to udevadm itself as soon as possible. + + -- Scott James Remnant Thu, 20 Dec 2007 03:47:34 +0000 + +udev (117-2) hardy; urgency=low + + * Don't ship upstream udev rules. LP: #176537, #176546. + + -- Scott James Remnant Sat, 15 Dec 2007 15:05:57 +0000 + +udev (117-1) hardy; urgency=low + + * New upstream release: + - udev ancillary tools merged into a single udevadm binary. + - dynamic rules may be created in /dev/.udev/rules.d + - SYMLINK=="value" matches currently defined symlinks. + - RUN{ignore_error} will ignore errors from programs. + - vol_id recognises FAT partitions with 8192 sector size. LP: #147807. + + * debian/patches/10-git-linux_raid-1.0-metadata.patch: + - Dropped, included in new upstream version. + * debian/patches/80-extras-firmware.patch: + - Change to add a new extra helper rather than patch the existing one, + makes updating easier. + + * 00-init.rules: + - Rename to 05-udev-early.rules to match upstream + * 05-options.rules: + - Do not remove static devices + * 20-names.rules: + - Update to 2.6.24-style usb_device objects + * 40-permissions.rules: + - Update to 2.6.24-style usb_device objects + - Place SCSI type 4 devices into the cdrom group + * 65-persistent-storage-tape.rules: + - New upstream rules file for tape devices containing rules separated + out from 65-persistent-storage.rules + * 90-modprobe.rules: + - Fix strange syntax error introduced by mjg59 leaving a note in the + rule that wasn't in a comment. + * 99-udevmonitor.rules: + - Rename to 95-udev-late.rules to match upstream + - Run REMOVE_CMD environment if it exists. + + * debian/migrate-iftab.pl: + - Lowercase MAC addresses on migration. LP: #151786. + * debian/udev.init: + - Update all binaries to be calls to udevadm. + * debian/udev.initramfs-hook: + - Copy in udevadm rather than the symlinks to it. + - Update filenames of early rules file. + - Copy in late rules now we have udev monitor there. + * debian/udev.initramfs-nfs: + - Update all binaries to be calls to udevadm. + * debian/udev.initramfs-premount: + - Update all binaries to be calls to udevadm. + * debian/udev.installer-startup: + - Update all binaries to be calls to udevadm. + + -- Scott James Remnant Fri, 14 Dec 2007 12:15:30 +0000 + +udev (113-0ubuntu16) gutsy; urgency=low + + * Rename the finish init.d script to udev-finish, and move from S23 to + S37 so it runs after /var has actually been mounted. This would + otherwise cause a missing udev.log and non-generation of the persistent + rules. LP: #149319. + + -- Scott James Remnant Fri, 05 Oct 2007 16:21:58 +0100 + +udev (113-0ubuntu15) gutsy; urgency=low + + * Ship the UUID migration script as a separate executable, called by + volumeid's postinst; also ensure we don't call it when installing the + base system on the LiveCD (oops!) + * Migrate /etc/fstab settings to the new rules generator. LP: #125139. + + -- Scott James Remnant Wed, 03 Oct 2007 16:07:58 +0100 + +udev (113-0ubuntu14) gutsy; urgency=low + + * Fix volumeid.postinst. Missing ;; in a couple of places. + + -- Fabio M. Di Nitto Sat, 29 Sep 2007 05:57:45 +0200 + +udev (113-0ubuntu13) gutsy; urgency=low + + * don't do UUID conversion for /dev/mapper/*_crypt devices. Those are + created by partman-crypto, and are used by cryptsetup's cryptroot-hook. + Corresponds to change in partman-crypto and LP bug #144390. + + -- Reinhard Tartler Fri, 28 Sep 2007 18:25:40 +0200 + +udev (113-0ubuntu12) gutsy; urgency=low + + * If we're going to put udevmonitor in the udeb, we should include + 99-udevmonitor.rules otherwise we have a bit of a chocolate teapot. + + -- Scott James Remnant Thu, 27 Sep 2007 16:47:29 +0100 + +udev (113-0ubuntu11) gutsy; urgency=low + + * debian/patches/10-git-linux_raid-1.0-metadata.patch: + - Upstream patch to fix detection of linux_raid metadata v1.0 and + produce correct UUIDs for such raid devices. LP: #133773 + + * 20-names.rules: + - Place ucm[0-9]* and rdma_ucm into the infiniband dir. LP: #124990. + * 80-programs.rules: + - Fix calling of create_floppy_devices to just $tempnode not + $root/$tempnode, which is just plain wrong. LP: #132546. + + -- Scott James Remnant Mon, 24 Sep 2007 13:18:41 +0100 + +udev (113-0ubuntu10) gutsy; urgency=low + + * Add cdrom_id and corresponding rules to the udeb. LP: #143958. + + -- Colin Watson Sun, 23 Sep 2007 19:43:49 +0100 + +udev (113-0ubuntu9) gutsy; urgency=low + + * Make sure /lib/udev/write_net_rules is executable in the udeb. + + -- Colin Watson Tue, 18 Sep 2007 19:07:21 +0100 + +udev (113-0ubuntu8) gutsy; urgency=low + + * Clean up the tifm code, add support for memory stick + + -- Matthew Garrett Fri, 31 Aug 2007 23:14:26 +0100 + +udev (113-0ubuntu7) gutsy; urgency=low + + * Place the libvolume_id.so symlink in the libvolume-id-dev package, and + in /usr/lib. LP: #132536. + + -- Scott James Remnant Wed, 15 Aug 2007 16:09:00 +0100 + +udev (113-0ubuntu6) gutsy; urgency=low + + * Include a base-installer.d script to copy persistent rules to the target + system in d-i (in line with Debian udev 0.097-1 and Debian bug #433935). + + -- Colin Watson Fri, 20 Jul 2007 13:44:21 +0100 + +udev (113-0ubuntu5) gutsy; urgency=low + + * Reupload. + + -- Scott James Remnant Fri, 13 Jul 2007 14:12:12 +0100 + +udev (113-0ubuntu4) gutsy; urgency=low + + * Adjusted volumeid postinst; we now support mounting software RAID (md), + devmapper (dm) and LVM devices by UUID. + * s/KERNEl/KERNEL/ in 20-names.rules. LP: #125336. + + -- Scott James Remnant Fri, 13 Jul 2007 12:37:36 +0100 + +udev (113-0ubuntu3) gutsy; urgency=low + + * Minor fix s/$k/$tempnode/. + + -- Scott James Remnant Wed, 11 Jul 2007 16:48:45 +0100 + +udev (113-0ubuntu2) gutsy; urgency=low + + * Set group of nvram to nvram. LP: #108460. + * Move udevmonitor to /sbin. LP: #119091. + * Update shlibs of libvolumeid. LP: #121074. + * Added rules for infiniband nodes. LP: #124990. + * Don't seed the initial persistent rules, instead wait for the first + boot. LP: #123559. + + -- Scott James Remnant Tue, 10 Jul 2007 17:30:28 +0100 + +udev (113-0ubuntu1) gutsy; urgency=low + + * New upstream release: + - control characters in labels are hex-encoded rather than removed. + - existance of sysfs files can be tested with TEST + + * debian/patches/01-lib-udev.patch: + - Dropped, merged upstream. + * debian/patches/10-suppress-syslog.patch: + - Dropped, --verbose no longer sends messages to syslog so the additional + option is unneeded. + * debian/patches/40-no_replace.patch: + - Dropped, merged upstream and renamed to string_escape=none. + * debian/patches/50-result-whitespace.patch: + - Dropped, merged upstream. + * debian/patches/55-run-program.patch: + - Dropped, merged upstream. + * debian/patches/60-mknod-symlink-races.patch: + - Dropped, merged upstream and improved so that it can't end up in an + infinite loop; and symlinks will only replace a block device with the + correct major/minor. + * debian/patches/91-skip-whole-disk.patch: + - Dropped, merged upstream. + + * Rule updates: + - Place auer, cpad, dabusb, hiddev & legousbtower devices under /dev/usb. + - Move /dev/usblp* to /dev/usb/lp*, and retain compatibility symlink + (justification: devices.txt) + - Place raw I/O devices under /dev/raw. + - Set group of vcs devices to root. + - Use create_floppy_devices callout to make special floppy device nodes. + + -- Scott James Remnant Tue, 10 Jul 2007 13:35:43 +0100 + +udev (111-0ubuntu6) gutsy; urgency=low + + * debian/patches/80-extras-vio_type.patch: + - set logging_init to vio_type + - use sysfs_init/_cleanup to get sysfs_path + - add sparc vio support + - dont report errors if we can't read devspec on sparc + + * debian/rules.d/90-modprobe.rules: + - add support for sunvnet and sunvdc + + -- Fabio M. Di Nitto Wed, 04 Jul 2007 09:45:56 +0200 + +udev (111-0ubuntu5) gutsy; urgency=low + + * Add network device rule generation code to udev-udeb. + + -- Colin Watson Sun, 17 Jun 2007 11:10:20 +0100 + +udev (111-0ubuntu4) gutsy; urgency=low + + * adduser added as a dependency (LP: #118164) + + -- Nathan Handler Thu, 31 May 2007 19:04:49 -0500 + +udev (111-0ubuntu3) gutsy; urgency=low + + * 40-no_replace.patch: updated to include corresponding documentation + for the "OPTIONS" section of the udev manpage. + + -- Kees Cook Sun, 27 May 2007 10:54:52 -0700 + +udev (111-0ubuntu2) gutsy; urgency=low + + * Needs to be "cd /sys/class/net || return 0" not just "|| return" + + -- Scott James Remnant Wed, 23 May 2007 20:30:54 +0100 + +udev (111-0ubuntu1) gutsy; urgency=low + + * New upstream release: + - many bug fixes, + - ACTION!="add|change" now works as expected. + + * Enable the upstream rule_generator extra, and include the rules for both + CD aliases and network devices. These generate rules files for each new + piece of unique hardware discovered, giving a consistent name thereafter. + + ie. if you add a new network card, it is assigned the next eth* number, + and will have that number every single time you boot. Likewise a new + CD writer would get the next free cdrw* symlink, and keep that symlink + forever. + * Drop hard-coded cdrom/cdrw/dvd/dvdrw symlinks. + * Install additional udev.finish script at rcS.d/S23, so it runs after + mtab and updates the existing rules files. + + * 80-extras-iftab_helper.patch: Drop this patch since we're now using the + upstream persistent net rule generator rather than requiring users to + hand-maintain /etc/iftab. + * 70-rename-netif-increment.patch: Drop this patch, was an obscure iftab + feature that we're deprecating. + * 25-iftab.rules; Drop rules file that calls the iftab_helper. + + * 60-mknod-symlink-races.patch: New patch that repeats the call to mknod() + or symlink() as long as it fails because something already exists, and + we haven't failed to remove anything first. + + * 90-persistent-dm-md.patch: Drop this patch, instead we maintain persistent + symlinks for devmapper and mdadm devices in a separate rules file + shipped with those packages. + + * 40-permissions.rules: place mmc and pcmcia block devices in the plugdev + group, EPSON scsi devices in the scanner group and scsi media changer + devices in the tape group. + * 90-modprobe.rules: load the osst module for Onstream ADR* tape devices, + load the ch module for SCSI media changer devices. + + -- Scott James Remnant Wed, 23 May 2007 13:44:22 +0100 + +udev (108-0ubuntu4) feisty; urgency=low + + * Avoid SUBSYSTEMS!= since that doesn't actually appear to work, instead + use the start/end trick. LP: #75753. + + -- Scott James Remnant Tue, 10 Apr 2007 12:17:42 +0100 + +udev (108-0ubuntu3) feisty; urgency=low + + * 40-no_replace.patch: add "no_replace" to OPTIONS that applies for the + rule it appears in, preventing replacing of untrusted characters when + obtaining results from PROGRAM rules, and when setting NAME and + SYMLINK. LP: #92162. + * Create scanner and nvram groups in postinst if they don't already + exist. LP: #38203. + + -- Scott James Remnant Wed, 4 Apr 2007 10:23:44 +0100 + +udev (108-0ubuntu2) feisty; urgency=low + + * Add breaks on devmapper less than the current version, since the + rendezvousing will fail to work correctly without it. + * Update 90-extras-iftab_helper.patch to correct bug when called with a + network device with no associated hardware. LP: #74077. + + -- Scott James Remnant Tue, 3 Apr 2007 16:09:04 +0100 + +udev (108-0ubuntu1) feisty; urgency=low + + * New upstream release: + - many bug fixes, + - DRIVER== will now only match devices that have a real driver. + - SYMLINKs may now have per-device priorities specified with + OPTIONS="link_priority=100", removal of a device means that the symlink + will be changed to point at the device with the next highest priority. + - dasd_id removed from the tree + + * 10-suppress-syslog.patch: patch from Ian Jackson to add an option to + udevd to suppress the logging of messages with syslog. + * 80-extras-watershed.patch: take Ian's watershed utility that he added + directly to the upstream source, and split off into a proper patch of + its own. + * 90-persistent-dm-md.patch: create persistent storage links for devmapper + and mdadm devices, running these rules whenever a change event occurs + LP: #75681. + * 90-skip-whole-disk.patch: renumber to 91-skip-whole-disk.patch + + * Move the rule to name devmapper devices using dmsetup into the dmsetup + package, and from there to a correct 25-dmsetup.rules name. This + shouldn't have been mixed in with the persistent symlinks code. + + * Change the permission-applying rules to use ATTRS instead of ATTR. + LP: #75753. + * Move 50-cdrom_id.rules to 30-cdrom_id.rules. LP: #75753. + * Fixed /dev/pilot rule to use ATTRS instead of ATTR. LP: #89687. + + * Drop the rules that used grepmap to parse modules.ccwmap and + modules.inputmap, since these modules now use modules.alias + * Drop dependency on grepmap. + + * Decrease minimum kernel version to 2.6.17, after some testing we can + confirm that the rules we ship with work there. + + * Update the standard prep_/undo_/rm_/mv_/conffile functions to take + into account current dpkg behaviour wrt obsolete conffiles. The conffile + is now moved out of the way in preinst and the moved conffile either + deleted or moved into its new location in postinst; in postrm we move + the conffile back to its original name. + + This means that the conffile is not present with its original name when + dpkg configures the new versiom, so is not left in the conffile list as + obsolete. + * Purge backups of modified obsolete conffiles when the package is purged. + + -- Scott James Remnant Mon, 2 Apr 2007 18:31:47 +0100 + +udev (103-0ubuntu14) feisty; urgency=low + + * Ensure that tifm_sd is autoloaded on card insertion + + -- Matthew Garrett Sun, 25 Mar 2007 18:43:07 +0100 + +udev (103-0ubuntu13) feisty; urgency=low + + * Include firmware helper in the initramfs. + + -- Kyle McMartin Fri, 23 Feb 2007 22:45:18 -0500 + +udev (103-0ubuntu12) feisty; urgency=low + + * Tolerate failure of usplash_write, by adding ||: to the relevant + calls. This will prevent /etc/init.d/udev from failing to start udev + in the cases where usplash_write fails in an unexpected way (eg, as + evidenced in LP #83878, where libx86 was missing and ld.so caused + usplash_write to exit nonzero). + + -- Ian Jackson Thu, 8 Feb 2007 18:03:16 +0000 + +udev (103-0ubuntu11) feisty; urgency=low + + UdevDeviceMapper: + * Abolish rendezvous stuff which is full of deadlocks. + + -- Ian Jackson Wed, 7 Feb 2007 16:35:58 +0000 + +udev (103-0ubuntu10) feisty; urgency=low + + * Fix syntax of Breaks field against differently-rendezvousing + libdevmapper. + + -- Ian Jackson Wed, 7 Feb 2007 15:06:11 +0000 + +udev (103-0ubuntu9) feisty; urgency=low + + UdevDeviceMapper fixes: + * Lock and rendezvous is based on major/minor not name, + and rendezvous flag file is /lib/udev/.udev-device-mapper-rendezvous2. + * Rendezvous on all dm-* add and change events. + + -- Ian Jackson Wed, 7 Feb 2007 14:57:28 +0000 + +udev (103-0ubuntu8) feisty; urgency=low + + UdevMdadm and fixes for UdevLvm/UdevDeviceMapper: + * On dm* and md* devices, scan on change as well as add. + * If devmap_name should fail, suppress the dm-* names since those + break LILO (!) + * Include devmap_name in the initramfs. + + -- Ian Jackson Tue, 6 Feb 2007 22:06:19 +0000 + +udev (103-0ubuntu7) feisty; urgency=low + + UdevDeviceMapper: + * Process dm-* devices properly: we make the device nodes, using + dmsetup's devmap_name to tell us how. (If we don't have devmap_name + the libdevmapper is too old, and is making the devices itself.) + * Rendezvous with libdevmapper, and advertise with the flag file + /lib/udev/.udev-device-mapper-rendezvous that we do so. + * Include watershed, and /var/run, in the initramfs. + + -- Ian Jackson Tue, 6 Feb 2007 16:36:10 +0000 + +udev (103-0ubuntu6) feisty; urgency=low + + * New `watershed' utility, for use by UdevLvm et al. + + -- Ian Jackson Fri, 26 Jan 2007 17:00:38 +0000 + +udev (103-0ubuntu5) feisty; urgency=low + + * Don't issue uuid for whole disk partitions. + + -- Fabio M. Di Nitto Mon, 18 Dec 2006 11:10:05 -0800 + +udev (103-0ubuntu4) feisty; urgency=low + + * "pkill udevd" instead of "udev", otherwise we end up killing the + script we're running from, and don't move /dev into the real filesystem. + + -- Scott James Remnant Fri, 24 Nov 2006 09:08:05 +0000 + +udev (103-0ubuntu3) feisty; urgency=low + + * Use SUBSYSTEMS!="scsi" instead of SUBSYSTEM!="scsi_device" when deciding + which sd_* module to load. SCSI/SATA machines will boot again now. + + * Replace DRIVER with DRIVERS where found. + * Remove the local-top initramfs script entirely, this was only loading + ide-generic. For feisty we'll load pata_legacy for non-PCI IDE + controllers (which doesn't take over PCI interfaces) and provide an + option to force loading ata_generic for newer cards. + + -- Scott James Remnant Thu, 23 Nov 2006 14:53:17 +0000 + +udev (103-0ubuntu2) feisty; urgency=low + + * ide-generic seems to be broken, it's claiming devices and then not + actually making block devices. Disable for now, until I'm clear headed + enough to think about how to deal with this. + + -- Scott James Remnant Thu, 23 Nov 2006 12:44:33 +0000 + +udev (103-0ubuntu1) feisty; urgency=low + + * New upstream release: + - %e enumeration removed. + - MODALIAS key and substitution removed. + - Most keys renamed (see RELEASE-NOTES). + - Direct writing to sysfs attributes now supported. + + * Update patches: + - 40-udevtrigger-filters.patch: dropped, the spirit of this patch is + merged upstream and we don't need most of it anymore. + - 45-udevtrigger-sort.patch: dropped, merged upstream. + - 60-vol_id-swap.patch: dropped, merged upstream. + - 70-ifrename.patch: largely merged upstream, keep support for "eth*" + incrementing in 70-rename-netif-increment.patch. + + * Simplify the initramfs handling somewhat. We now just trigger + everything, and don't wait for things to settle; instead relying on the + loop in mountroot() which will do exactly the right thing, + * Use pkill instead of shell /proc iteration to kill udevd. Ubuntu #65711. + + * Drop most WAIT_FOR_SYSFS rules, increase kernel requirement to 2.6.19. + * Rework rules file to newer attributes and naming. Drop some symlinks + where they are not part of devices.txt and no other distribution + supplies them. + + * Rename libvolumeid0 and libvolumeid-dev to libvolume-id0 and + libvolume-id-dev to match Debian. + * Restore the "writing udev rules" documentation now that it's not wildly + inaccurate. + + -- Scott James Remnant Thu, 23 Nov 2006 10:51:23 +0000 + +udev (093-0ubuntu18) edgy; urgency=low + + * Abort fstab migration if we encounter duplicate UUIDs. Ubuntu: #64909. + + -- Scott James Remnant Mon, 16 Oct 2006 12:16:16 +0100 + +udev (093-0ubuntu17) edgy; urgency=low + + * Actually pass the device name to readlink when checking for LVM + symlinks to /dev/mapper. Ubuntu: #63626. + + -- Scott James Remnant Thu, 5 Oct 2006 10:31:09 +0100 + +udev (093-0ubuntu16) edgy; urgency=low + + * Don't convert software RAID (/dev/md[0-9]*) devices to UUID as there's + something nasty in that woodshed. Ubuntu: #62476. + + -- Scott James Remnant Tue, 26 Sep 2006 17:17:05 +0100 + +udev (093-0ubuntu15) edgy; urgency=low + + * Adding missing $ for $LINE in volumeid.postinst. Ubuntu: #59376 + * Sort the device list before triggering events. + + -- Scott James Remnant Thu, 14 Sep 2006 15:57:00 +0100 + +udev (093-0ubuntu14) edgy; urgency=low + + * Be gone foul devfs-emulation fiends from hell! + + -- Scott James Remnant Thu, 31 Aug 2006 16:09:09 +0100 + +udev (093-0ubuntu13) edgy; urgency=low + + * Make sure that net, pts and shm sub directories exist under + /lib/udev/devices in the package. Ubuntu: #57436. + + -- Scott James Remnant Wed, 23 Aug 2006 13:47:43 +0200 + +udev (093-0ubuntu12) edgy; urgency=low + + * Create /lib/udev/devices in udev.postinst so that the .deb can be + unpacked as non-root. + + -- Scott James Remnant Wed, 23 Aug 2006 09:31:05 +0200 + +udev (093-0ubuntu11) edgy; urgency=low + + * Correct a bug in the previous release, forgot "then" after "if...;" + * Move libvolume_id.so into /lib + + -- Scott James Remnant Mon, 21 Aug 2006 17:08:45 +0200 + +udev (093-0ubuntu10) edgy; urgency=low + + * Add missing Replaces for volumeid on libvolumeid0 for when the latter + contained the binary. (Ubuntu: #55003). + + * Don't transition LVM, evms and dev-mapper devices in /etc/fstab + (Ubuntu: #54002). + * Don't repeat a transition while /etc/fstab.pre-uuid exists. + (Ubuntu: #54231). + + * Create /dev/pilot symlinks for all Handspring devices. (Ubuntu: #57004). + + -- Scott James Remnant Mon, 21 Aug 2006 09:30:55 +0200 + +udev (093-0ubuntu9) edgy; urgency=low + + * Add support for uswsusp + + -- Matthew Garrett Thu, 10 Aug 2006 19:36:44 +0100 + +udev (093-0ubuntu8) edgy; urgency=low + + * Statically link the copy of vol_id in the udeb, accidentally disabled + while testing. + + -- Scott James Remnant Fri, 28 Jul 2006 00:05:10 +0100 + +udev (093-0ubuntu7) edgy; urgency=low + + * Change the libuuid1 dependency to a versioned dependency on e2fsprogs, + where the uuidgen binary has moved to. + * Move vol_id tool into its own binary package (volumeid) to allow for + SONAME transitions and multi-arch installation of libvolume_id0. + Move the UUID conversion in with it. + + -- Scott James Remnant Tue, 25 Jul 2006 13:56:03 +0100 + +udev (093-0ubuntu6) edgy; urgency=low + + * Keep a copy of the old /etc/fstab as /etc/fstab.pre-uuid. + * Fix fstab conversion not to dump out all shell variables on encountering + a blank line. Ubuntu: #53991. + * Fix IFS handling in fstab conversion to work if /bin/sh is bash. + + -- Colin Watson Tue, 25 Jul 2006 10:29:04 +0100 + +udev (093-0ubuntu5) edgy; urgency=low + + * On upgrade, convert the /etc/fstab on the system to use UUID= instead + of block device paths wherever possible. This makes the system far + more robust against hardware changes, including the impending + IDE-to-libata change. + * Add dependency on libuuid1, so we can call uuidgen during conversion + to add a UUID to an existing swap partition that was generated without + one. + + * Place vol_id in the libvolumeid0 package, and in /sbin, so that it + can be used by other tools without depending on all of udev. + * Include README that has a handy table of which filesystems support + what. + * debian/patches/60-vol_id-swap.patch: + - allow vol_id to return UUID or LABEL (with -u or -l) even if the + usage isn't usually a filesystem; e.g. swap devices with UUIDs + - detect a swap partition with a swsusp signature, and extract the + information for the underlying swap + + -- Scott James Remnant Mon, 24 Jul 2006 22:44:22 +0100 + +udev (093-0ubuntu4) edgy; urgency=low + + [Fabio M. Di Nitto] + * Call dh_makeshlibs now we ship a shared library (libvolumeid0). + + [Scott James Remnant] + * Group zaptel devices under /dev/zap. Ubuntu: #50676. + * Correct typo (= -> ==) in 40-permissions.rules. Ubuntu: #53431. + * Expand /dev/pilot rules to include all things beginning "Handspring Visor". + Ubuntu: #51760 + + -- Scott James Remnant Thu, 20 Jul 2006 16:50:48 +0100 + +udev (093-0ubuntu3) edgy; urgency=low + + * Install path_id, missed because it got moved into a sub-directory. + * Correct typo in storage_enum.sh that broke the installer (disc -> disk). + + * Restore to non-native source. + + -- Scott James Remnant Thu, 13 Jul 2006 18:15:12 +0100 + +udev (093-0ubuntu2) edgy; urgency=low + + * Correct typo in postinst (my_persistent_disk_rules -> + mv_persistent_disk_rules) + + -- Matt Zimmerman Thu, 15 Jun 2006 12:09:26 -0700 + +udev (093-0ubuntu1) edgy; urgency=low + + * New upstream release: + - libsysfs removed and replaced by simple helper functions + - Support /sys/class and /sys/block being symlinks into /sys/devices + - Programs no longer receive SUBSYSTEM as a parameter by default + - Rename persistent-disk.rules to persistent-storage.rules and support + tape devices. + - udevtrigger and udevsettle commands upstream that take on the job of + our own udevplug. + - Require that rules use "==" only for a match, and "=" for assignment. + + * Rule changes: + - Include a README in /etc/udev/rules.d + - Wait for the ioerr_cnt attribute of scsi devices to appear + - Video card devices now named /dev/dri/card* + - IEEE1394 video devices now named /dev/dv1394/* and /dev/video1394/* + - Epson SCSI Processors are probably scanners too, Ubuntu: #45412. + - Places devices from the zaptel subsystem in the dialout group. + - Create /dev/pilot symlink for Handspring Visors too. Ubuntu: #43279. + - Create persistent /dev/input/* symlinks for input devices. + + * 01-lib-udev.patch: + - Mostly merged upstream, patch just stops the /sbin/scsi_id symlink + from being created. + * 10-selinux-include-udev-h.patch: + - Merged upstream. + * 20-sparc-sorcvbuffforce.patch: + - Merged upstream. + * 40-udevplug.patch: + - Reworked to apply to udevtrigger and renamed to + 40-udevtrigger-filters.patch + * 75-format-run-rules-later.patch: + - Dropped, was upstream backport. + + * New libvolumeid0 package and libvolumeid-dev packages for developing + software that wishes to recognise volume information. + + -- Scott James Remnant Wed, 7 Jun 2006 13:58:13 +0100 + +udev (079-0ubuntu34) dapper; urgency=low + + * Don't write the empty string to /proc/sys/kernel/hotplug if it doesn't + exist (ie. the kernel wasn't compiled with CONFIG_HOTPLUG). We don't + use or need this for anything, we were just being tidy. + + -- Scott James Remnant Mon, 22 May 2006 11:07:09 +0100 + +udev (079-0ubuntu33) dapper; urgency=low + + * Only attempt to rename network interfaces that have an associated + driver, e.g. not bridges and vlans. + + -- Scott James Remnant Tue, 16 May 2006 17:24:50 +0100 + +udev (079-0ubuntu32) dapper; urgency=low + + * Add MINKVER="2.6.15" to our hook script, so mkinitramfs will refuse + to include our new udev in an old kernel's initramfs. Depend on a + new enough version of initramfs-tools so that this hack works. + + -- Adam Conrad Tue, 16 May 2006 21:13:21 +1000 + +udev (079-0ubuntu31) dapper; urgency=low + + * Add vbi symlink for v4l* application that otherwise will complain about + it and makes the X world more happy (including the maintainer that can + watch^Wtest TV): + - Update debian/60-symlinks.rules. + + -- Fabio M. Di Nitto Fri, 12 May 2006 12:22:07 +0200 + +udev (079-0ubuntu30) dapper; urgency=low + + * Drop the /etc/iftab fixing code, there are just too many little problems + with doing this. If after a breezy->dapper upgrade your network devices + are incorrectly named, fix /etc/iftab manually. We'll work on a better + solution later. + + -- Scott James Remnant Mon, 8 May 2006 14:17:26 +0100 + +udev (079-0ubuntu29) dapper; urgency=low + + * Add the address of any UP interface to /etc/iftab if not already + present to ensure they don't change names either. + + -- Scott James Remnant Fri, 5 May 2006 18:08:22 +0100 + +udev (079-0ubuntu28) dapper; urgency=low + + * Ignore device-mapper devices and let LVM take care of creating them. + + -- Scott James Remnant Fri, 28 Apr 2006 15:42:37 +0100 + +udev (079-0ubuntu27) dapper; urgency=low + + * Improve the iftab helper somewhat: + - add support for driver, bus and businfo selectors + - add support for any sysfs attribute with a SYSFS{...} selector + * On package upgrade fix any /etc/iftab entries that appear to be incorrect, + this is a rather simple fix but should work for the majority of people. + + -- Scott James Remnant Mon, 24 Apr 2006 15:48:04 +0100 + +udev (079-0ubuntu26) dapper; urgency=low + + * Add missing conflicts on ifrename; all of the work done by that tool + is now performed by udev itself. + + -- Scott James Remnant Wed, 19 Apr 2006 09:26:50 +0100 + +udev (079-0ubuntu25) dapper; urgency=low + + * Rework Andrey Borzenkov's patches applied to upstream udev into + 75-format-run-rules-later.patch; this causes any formatting added to + RUN rules to be applied after the NAME has been changed, and fixes + Ubuntu: #38787. + + -- Scott James Remnant Tue, 18 Apr 2006 08:47:14 +0100 + +udev (079-0ubuntu24) dapper; urgency=low + + * Fixed typo (PREREQS -> PREREQ) in initramfs hook, purely cosmetic + and didn't cause any problems. Ubuntu: #36962. + * Provide /dev/video and /dev/radio symlinks for compatibility with + older software. Ubuntu: #36860 + - as with all /dev symlinks, there's no guarantee which device they'll + point to if you have multiple devices. This is not considered a bug, + software should be modified to use HAL and present a list of available + devices rather than rely on symlinks. + * Changed udevplug to write "add" to the uevent file, instead of a silly + string; future kernel versions may support multiple commands. + + -- Scott James Remnant Mon, 3 Apr 2006 16:23:37 +0100 + +udev (079-0ubuntu23) dapper; urgency=low + + * Install udev.initramfs-local into casper-premount so we get to see CD + drives, etc on the live CD. + + -- Tollef Fog Heen Mon, 27 Mar 2006 20:44:32 +0200 + +udev (079-0ubuntu22) dapper; urgency=low + + "He takes his food with a horrid zest, + he eats one half and he wears the rest!" + + * Split the initramfs script out even more, instead of a case statement + in init-premount move the module loading to local-top and nfs-top. + This fixes the long-standing bug where changing boot= on the kernel + command line has no effect. + * Drop the "|| true"s from usplash_write calls, infinity says they're + unnecessary. + * Actually load modules for intelligent devices like we say we do in the + comments. + + -- Scott James Remnant Thu, 23 Mar 2006 17:44:13 +0000 + +udev (079-0ubuntu21) dapper; urgency=low + + * Split the loop-and-wait part of the initramfs script out; it'll + go in the initramfs local script itself. Ubuntu: #36010 + + -- Scott James Remnant Wed, 22 Mar 2006 15:33:12 +0000 + +udev (079-0ubuntu20) dapper; urgency=low + + "I'm just the fastest thing you'll ever see. + That streak of lightning you just missed was me." + + * Load ide-generic in all cases after loading PCI storage controller + drivers. This reduces the complexity of the root filesystem mounting + to just a single path for both IDE and everything else and opens up to + using a UUID for everything. + * Set a global usplash timeout for the entire initramfs script. + Ubuntu: #35104. + + -- Scott James Remnant Tue, 21 Mar 2006 19:47:49 +0000 + +udev (079-0ubuntu19) dapper; urgency=low + + "For I am ordinary, unimportant, and undeserving of such attention." + + * Place joysticks in the "plugdev" group, for programs that access the + joystick device directly and not through X. Ubuntu: #33354. + * The storage device enumerator used by the installer was a bit too + efficient; it would generate new symlink names every time an add event + for a device was received. The installer causes many add events to occur, + each time hw-detect and the partitioner is run. Fix the script to + return an existing symlink name if one exists in the udevdb. + Ubuntu: #27926. + * Fix iftab_helper segmentation fault when /etc/iftab doesn't exist, + caused by returning NULL rather than the suggested name; now returns + whatever name the kernel gave. Ubuntu: #34078. + + -- Scott James Remnant Wed, 15 Mar 2006 18:28:39 +0000 + +udev (079-0ubuntu18) dapper; urgency=low + + "Just a little change; Small, to say the least; + Both a little scared; Neither one prepared." + + * Fix ide_media helper to construct IDE device names above 'hdf' + properly. Ubuntu: #32679. + * Hard-code the location of usplash_write and call directly, as + we don't have "type" in busybox. This corrects usplash timing out + early while waiting for SCSI root filesystem to show up. Ubuntu: #28357. + * Set the all_partitions options for removable IOMEGA_ZIP* devices. + Ubuntu: #27752. + + -- Scott James Remnant Thu, 2 Mar 2006 13:36:49 +0100 + +udev (079-0ubuntu17) dapper; urgency=low + + "The greatest thing you'll ever learn, is just to be loved, and be loved + in return." + + * Fix build failure caused by accidental double-inclusion of the + SORECVBUFFORCE patch. + + * As the ifrename patch generally seems to be working, drop the "_clashed" + moniker and instead just use the next free interface number available to + us. So instead of eth0_clashed, you'll see e.g. eth2 now. If you wanted + it as eth0, you need to change your /etc/iftab file. + + -- Scott James Remnant Wed, 1 Mar 2006 13:06:47 +0100 + +udev (079-0ubuntu16) dapper; urgency=low + + "You better shape up, 'cause I need a man, and my heart is set on you." + + * Define the SORECVBUFFORCE socket option correctly on Sparc (and other + ancient platforms). + + -- Scott James Remnant Wed, 1 Mar 2006 11:23:41 +0100 + +udev (079-0ubuntu15) dapper; urgency=low + + "Rembrandts! El Grecos! Toulouse-Letrec-os! + Painted last week on the banks of the Thames!" + + * We also need to "catch up" events of the scsi_device, usb_device and + usb_host classes just in case the user compiled things into their kernel + or put their SATA driver into /etc/mkinitramfs/modules (yes, you, + crispin). + + -- Scott James Remnant Mon, 27 Feb 2006 14:05:25 +0100 + +udev (079-0ubuntu14) dapper; urgency=low + + "With tuppence for paper and strings, you can have your own set of wings." + + * Log the results of performing the udevplug to /dev/.udev.log by using + udevmonitor. This log file will be moved to /var/log/udev later in the + boot sequence. Note that this won't work if /usr is on a separate + filesystem because of the location of udevmonitor, but that's a small + loss. + + -- Scott James Remnant Tue, 21 Feb 2006 16:22:33 +0000 + +udev (079-0ubuntu13) dapper; urgency=low + + "But when I'm way up here, it's crystal clear; + That now i'm in a whole new world." + + * Remove the blanket loading of ide-generic after any IDE device, by + this time they should have been claimed by a driver already. I kept + this around for historical reasons, but it breaks people with multiple + IDE controllers in their machine (hi, Fabio!). If this causes new bugs, + it can go back in. + + -- Scott James Remnant Mon, 20 Feb 2006 11:01:23 +0000 + +udev (079-0ubuntu12) dapper; urgency=low + + "Should we blame the government? Or blame society? + Or should we blame the images on TV? No, Blame Canada!" + + * Drink coffee. + * Read 80-extras-iftab_helper.patch again. + * Stare in disbelief. + * Drink more coffee. + * Add "&& !found" to the "rename to clashed" if condition. + * Close bug #31188. + * Hide in shame. + + -- Scott James Remnant Tue, 14 Feb 2006 11:28:17 +0000 + +udev (079-0ubuntu11) dapper; urgency=low + + "How do you document real life when real life's getting more like + fiction each day? + + * More updates to ifrename support: + - iftab_helper now supports the common "mac" selector, used to + distinguish different interfaces created by the same driver. + + -- Scott James Remnant Mon, 13 Feb 2006 21:19:19 +0000 + +udev (079-0ubuntu10) dapper; urgency=low + + "Near, far, in our motor car; Oh what a happy time we'll spend." + + * Fixes to a couple of think-os in the previous ifrename patch: + - after renaming to the temporary interface name, make sure we copy + that into ifr_name otherwise we'll be trying to rename the interface + we've just renamed. Ubuntu #31040. + - use "OLDNAME_ifrename" as the temporary name rather than "__NEWNAME" + to avoid clashes and just generally make it more obvious. + - use "NAME_clashed" as the iftab clash name rather than "_NAME" to make + it more obvious + - don't write an initial /etc/iftab on install or upgrade; leave it to + the installer. + + -- Scott James Remnant Fri, 10 Feb 2006 14:37:02 +0000 + +udev (079-0ubuntu9) dapper; urgency=low + + "Dancing freaks and sycophants, Westwood heels and shoulder pads." + + * Rework the initramfs premount script a little to try and make the root + filesystem order a little more predictable. In particular make sure we + don't load USB/firewire/etc. drivers until we've loaded IDE and SCSI + drivers otherwise sda could be won by a fast USB key over your SATA + root filesystem. Ubuntu #28150, #30418. + + * Include support for renaming of network interfaces. This is done with + a new iftab_helper that can parse a subset of the ifrename /etc/iftab + file and return the expected name of the network interface. This is + called from a udev rule that uses the internal support for network + interface renaming. Interface swapping is supported both by renaming + network interfaces that would clash with one specified in the file and + by waiting for an interface name to become free in udev itself. + Ubuntu: #7050, #30240. + + -- Scott James Remnant Thu, 9 Feb 2006 22:04:10 +0000 + +udev (079-0ubuntu8) dapper; urgency=low + + "Forget about your algebra and calculus, You can always do your homework + on the morning bus." + + * Change the udev message to "Loading hardware drivers" to stop people + thinking this does any kind of hardware detection, which it doesn't. + + -- Scott James Remnant Tue, 7 Feb 2006 11:12:09 +0000 + +udev (079-0ubuntu7) dapper; urgency=low + + "And someday when you're old and bent, Think of those you might have spent, + With a bad, bad man!" + + * Include 65-persistent-disk.rules and helpers in the udeb so the + installer can use /dev/disk/by-*. + + -- Scott James Remnant Sat, 4 Feb 2006 11:32:54 +0000 + +udev (079-0ubuntu6) dapper; urgency=low + + "Some little token of esteem is needed, like a dish of cream." + + * Don't check whether a device is claimed by an already loaded driver, + while clever and theoretically time-saving it turns out that various + forms of devices can be claimed by multiple drivers + Ubuntu #28654, #30377. + * Load mmc_block when an mmc device is inserted; will improve once + we get a way to determine exactly which mmc sub-module we need, but + this will give us out-of-the-box SD/MMC card support for now. + * Also load i2o_block for all i2o devices, again this is a temporary + workaround for a bad kernel subsystem. + + -- Scott James Remnant Fri, 3 Feb 2006 17:50:19 +0000 + +udev (079-0ubuntu5) dapper; urgency=low + + "We was full of hope, until I got addicted to crack and dope!" + + * Switch back to using "cp -a -f" in the init script and installer + startup; that works fine with busybox and with our patched coreutils. + + -- Scott James Remnant Thu, 2 Feb 2006 09:52:00 +0000 + +udev (079-0ubuntu4) dapper; urgency=low + + "May I return to the beginning? The light is dimming, and the dream is too" + + * Remove the /dev/.udev/queue directory at the bottom of the initramfs + just in case we killed udevd while it was in the middle of something. + + -- Scott James Remnant Sat, 28 Jan 2006 16:08:08 +0000 + +udev (079-0ubuntu3) dapper; urgency=low + + "There's gonna be a quiz at your ascension, not to mention any + threat of hell." + + * Wait time for SCSI devices should be 30 seconds, not 3 seconds. + Accidentally broken while fixing usplash timeouts. + + -- Scott James Remnant Tue, 10 Jan 2006 10:54:42 +0000 + +udev (079-0ubuntu2) dapper; urgency=low + + "I'm brushing up on looking down." + + * Probe for PCI, ISA, PCMCIA, etc. brides, USB and Firewire controllers + and docking stations during initramfs, to support more distant root disks. + * Also probe for input devices so when it all goes wrong, you can use that + USB keyboard to fix it. + + * Build the udeb separately without SELinux support, as that's not + required during the installer. + * Don't allow usplash to timeout while we run udevplug in the init script + or while we wait for SCSI devices to get out of bed. + + -- Scott James Remnant Fri, 6 Jan 2006 10:10:01 +0000 + +udev (079-0ubuntu1) dapper; urgency=low + + "You know, some guys just can't hold their arsenic." + + * New upstream release: + - %e (enumerate) in rules has been deprecated. + - event environment now lists symlinks to device in DEVLINKS variable + - device-mapper support for persistent disk rules + * Dropped 10-udev-conf.patch, now included upstream. + * Dropped 02-no-sepol.patch, as we now depend on that. + * Added 10-selinux-include-udev-h.patch to fix build failure with selinux. + * Increased versioned dependency on libselinux1-dev to that which includes + matchpathcon_init_prefix. + + * Fixed dvb device naming to create correct format names, bugs in both + udev rules to match the device and program to generate the right names. + Ubuntu #20874. + * Fixed a bug in udevplug that caused it to wait for an event to complete + that it never tickled. Ubuntu #20943. + * Included firmware loading in the udeb so network cards needing firmware + will work in the installer. Ubuntu #20993 + * Plug devices in serial during the initramfs, provides a little more + predictability of device names of the root filesystem. + + * Rule changes: + - wait for the address attribute of network devices to appear in sysfs + before processing. + Rationale: solves race not yet fixed in kernel. + - dropped %e from symlink rules; this means you will only have one + /dev/cdrom symlink no matter how many devices you have - and it isn't + necessarily predictable which one it is. Software should use HAL or + similar to present "human names" for devices, and sysadmins should + use the /dev/disk/* names. + Rationale: upstream. + - /etc/udev/rules.d/65-persistent.rules renamed to 65-persistent-disk.rules + Rationale: upstream. + - place /dev/nvram in the nvram group. + Rationale: Ubuntu #21571 and breezy. + - load sg module for all SCSI devices. + Rationale: Ubuntu #12434, SuSE rules. + - place SCSI processors (SYSFS{type}==3) from HP in the scanner group. + Rationale: Ubuntu #12434. + - change permissions of removable devices (floppies, usb, ieee1394, etc.) + to 0660 (the default) instead of overriding it down to 0640. + Rationale: allows formatting of the media, and the groups are intended + to imply physical access anyway. + + -- Scott James Remnant Wed, 4 Jan 2006 07:58:45 +0000 + +udev (077-0ubuntu5) dapper; urgency=low + + "And if you're lucky, then the god's a she." + + * Spell firewire correctly (with the extra e). + * Spell midi correctly. + * Remove strange "0" floating in the IDE device permissions rules. + * Explicitly state cdrom modes as 0660 in case they've been dropped to + 0640 because they're removable. + + -- Scott James Remnant Mon, 12 Dec 2005 13:05:53 +0000 + +udev (077-0ubuntu4) dapper; urgency=low + + "Looks like you're not happy 'less I open a vein." + + * Drop -x from initramfs premount script, was there for debugging while + it was new and shiny. + * Include the general functions in the initramfs script, so we get + log_begin_msg/log_end_msg, which we use to notify that we're hanging + around for a while. + + -- Scott James Remnant Thu, 8 Dec 2005 02:19:11 +0000 + +udev (077-0ubuntu3) dapper; urgency=low + + "Watch out, Europe ... We're going on tour!" + + * Include udevinfo and udevmonitor in the udeb for installer debugging. + * Rework the initramfs premount script. Instead of trying to do the same + steps for everything, take different paths depending on the values of + $BOOT and $ROOT. + - BOOT=nfs means we only load network card drivers. + - BOOT=local means we look at ROOT, if it's an ide device we might need + to load ide-generic if probing the bus doesn't create it; if it's a + scsi or sata device we might need to wait around for a bit for the + device to appear + * Load ide-generic if not already loaded when an ide device is detected. + + * Rule changes: + - Change group of USB and IEEE1394 block devices to plugdev and change + permissions to 0640. + Rationale: pmount/g-v-m/hal needs them in this group to work. + + -- Scott James Remnant Wed, 7 Dec 2005 18:15:21 +0000 + +udev (077-0ubuntu2) dapper; urgency=low + + "I'm so hot, hot to trot; I can hardly wait to show them what I got." + + * Turns out busybox doesn't have "cp -au", go back to "-af". + + -- Scott James Remnant Tue, 6 Dec 2005 20:36:25 +0000 + +udev (077-0ubuntu1) dapper; urgency=low + + "I think dynamic tension must be awfully hard work" + + * New upstream release: + - no longer marks an event as failed when ignore_device is used + - skipping of events with SEQNUM moved to udevsend + - automatically prefix relative program paths with /lib/udev + + * Copy devices from /lib/udev/devices using plain-old cp, rather than + find and cpio; find is in /usr. + * Update installer startup script to use "cp -au" like the init script, + instead of "cp -af". + * Add /lib/udev/devices/kmem as there's no sysfs node for it yet. + * Mount udev with mode 0755 in cases of no initramfs. + * Explain to debhelper that we like the /lib/udev/devices permissions the + way they are. + + * Rule changes: + - Rename /dev/sr* to /dev/scd*, providing old name as symlink. + Rationale: LANANA. Ubuntu #20312. + - Rename USB printers to /dev/usblp*. + Rationale: expectation in cupsys source, avoids conflict with lp. + - Rename device-mapper targets to /dev/dm/*. + Rationale: names we used in breezy. + - Change /dev/pilot symlink to be enumerated. + Rationale: some people have multiple Palm Pilots (yes, really). + - Add /dev/input/aiptektablet enumerated symlink to event device. + Rationale: used in xorg.conf. Ubuntu #18358. + - Add permissions and symlinks for ltmodem /dev/ttyLTM* devices. + Rationale: included in linux-restricted-modules. + - Add enumerated /dev/cdrw, /dev/dvd and /dev/dvdrw symlinks. + Rationale: appeared in breezy. + - Left /dev/urandom permissions as 0666, despite being 0444 in breezy. + Rationale: same write function as /dev/random. Debian #332970. + + * Drop has_driver helper, instead just check ENV{PHYSDEVDRIVER}. + * Directly use the upstream persisent rules, so we keep up with changes + without having to copy them into the debian/rules.d directory. + * Remove /lib/udev/ prefix from all program rules, and let udevd add it. + + * Replace devfs rules with a simple helper that atomically enumerates + storage devices and allows us to produce the devfs-style /dev/discs, + /dev/cdroms and /dev/floppy directories that the installer still uses. + + -- Scott James Remnant Tue, 6 Dec 2005 14:26:09 +0000 + +udev (076-0ubuntu5) dapper; urgency=low + + "I played Norway, my fjords were stunning!" + + * Load modules for all storage controllers in initramfs, not just IDE + and SCSI; some SATA controllers identify themselves as RAID. + * Load modules for network controllers in initramfs. + * Call modprobe super-quiet and with blacklist support when loading + ide-generic. + + * Add -b (block devices) and -c (class devices) options to udevplug that + follow the right numbers of symlinks. + * Add -v (verbose) to udevplug for easier debugging. + * Dereference /sys symlinks given to udevplug directly. + + * Added debian/patches/55-run-program.patch which stops udevd declaring + that the sky is falling just because a program can't be found, it'll + output a warning (normally muted) and can be replayed later with + udevplug -F + + * Fix pnp_modules which was generating device aliases, instead of device + ids that we can pass to modprobe. + + * Fix a few bugs in the init script that prevented udev from being started + on systems without initramfs, or after it was stopped. + * Include null in /lib/udev/devices by default. + * Simplify the udev.installer-startup script, the installer itself will + take care of much of the heavy mountpoint lifting. + * Include udev.conf in the udeb. + + -- Scott James Remnant Thu, 1 Dec 2005 11:38:34 +0000 + +udev (076-0ubuntu4) dapper; urgency=low + + * Allow udevplug to follow symlinks in various circumstances, such as + when enumerating a bus or class heirarchy (mostly future compatibility, + but useful today). + * Correct a silly error in the udevplug manpage. + * Use -Cmem -Cmisc -Ctty -Cvc in initramfs script to ensure we follow + symlinks properly. + * Depend on the version of module-init-tools that actually supports + modprobe -Q. + * Guard notify-reboot-required call for minimal systems. + * Fix uninitialised variable in vio_type. + + -- Scott James Remnant Thu, 1 Dec 2005 01:06:49 +0000 + +udev (076-0ubuntu3) dapper; urgency=low + + * Add debian/patches/01-no-sepol.patch to avoid inclusion of libsepol1 + in main, it doesn't appear to be used. + + -- Scott James Remnant Wed, 30 Nov 2005 20:18:54 +0000 + +udev (076-0ubuntu2) dapper; urgency=low + + "Robin Hood, what a crook; gave away, what he took" + + * Recurse the /sys tree directly it udevplug rather than trying to use + libsysfs to encapsulate it; it just doesn't really work (why /dev/tty + didn't get updated permissions). + * Include the modprobe rules in the udeb. + + -- Scott James Remnant Wed, 30 Nov 2005 19:25:14 +0000 + +udev (076-0ubuntu1) dapper; urgency=low + + "There's nothing we can't face ... except for bunnies!" + + * New upstream release: + - udev daemon is now run on startup, rather than first event + - events are received exclusively over the netlink socket, you should + leave /proc/sys/kernel/hotplug empty from now on. + - events with a TIMEOUT are now processed immediately + - disks can now be accessed through /dev/disk/by-label/ and + /dev/disk/by-uuid/ if you know what disk you're looking for, but not + what kernel-assigned name it has. + - device nodes with default name and no symlink are no longer stored in + the udevdb. + - the "udev_db" option has been removed, and the udevdb moved to + /dev/.udev/db + - when there are queued events, /dev/.udev/queue will exist and contain + symlinks to the appropriate /sys paths for each event + - exit status of programs called by RUN rules is now tracked + - if an event fails, /dev/.udev/failed will exist and contain symlinks + to the appropriate /sys paths; this can be used to replay failed events + later + - rules with NAME="" will cause no device node to be created, but RUN + keys will still be run. Use OPTION "ignore_device" to completely + ignore an event. + - added WAIT_FOR_SYSFS="" key to rule syntax, all built-in + logic to work around timing has been removed and instead this rule + should be used where necessary + - syntax to test for existance of environment variable changed from + ENV{KEY}=="*" to ENV{KEY}=="?*" + - communication with daemons such as hal can now be done using sockets, + use RUN+="socket:/org/freedesktop/hal/udev_event" + + * Repackaged for Ubuntu, we have sufficiently far digressed from Debian, + especially in dealing with users trying to break their system, that + it makes sense to just maintain our own package now. Ironically this + makes it easier to send patches back as we don't have to strip out the + "back out stuff" hunks first. + * Completely replaces the functionality of the hotplug package, which will + be removed by installing this. If you had custom /etc/hotplug.d or + /etc/dev.d scripts, you will need to update those to be called by a udev + rule in /etc/udev/rules.d/8?-*.rules + * Depends on grepmap directly for the last remaining subsystems that don't + produce MODALIAS variables, rather than indirectly using the old hotplug + agents. + * Provides its own initramfs-tools hook and scripts, replacing the /dev + functionality that used to be built into it. + + * The plain udev binary and udevstart are no longer shipped; all events are + received over the netlink socket by udevd and processed internally. The + general functionality of udevstart has been replaced by udevplug. + * /etc/udev/links.conf is gone and instead replaced by the /lib/udev/devices + directory. If you need any extra device nodes, symlinks or placed in + /dev on boot just place them here; they're copied over when the system + starts. + * The udev_root and udev_rules config options have been removed, if you + really want to change these, you can; but beware that you'll need to + change a lot of other things too -- they were just too difficult to + reliably support when combined with initramfs. + * All scripts removed from /etc/udev/scripts, instead replacements (often + binaries for speed) are shipped in /lib/udev; you can replace them by + adding your own and adjusting the rules. + + * All rules are now placed directly in /etc/udev/rules.d, rather than + symlinking them in. + * All of the default rules have been replaced with new rules; if you had + modified the old ones they will be disabled but left in /etc/udev for + you (with a .dpkg-bak name). You'll need to update your rules for the + new system, and place them in a new /etc/udev/rules.d/50-*.rules file. + + -- Scott James Remnant Tue, 22 Nov 2005 08:29:24 +0000 + +udev (0.060-1ubuntu15) breezy; urgency=low + + * The kernel's input subsystem still hasn't been updated to use the new + driver core and is still running /proc/sys/kernel/hotplug (udevsend) + itself with a hand-constructed environment, rather than attaching data + to the sysfs event. + + These hand-constructed events are missing the DEVPATH= variable which + udev requires before processing its rules. + + Added debian/patches/hotplug_input_events which instead of ignoring these + events catches those from the input subsystem and processes them by + running /sbin/udev_run_hotplugd; effectively passing all responsibility + to the old hotplug input.agent which still can deal with them. + + In the long-term, the kernel will be updated to use the driver core + (there are patches starting to be floated now) and attach its + information to the sysfs event, so this hack can go when that happens. + + -- Scott James Remnant Fri, 23 Sep 2005 23:31:23 +0100 + +udev (0.060-1ubuntu14) breezy; urgency=low + + * Well, that didn't work so well now, did it folks? + + Looks like good old Mr Kernel is _only_ sending some events down the + netlink socket, and we really don't want to be ignoring them. + + Revert the ubuntu13 change, and instead start udevd manually at + S04udev. This isn't as much of a hack as it first appears, because + once /proc/sys/kernel/hotplug goes away we'll need to do this anyway. + + -- Scott James Remnant Wed, 21 Sep 2005 12:40:40 +0100 + +udev (0.060-1ubuntu13) breezy; urgency=low + + * Disable receipt of hotplug events via the netlink socket, there are + race conditions at early boot time where we can end up ignoring + udevsend events for netlink events we've already missed. This + particularly affected /dev/input/mice. (Ubuntu #12915). + + -- Scott James Remnant Wed, 21 Sep 2005 03:45:49 +0100 + +udev (0.060-1ubuntu12) breezy; urgency=low + + * extra/permissions.rules: Reorder change from previous version so that + CD-ROMs keep cdrom/0660 instead of plugdev/0640. (Ubuntu #15098) + + -- Martin Pitt Mon, 12 Sep 2005 10:12:54 +0200 + +udev (0.060-1ubuntu11) breezy; urgency=low + + * extra/permissions.rules: Assign group plugdev to removable IDE drives to + make CF card readers and the like work. (Ubuntu #14495) + + -- Martin Pitt Fri, 9 Sep 2005 15:45:26 +0200 + +udev (0.060-1ubuntu10) breezy; urgency=low + + * debian/udev.init: Cope with a /dev tmpfs already being present. + (Ubuntu #14226) + Always make sure $udev_root/.udevdb is around + (Ubuntu #12915) + + -- Jeff Bailey Mon, 29 Aug 2005 22:43:55 -0400 + +udev (0.060-1ubuntu9) breezy; urgency=low + + * debian/udev.init: Fix links.conf path check. (Ubuntu #14281) + + -- Martin Pitt Mon, 29 Aug 2005 09:39:49 +0200 + +udev (0.060-1ubuntu8) breezy; urgency=low + + * extra/permissions.rules: When calling removable.sh, additionally scan usb + and ieee1394 buses since sometimes the kernel does not regard those as + removable. (Ubuntu #14063) + * extra/removable.sh: Remove the quoting in the 'for bus in "$SCAN_BUS"' + loop to make the loop actually work. + + -- Martin Pitt Thu, 25 Aug 2005 14:38:08 +0200 + +udev (0.060-1ubuntu7) breezy; urgency=low + + * Fix typo in udev.rules that prevented the /dev/pilot symlink from + appearing. + + -- Scott James Remnant Thu, 25 Aug 2005 01:08:59 +0100 + +udev (0.060-1ubuntu6) breezy; urgency=low + + * debian/rules: Ship /etc/udev/scripts/removable.sh again, the absence of + this broke automounting on half the machines out there. (Ubuntu #13520) + + -- Martin Pitt Tue, 16 Aug 2005 22:49:26 +0200 + +udev (0.060-1ubuntu5) breezy; urgency=low + + * Add compatibility /dev/js[0-9]* symlinks for old software that + don't yet look for /dev/input/js[0-9]*. + + -- Scott James Remnant Mon, 15 Aug 2005 17:41:43 +0100 + +udev (0.060-1ubuntu4) breezy; urgency=low + + * Avoid sed /I regex flag in cdsymlinks.sh, which is a GNU extension. + + -- Colin Watson Wed, 10 Aug 2005 22:07:17 +0100 + +udev (0.060-1ubuntu3) breezy; urgency=low + + * Add ide-model.sh to the udeb. + * Add z50_run.rules to the udeb, to terminate tty device processing. + * Add z70_hotplugd.rules and helpers to the udeb, for /etc/dev.d and + /etc/hotplug.d compatibility. + + -- Colin Watson Fri, 5 Aug 2005 12:47:57 +0100 + +udev (0.060-1ubuntu2) breezy; urgency=low + + * Disable SELinux support in the udeb build. + + -- Colin Watson Wed, 13 Jul 2005 16:46:19 +0100 + +udev (0.060-1ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. + + * Prune 1394 rules, they are now part of 2.6.12 and udev upstream. + + * Redo the permissions.rules patch. The syntax changed slightly. + - Drop USB printer hackery, supported correctly with new kernel/udev + combo. + + -- Jeff Bailey Fri, 8 Jul 2005 03:13:25 +0000 + +udev (0.060-1) unstable; urgency=low + + * New upstream release. (Closes: #310960, #316478) + * Priority raised to optional. + * Enabled SELinux support. + * Added rules for ieee1394 devices. + + -- Marco d'Itri Sun, 3 Jul 2005 18:59:19 +0200 + +udev (0.056-3) unstable; urgency=high + + * Use group lp for USB printers. (Closes: #309091) + * Use group dialout for sl-modem devices. (Closes: #308488) + * Fix support for more than 9 partitions in removable.sh. (Closes: #306400) + * Mount the tmpfs from "tmpfs" instead of "none". (Closes: #307199) + + -- Marco d'Itri Sun, 29 May 2005 19:29:30 +0200 + +udev (0.056-2ubuntu2) breezy; urgency=low + + * Make sure that USB printers have group 'lp' (Ubuntu #10004) + + -- Jeff Bailey Fri, 6 May 2005 15:45:26 -0400 + +udev (0.056-2ubuntu1) breezy; urgency=low + + * Updated to new Debian version, reapplied Ubuntu changes manually; there + were too many changes and diversions. (#9688) + * Manually re-LSB'ified init script. + * debian/rules: Fix udeb generation. + + -- Martin Pitt Fri, 15 Apr 2005 15:17:10 +0200 + +udev (0.056-2) unstable; urgency=medium + + * Made the init script not fail if links.conf does not exist. + (Closes: #301525) + * Added RELEASE-NOTES to the documentation. (Closes: #301766) + * devfs.rules, udev.rules: fixed the ZIP drives hack. (Closes: #303133) + * Added patch add_firmwares_timeout: workaround for kernels with no + TIMEOUT support, which break the firmware events of some drivers. + (Closes: #302990) + * Moved all permissions-related rules to permissions.rules, installed + by default on upgrade. + + -- Marco d'Itri Sat, 9 Apr 2005 14:44:10 +0200 + +udev (0.056-1) unstable; urgency=medium + + * New upstream release. + * Improve warn_if_interactive() in the init script. (Closes: #299827) + * Stop adding by default /dev/.static/dev/ to mtab to silence df. + (Closes: #300435) + * Use /etc/udev/ instead of /tmp/ as the temporary mount point in + the init script. (Closes: #300705) + + -- Marco d'Itri Mon, 21 Mar 2005 14:56:51 +0100 + +udev (0.054-3) unstable; urgency=high + + * Do not use udevsend as the hotplug multiplexer on kernels < 2.6.10 + because they generate out of order hotplug events. + * Use /dev/.static/dev/ instead of /.dev/ to keep the root clean and + to not leave around devices with possibly insecure permissions. + This requires raising the versioned dependency on makedev to 2.3.1-77. + (Closes: #294968) + * Added upstream patch udev-segfault-DRIVER.patch to fix a segfault when + matching a non-initialized DRIVER. (Closes: #298192) + * devfs.rules, udev.rules: added the AOE character devices. + + -- Marco d'Itri Tue, 15 Mar 2005 11:55:38 +0100 + +udev (0.054-2) unstable; urgency=high + + * udev.rules: fixed the device name for raw parport devices. + * devfs.rules, udev.rules: try a different approach to setting permissions + for SCSI devices, by checking SYSFS{type}. Also detect sg devices used + by scanners and use the scanner group. (Closes: #297755) + + -- Marco d'Itri Sat, 5 Mar 2005 14:50:29 +0100 + +udev (0.054-1) unstable; urgency=high + + * New upstream release. + * Fix postinst to run udevstart on the right directory at install time. + (Closes: #296776, #296975) + * Use udevsend as the hotplug multiplexer and depend on hotplug + >= 0.0.20040329-17 to be sure that it will not be changed back by + its init script. + * Raised the tmpfs default size to 10 MB, because Alpha has 8 KB pages. + (Closes: #295087) + * Added raid-devfs.sh to udev-udeb. (Closes: #295634) + * devfs.rules, udev.rules: set group lp for raw parport and USB printer + devices. (Closes: #296256, #296276) + * Added an ide-model.sh init script to deal with partitions of Zip drives. + (Closes: #295369) + + -- Marco d'Itri Sat, 26 Feb 2005 13:41:16 +0100 + +udev (0.053-1) unstable; urgency=medium + + * New upstream release. + * Removed patches cdsymlinks_numeric (merged upstream) and scsi_id_tmp + (not needed anymore). + * Added some documentation to the init script for the benefit of people + who run commands without understanding their consequences. With the + same rationale, added some code which prints a scary message if the + script is started from an interactive shell. + * Added to the init script a check for the $UDEV_DISABLED variable, + which may be set on the kernel command line to easily disable udev. + * Do not start udev from postinst when installing in a chroot. + * Added to postinst yet another check for missing tmpfs. (Closes: #294575) + * CAPI devices now are owned by group dialout, per policy. + * Documented in README.Debian that the md RAID devices may not work. + * Updated the cdsymlinks script with a patch from the author. + + -- Marco d'Itri Sat, 12 Feb 2005 19:39:53 +0100 + +udev (0.051-1) unstable; urgency=low + + * New upstream release. + * Removed patch ignore_tmpfs_size_option, not needed anymore. + * Updated the rules files to include permissions. + The permissions files do not exist anymore. + * devfs.rules, udev.rules: added infiniband/* devices. (Closes: #293493) + * Fixed the Iomega ZIP rule. (See #289525) + * Stop creating dummy /dev/.udev.tdb. + + -- Marco d'Itri Sat, 5 Feb 2005 13:36:15 +0100 + +udev (0.050-6) unstable; urgency=high + + * Do not check the kernel version in preinst if udev is not already + active. (Closes: #292829) + + -- Marco d'Itri Sun, 30 Jan 2005 18:10:16 +0100 + +udev (0.050-5) unstable; urgency=high + + * Fixed broken upgrade test in postinst enable_udev(). (Closes: #290968) + * compat.rules: fixed the fix for #288932. (Closes: #289505) + * devfs.rules, udev.rules: added the all_partitions workaround for + ZIP drives. (Closes: #289525) + + -- Marco d'Itri Tue, 18 Jan 2005 18:39:54 +0100 + +udev (0.050-4) unstable; urgency=high + + * Create /dev/shm/ in postinst, because it may be missing on systems + which had devfs installed. + * Improved the code in postinst which determines the naming scheme to + detect devfs-like names on non-devfs systems. (Closes: #288308) + * Improved enable_udev() in postinst to make sure that it does not try + to mount a second tmpfs when upgrading from pre-.udevdb releases. + (Closes: #288775) + * compat.rules: create symlinks also for secondary audio, dsp and + mixer devices. (Closes: #288932) + * cdsymlinks.sh: fixed the NUMBERED_LINKS=0 case. (Closes: #288635) + + -- Marco d'Itri Fri, 7 Jan 2005 12:09:04 +0100 + +udev (0.050-3ubuntu7) hoary; urgency=low + + * extra/links.conf: Add raw1394, video1394 and video1394/0 ... + * extra/udev.permissions: ... and to here. + + * debian/udev.init: Set permissions on links created through + links.conf. + + Should provide the bare minimum /dev entries to get ieee1394 to + work. + + (Ubuntu BZ#3609) + + -- Jeff Bailey Tue, 29 Mar 2005 00:47:56 -0500 + +udev (0.050-3ubuntu6) hoary; urgency=low + + * debian/udev.preinst: Handle conffile move without dpkg questions. + (Ubuntu #4973) + + -- Martin Pitt Fri, 18 Mar 2005 14:50:43 +0100 + +udev (0.050-3ubuntu5) hoary; urgency=low + + * Add raid-devfs.sh to udev-udeb. + + -- Colin Watson Mon, 14 Feb 2005 14:27:22 +0000 + +udev (0.050-3ubuntu4) hoary; urgency=low + + * extra/udev.rules: put removable SCSI (USB, FireWire) and USB block devices + into group "plugdev" instead of "disk" to allow hal to read the file + system type and device label. This replaces the old /etc/udev/hal.rules + method of hal. Doing it in udev is more consistent and also avoids #6235. + * Added extras/removable.sh and install it in debian/rules. This replaces + the old device-removable.sh script from hal. + + -- Martin Pitt Mon, 7 Feb 2005 09:26:47 +0100 + +udev (0.050-3ubuntu3) hoary; urgency=low + + * Add debian/patches/include_sys_stat from Jeff Bailey, to fix a compilation + error with klibc due to a missing #include (Ubuntu #5826) + + -- Matt Zimmerman Thu, 27 Jan 2005 18:04:11 -0800 + +udev (0.050-3ubuntu2) hoary; urgency=low + + * Set the default hotplug helper to /sbin/udevsend + + -- Matt Zimmerman Sat, 8 Jan 2005 20:11:28 -0800 + +udev (0.050-3ubuntu1) hoary; urgency=low + + * Merge to new Debian version + * LSB'ified new code in init script + + -- Martin Pitt Wed, 5 Jan 2005 16:21:09 +0100 + +udev (0.050-3) unstable; urgency=high + + * Fixed the regexp in preinst which caused cd-aliases.rules to not be + enabled on upgrades. (Closes: #287225) + * Included scsi_id.config as an example. (Closes: #287959) + * Modified postinst and the init script to fail gracefully if the kernel + mounts a non-working tmpfs. (Closes: #288043) + * Added patch scsi_id_tmp: makes scsi_id create its temporary devices in + /dev instead of /tmp, which is read only when udevstart is run. + (Closes: #287959) + + -- Marco d'Itri Sat, 1 Jan 2005 23:57:26 +0100 + +udev (0.050-2) unstable; urgency=medium + + * Do not try to enable udev in postinst without a supported kernel. + (Closes: #287146) + + -- Marco d'Itri Sat, 25 Dec 2004 01:50:03 +0100 + +udev (0.050-1ubuntu1) hoary; urgency=low + + * Resynchronise with Debian. + * Manually resolve merge conflicts + * Remove overzealous replacement of echo with log_success_msg in init + script usage message + + -- Matt Zimmerman Sat, 25 Dec 2004 13:02:57 -0800 + +udev (0.050-1) unstable; urgency=medium + + * Added code to postinst to enable udev without rebooting. + * Stop trying to automatically restore the old /dev on removal, it cannot + made work. + * Fixed the init script to correctly recognize 2.6.1* kernels. + (Closes: #286188) + * Refuse to upgrade if the running kernel is too old. (Closes: #286530) + * Removed the scary warning about upgrades from devfs and all debconf code. + * New patch enable_after_udev disables udev if /dev/.udevdb/ does not exist. + * Fixed raid-devfs.sh and added support for Mylex controllers, courtesy + of Piotr Roszatycki. (Closes: #285066, #286809) + * Manually mount /proc before udevstart is run, because some scripts need + it. Stop running mountvirtfs, which is started again later anyway. + + -- Marco d'Itri Fri, 24 Dec 2004 13:46:13 +0100 + +udev (0.048-3) unstable; urgency=medium + + * devfs.rules: added support for /dev/{cciss,ida}/*. (Closes: #285066) + * New patch check_null_directory fixes core dump on amd64. (Closes: #285281) + * Improved the init script check for old kernels. (Closes: #285443) + * Depend on sed >= 3.95. (Closes: #285511) + * udev.permissions: fixed the inotify path. + + -- Marco d'Itri Wed, 15 Dec 2004 21:32:22 +0100 + +udev (0.048-2) unstable; urgency=high + + * Fixed again #283758, this time for real. + + -- Marco d'Itri Thu, 9 Dec 2004 19:27:45 +0100 + +udev (0.048-1) unstable; urgency=medium + + * New upstream release. + * devfs.rules, udev.rules: added Zaptel rules. (Closes: #284695) + * Made the init script fail if the system is running a kernel older + than 2.6.8. (Closes: #284782) + * Updated the udevtest-all script. (Closes: #284774) + * New patch no_strip builds unstripped executables with debugging symbols. + * Added a reportbug script. + + -- Marco d'Itri Thu, 9 Dec 2004 18:10:32 +0100 + +udev (0.046-6) unstable; urgency=high + + * Fixed preinst failure. (Closes: #284367, #284399) + * devfs.rules, udev.rules: added usb/cpad[0-9]*. (Closes: #284392) + * compat-full.rules: added ttyUSB[0-9]*. (Closes: #284264) + * Added a reportbug presubj file. + * High priority, because 0.046-5 fails to install and anyway it's + about time 046 moves to sarge. + + -- Marco d'Itri Mon, 6 Dec 2004 11:58:10 +0100 + +udev (0.046-5) unstable; urgency=medium + + * Make sure to create the default symlinks at install time even if some + other package already created a symlink for its own rules file. + (Closes: #283758) + * Added a note to README.Debian about sg nodes. (Closes: #271589) + * udev.rules, devfs.rules: fixed the names of the ALSA midi devices. + (Closes: #283527) + * Moved the rules using cdsymlinks.sh from udev.rules and compat.rules + to a new file cd-aliases.rules. + Added some code to preinst to automatically enable it at upgrade time. + * Cleaned up the rules which deal with CD devices. + * Removed from preinst the code needed to upgrade package versions older + than 0.024-9. + + -- Marco d'Itri Sat, 4 Dec 2004 14:49:44 +0100 + +udev (0.046-4) unstable; urgency=medium + + * Really move the scripts to /etc/udev/scripts/. (Closes: #283343) + * New upstream patch: fix_interfaces_renaming. (Closes: #283144) + * Deal with /etc/udev/rules.d/ being empty in postrm. (Closes: #283322) + + -- Marco d'Itri Sun, 28 Nov 2004 19:12:40 +0100 + +udev (0.046-4ubuntu2) hoary; urgency=low + + * Fix inotify permissions + + -- Thom May Mon, 6 Dec 2004 11:15:59 +0100 + +udev (0.046-4ubuntu1) hoary; urgency=low + + * Merge to new Debian revision. + + -- Martin Pitt Mon, 29 Nov 2004 08:50:01 +0100 + +udev (0.046-4) unstable; urgency=medium + + * Really move the scripts to /etc/udev/scripts/. (Closes: #283343) + * New upstream patch: fix_interfaces_renaming. (Closes: #283144) + * Deal with /etc/udev/rules.d/ being empty in postrm. (Closes: #283322) + + -- Marco d'Itri Sun, 28 Nov 2004 19:12:40 +0100 + +udev (0.046-3) unstable; urgency=medium + + * Fixed and improved /etc/init.d/udev-mtab. (Closes: #283118) + + -- Marco d'Itri Fri, 26 Nov 2004 18:32:04 +0100 + +udev (0.046-2ubuntu1) hoary; urgency=low + + * Manual merge with new Debian release: + - init script changed heavily, rewrote LSB init function usage + - activated udeb build in debian/rules + - do not install udev.startup into the udeb, it conflicts with d-i's + current rootskel + + -- Martin Pitt Fri, 26 Nov 2004 16:06:57 +0100 + +udev (0.046-2) unstable; urgency=medium + + * Run udevstart at upgrade time only if udev.tdb exists. (Closes: #282310) + * Install a new init script udev-mtab to update /etc/mtab. (Closes: #282455) + * Raised the default size of the tmpfs to 5 MB. (Closes: #282518) + * New patch ignore_tmpfs_size_option makes udev ignore the tmpfs_size + option in udev.conf. + * New patch devname.patch, from CVS. + * udev.rules: sr* devices are renamed to scd*, with a compatibility symlink. + * udev.rules, compat.rules: use cdsymlinks.sh for all kinds of cdrom drives. + (Closes: #282348) + * Added to debian/rules some code to build udev-udeb, currently disabled. + * Moved all scripts to /etc/udev/scripts/. + * Fixed postrm to not fail if /.dev/ is not present. (Closes: #283068) + + -- Marco d'Itri Fri, 26 Nov 2004 13:21:38 +0100 + +udev (0.046-1) unstable; urgency=medium + + * New upstream release. + * links.conf: manually create /dev/net/tun too. + * Try to mount --move /.dev/ over /dev/ on package removal. + * Always use mount -n in the init script. (Closes: #281921) + * Add a man page for wait_for_sysfs. (Closes: #281239) + + -- Marco d'Itri Sat, 20 Nov 2004 15:44:01 +0100 + +udev (0.042-1ubuntu3) hoary; urgency=low + + * udev-udeb depends on hotplug-udeb, not hotplug. + + -- Colin Watson Thu, 18 Nov 2004 19:05:43 +0000 + +udev (0.042-1ubuntu2) hoary; urgency=low + + * Add udev-udeb, for use in the installer. + + -- Colin Watson Tue, 16 Nov 2004 10:16:35 +0000 + +udev (0.042-1ubuntu1) hoary; urgency=low + + * Resynchronised with Debian, resolved minor merging conflicts. + * Reverted the changes from 0.026-1ubuntu4 (plugdev extension), this will be + handled by the pmount package from now on (consensus with Marco d'Itri). + * Deleted leftover work/ directory from automatic merge attempt + + -- Martin Pitt Thu, 11 Nov 2004 13:10:21 +0100 + +udev (0.042-1) unstable; urgency=medium + + * New upstream release. + * Point out again in README.Debian that rules files end in ".rules". + (Closes: #277920) + * devfs.rules, devfs.rules, udev.permissions: added pktcdvd/control. + (Closes: #278600) + * udev.permissions: added sonypi, misc/inotify. + * links.conf: manually create /dev/loop/0 and /dev/ppp, because their + drivers cannot be autoprobed in any way. + Please do not request to add other devices to the list. + + -- Marco d'Itri Sat, 30 Oct 2004 12:54:28 +0200 + +udev (0.040-1ubuntu3) hoary; urgency=low + + * Use "scd" device names in place of "sr", with a compatibility symlink for + the latter (Closes: Ubuntu#1909) + + -- Matt Zimmerman Thu, 28 Oct 2004 23:15:53 -0700 + +udev (0.040-1ubuntu2) hoary; urgency=low + + * Resolve merge conflicts + + -- Matt Zimmerman Thu, 28 Oct 2004 17:42:04 -0700 + +udev (0.040-1ubuntu1) hoary; urgency=low + + * Resynchronise with Debian. + + -- Scott James Remnant Thu, 28 Oct 2004 09:53:41 +0100 + +udev (0.040-1) unstable; urgency=medium + + * New upstream release. + + Removed patch hotplug.dev_exec, merged upstream. + * devfs.rules, udev.rules, udev.permissions: moved pktcdvd* to pktcdvd/, + as requested by the udftools maintainer. (Closes: #274110) + * scsi-devfs.sh: create .../disc instead of .../disk. (Closes: #276484) + * Added a workaround to mount the tmpfs even if .udev.tdb exists in the + static /dev/ directory. + + -- Marco d'Itri Fri, 22 Oct 2004 16:36:57 +0200 + +udev (0.034-1) unstable; urgency=medium + + * New upstream release. + + Removed patch udev-whitespace-bug-01.patch, merged upstream. + * New debconf translation: nl. (Closes: #274895) + * udev.permissions: made /dev/mouse*, /dev/input/mouse* and /dev/input/mice + mode 600. (Closes: #275392) + * udev.rules: fixed errors in the sg and DVB rules. (Closes: #275469) + + -- Marco d'Itri Sat, 9 Oct 2004 14:50:22 +0200 + +udev (0.032-2) unstable; urgency=medium + + * Fixed postrm failure. (Closes: #274272) + * Added support for DVB devices. (Closes: #274335) + * Added partial support for an alternative mount point. + + -- Marco d'Itri Sun, 3 Oct 2004 12:32:48 +0200 + +udev (0.032-1) unstable; urgency=medium + + * New upstream release. + + Removed patch udevstart-fix-01.patch, merged upstream. + * Delete rules.d/ symlinks in postrm. (Closes: #271570) + * Fixed a variable name in cdsymlinks.conf. (Closes: #271656) + * Make preinst not fail if start-stop-daemon --stop fails. (Closes: #273098) + * Make inputdev.sh accept an optional keywords regexp. (Closes: #272434) + * udev.permissions: removed djs* because it's obsolete. (Closes: #272188) + * devfs.rules: fixed the "hd[a-z]*" pattern. (Closes: #271723) + + -- Marco d'Itri Thu, 30 Sep 2004 16:12:59 +0200 + +udev (0.031-2) unstable; urgency=high + + * New patch udevstart-fix-01.patch fixes %-arguments passed to PROGRAMs. + (Closes: #271372) + * Added simple-cd-aliases.rules, not enabled by default. + * Added a note to README.Debian about timestamps and non-UTC system + clocks. (Closes: #259697) + + -- Marco d'Itri Mon, 13 Sep 2004 10:03:23 +0200 + +udev (0.031-1) unstable; urgency=medium + + * New upstream release. Fixes: + + At boot time, create the mem devices before the others. (Closes: #258590) + * Run mountvirtfs in the init script, just to be sure. (See #258214) + * Updated cdsymlinks.sh, courtesy of Darren Salt. (Closes: #247179, #255150) + * scsi-devfs.sh: added support for nst* devices. (Closes: #266419) + * Fix installation of compat-full.rules in postinst. (Closes: #261559) + * udev.permissions: made /dev/input/js* and /dev/input/mouse* world + readable and /dev/input/mice world writeable. (Closes: #260941) + * udev.permissions: made /dev/usb/legousbtower world writeable. + (Closes: #265987) + * udev.rules, devfs.rules: added /dev/cpu/*/. (Closes: #265922) + * udev.rules, devfs.rules: fixed some wildcards. (Closes: #269707) + * udev.rules, devfs.rules: added /dev/input/uinput. (Closes: #270446) + * New script inputdev.sh to support different permissions for some + input events devicse, by Darren Salt. (Closes: #265799) + + -- Marco d'Itri Sun, 12 Sep 2004 20:11:57 +0200 + +udev (0.030-1) unstable; urgency=medium + + * New upstream release. + * New debconf translation: de. (Closes: #254545) + * rtc: 660 => 664 + * input/*: 644 => 600 (Closes: #257165) + + -- Marco d'Itri Sun, 11 Jul 2004 16:59:49 +0200 + +udev (0.026-1ubuntu5) warty; urgency=low + + * Create joystick devices world-readable + + -- Matt Zimmerman Fri, 17 Sep 2004 15:22:54 -0700 + +udev (0.026-1ubuntu4) warty; urgency=low + + * Added and installed extra/removable.sh to test whether a device is + removable (this will only work on kernels 2.6.8 and up; on earlier kernels + this script considers every device as non-removable) + * udev.rules: put IDE and SCSI devices in group 'plugdev' if they are + removable (Warty bug #996) + * udev.postinst: Ensure that group 'plugdev' exists. + + -- Martin Pitt Mon, 6 Sep 2004 12:21:26 +0200 + +udev (0.026-1ubuntu3) warty; urgency=low + + * Added versioned depend on lsb-base + + -- Nathaniel McCallum Fri, 3 Sep 2004 15:16:38 -0400 + +udev (0.026-1ubuntu2) warty; urgency=low + + * debian/udev.init: pretty initscript + + -- Nathaniel McCallum Fri, 3 Sep 2004 12:13:37 -0400 + +udev (0.026-1ubuntu1) warty; urgency=high + + * Patch udev.permissions such that /dev/input devices are mode 0600 rather + than 0644. This prevents a security issue where any user could, for + example, sniff passwords typed at the console + + -- Matt Zimmerman Mon, 5 Jul 2004 14:43:17 -0700 + +udev (0.026-1) unstable; urgency=medium + + * New upstream release. (Closes: #251566) + * udev_dbus and udev_selinux have been removed. (Closes: #243429) + * udev.permissions: added pktcdvd[0-9]*. (Closes: #252383) + * Depending on initscripts >= 2.85-16 allows to simplify the init script. + * Removed patches devfs.sh-ide-floppy, devnode_to_devname.patch and + extras_no_logging which have been merged upstream. + + -- Marco d'Itri Tue, 8 Jun 2004 11:27:54 +0200 + +udev (0.024-9) unstable; urgency=low + + * Removed MAKEDEV-wrapper and Depend on makedev > 2.3.1-70. (Closes: #245441) + * /etc/udev/.dev/ moved to /.dev/. (Closes: #246592) + If you do not want to see it anyway, just rmdir it. + You will have to manually remove /etc/udev/.dev/ after the next reboot. + You want to reboot soon anyway because MAKEDEV has been updated to look + for the new directory. + * Added a script to create by default a /dev/cdrom symlink, courtesy of + Michal Čihař. (Closes: #247179) + * Added Japanese debconf template translation. (Closes: #245434) + * Add /dev/misc/nvram to devfs.rules. (Closes: #246125) + * Fixed the group of /dev/fb*. (Closes: #246011) + * When installing on a devfs system enable compat-full.rules if + /dev/tty1 exists. (Closes: #251146) + * Removed support for $udev_root from the init script. (Closes: #249183) + * Do not start udev if the kernel lacks tmpfs support. (Closes: #250476) + * Make the nvram device g+rw and owned by group nvram. + + -- Marco d'Itri Fri, 28 May 2004 20:32:19 +0200 + +udev (0.024-7) unstable; urgency=high + + * Fixed the permissions of /dev. (Closes: #245073) + * Added Czech debconf template translation. (Closes: #244423) + * Minor preinst improvements. (Closes: #245154) + * Fixed the permissions of /dev/st*. (Closes: #244239) + * Added rules for the tun/tap devices. (Closes: #244025) + * Moved the permissions file to /etc/udev/permissions.d/. (Closes: #243949) + + -- Marco d'Itri Thu, 22 Apr 2004 01:53:33 +0200 + +udev (0.024-6) unstable; urgency=high + + * Make postinst detect correctly if dbus is installed. (Closes: #243817) + + -- Marco d'Itri Thu, 15 Apr 2004 19:36:49 +0200 + +udev (0.024-5) unstable; urgency=medium + + * Ignore broken links when updating /etc/udev/rules.d/. (Closes: #243249) + * Use invoke-rc.d to restart d-bus. (Closes: #243336) + * If devfs is being used, use devfs-style names by default. (Closes: #243164) + * Added support for IDE floppy drives. (Closes: #243093) + * Added French debconf template translation. (Closes: #242890) + * Conflict with lvm-common < 1.5.13. (Closes: #236346) + * Let's try to only Recommend dbus and see what happens. (Closes: #240500) + + -- Marco d'Itri Wed, 14 Apr 2004 14:44:43 +0200 + +udev (0.024-4) unstable; urgency=high + + * Fix the names of USB printers. (Closes: #242512) + * Added a new rules file compat-full.rules. (Closes: #241364) + * udev-devfs.rules and udev-compat.rules have been renamed, the preinst + script tries to fix the /etc/udev/rules.d/ symlinks, if any exists. + It cannot recognize some corner cases, so please check your system + after the upgrade. + + -- Marco d'Itri Thu, 8 Apr 2004 02:07:43 +0200 + +udev (0.024-3) unstable; urgency=high + + * Fixed SCSI CD names in udev.rules. (Closes: #242443) + + -- Marco d'Itri Tue, 6 Apr 2004 20:43:40 +0200 + +udev (0.024-2) unstable; urgency=high + + * New patch devnode_to_devname.patch to fix broken udev_dbus, + courtesy of Sjoerd Simons. (Closes: #242283, #242374) + * Added rules to set the permissions of rfcomm[0-9]* and hd[a-s]. + (Closes: #242306) + * New debconf template: pt_BR. (Closes: #242089) + * Read the permissions of /dev/pts/ from /etc/defaults/devpts. + (Closes: #242054) + + -- Marco d'Itri Tue, 6 Apr 2004 18:21:30 +0200 + +udev (0.024-1) unstable; urgency=high + + * New upstream release. + "high" urgency because the package currently in testing sucks too much. + * Removed patch ide-devfs_fix_no_media, which has been merged upstream. + * Clarify README.Debian. (Closes: #241318) + + -- Marco d'Itri Sat, 3 Apr 2004 14:23:09 +0200 + +udev (0.023-3) unstable; urgency=medium + + * Changed again the default rules source: now udev.conf will default to + reading all files in /etc/udev/rules.d/. If the directory is empty, + postinst will create in it a symlink to ../udev.rules. + Please double check that it's the rules set you really want to use. + * Depends on libselinux1-dev. (Closes: #240755) + * Fixed the permissions of /dev/rtc. (Closes: #240905) + * Let's try moving /sbin/udev_dbus to /usr/sbin/. (See #240500) + + -- Marco d'Itri Wed, 31 Mar 2004 17:18:51 +0200 + +udev (0.023-2) unstable; urgency=medium + + * Fixed cdrom group permissions. (Closes: #240521) + * Fixed symlinks in /etc/dev.d/. (Closes: #240517) + * Allow db_input calls to fail. (Closes: #240520) + + -- Marco d'Itri Sun, 28 Mar 2004 19:16:59 +0200 + +udev (0.023-1) unstable; urgency=medium + + * New upstream release. + * Enabled SE Linux support. Untested. + * I wonder if I should make the package not depend on the dbus and + selinux libraries, as they are only used by the little programs + in /etc/dev.d/. I encourage comments. + * New patch extras_no_logging: needed to make the dbus and selinux + helpers compile. Side effect: disables logging for them. + * Removed patch udev022_namedev_symlink_fix.patch, merged upstream. + * Removed patch run_usr_sbin_udev which is not needed anymore. + * Use tmpfs instead of ramfs. (Closes: #239941) + * Use debconf to print the reboot notice and a warning for devfs users, + patch courtesy of Scott Robinson . (Closes: #240291) + * Make sure that all cdrom drives are recognized in udev.rules. + (Closes: #239877) + * Make sg* devices of CD drives owned by the cdrom group. (Closes: #240315) + * Modified the init script to unmount /dev/pts and remount it on the + tmpfs. + + -- Marco d'Itri Sat, 27 Mar 2004 14:49:37 +0100 + +udev (0.022-1) unstable; urgency=medium + + * The "millions of flies cannot be wrong" release. + * Switched the default /dev layout to traditional style. + (Closes: #237482, #237484) + * Removed the patches udevstart_no_retval and strip_trailing_blanks + because they have been merged upstream. + * New patch run_usr_sbin_udev: first try to run /usr/sbin/udev and then + /sbin/udev if the first does not exist. This is useful to support + D-BUS without moving all the related libraries in /lib. + * New patch udev022_namedev_symlink_fix.patch, upstream bugfix. + * Make the MAKEDEV wrapper smarter by checking if something has really + been mounted over /etc/udev/.dev. + * Depends on sysvinit (>= 2.85-10) to use the already mounted /proc + and /sys. + * Limit the /dev ramfs size to 1 MB, I hope this will be enough for + any reasonable system. + * Cleaned up the init script. (Closes: #237243) + * New patch ide-devfs_fix_no_media: make ide-devfs.sh check if + /proc/ide/*/media really exists before using it. + * Updated udev.rules and udev.permissions. + (Closes: #236708, #236602, #237478) + * Added partial and untested support for SCSI tapes to scsi-devfs.sh. + (Closes: #238825) + + -- Marco d'Itri Sun, 21 Mar 2004 13:31:02 +0100 + +udev (0.021-1) unstable; urgency=medium + + * New upstream release. + * New patch udevstart_no_retval makes udevsend always return success. + * New patch strip_trailing_blanks makes comparisons of sysfs fields + ignore trailing blanks. + * Removed patches fix_expr, man-dashes.diff, no_error_on_enoent, + udev019_symlink.patch because they have been merged upstream. + + -- Marco d'Itri Thu, 4 Mar 2004 02:25:35 +0100 + +udev (0.019-3) unstable; urgency=low + + * Initial release. (Closes: #221915) + * kill udevd on upgrade. + * Removed support for multiple files in $udev_rules, now all files matching + /etc/udev/*.rules will be parsed. + * Make the ide/*/cd devices owned by cdrom group. + * Added default aliases for ttyN, ttySN and lpN. + * New patch: man-dashes.diff, fixes unescaped dashes in the man pages + (by Philipp Matthias Hahn). + * Added an updated scsi-devfs.sh from Daniel Mueller . + + -- Marco d'Itri Tue, 2 Mar 2004 19:37:30 +0100 --- udev-136.orig/debian/udev.examples +++ udev-136/debian/udev.examples @@ -0,0 +1 @@ +extras/scsi_id/scsi_id.config --- udev-136.orig/debian/udev.postrm +++ udev-136/debian/udev.postrm @@ -0,0 +1,166 @@ +#!/bin/sh -e +# This script can be called in the following ways: +# +# After the package was removed: +# remove +# +# After the package was purged: +# purge +# +# After the package was upgraded: +# upgrade +# if that fails: +# failed-upgrade +# +# +# After all of the packages files have been replaced: +# disappear +# +# +# If preinst fails during install: +# abort-install +# +# If preinst fails during upgrade of removed package: +# abort-install +# +# If preinst fails during upgrade: +# abort-upgrade + + +# Undo removal of a no-longer used conffile +undo_rm_conffile() +{ + CONFFILE="$1" + + if [ ! -e "$CONFFILE" ]; then + if [ -e "$CONFFILE".dpkg-bak ]; then + echo "Restoring modified conffile $CONFFILE" + mv -f "$CONFFILE".dpkg-bak "$CONFFILE" + elif [ -e "$CONFFILE".dpkg-obsolete ]; then + mv -f "$CONFFILE".dpkg-obsolete "$CONFFILE" + fi + fi +} + +# Finish removal of a no-longer used conffile +finish_rm_conffile() +{ + CONFFILE="$1" + + if [ -e "$CONFFILE".dpkg-bak ]; then + rm -f "$CONFFILE".dpkg-bak + fi +} + +# Undo move of a conffile +undo_mv_conffile() +{ + CONFFILE="$1" + + if [ ! -e "$CONFFILE" ]; then + if [ -e "$CONFFILE".dpkg-bak ]; then + mv -f "$CONFFILE".dpkg-bak "$CONFFILE" + elif [ -e "$CONFFILE".dpkg-moving ]; then + mv -f "$CONFFILE".dpkg-moving "$CONFFILE" + fi + fi +} + +# Finish move of a conffile +finish_mv_conffile() +{ + CONFFILE="$1" + + if [ -e "$CONFFILE".dpkg-bak ]; then + rm -f "$CONFFILE".dpkg-bak + fi +} + + +# Undo remove of Ubuntu rules in favour of upstream ones +undo_rm_ubuntu_rules() +{ + undo_rm_conffile /etc/udev/rules.d/05-options.rules + undo_rm_conffile /etc/udev/rules.d/05-udev-early.rules + undo_rm_conffile /etc/udev/rules.d/20-names.rules + undo_rm_conffile /etc/udev/rules.d/30-cdrom_id.rules + undo_rm_conffile /etc/udev/rules.d/40-basic-permissions.rules + undo_rm_conffile /etc/udev/rules.d/40-permissions.rules + undo_rm_conffile /etc/udev/rules.d/60-persistent-input.rules + undo_rm_conffile /etc/udev/rules.d/60-persistent-storage-tape.rules + undo_rm_conffile /etc/udev/rules.d/60-persistent-storage.rules + undo_rm_conffile /etc/udev/rules.d/60-symlinks.rules + undo_rm_conffile /etc/udev/rules.d/61-persistent-storage-edd.rules + undo_rm_conffile /etc/udev/rules.d/65-id-type.rules + undo_rm_conffile /etc/udev/rules.d/66-persistent-storage-edd.rules + undo_rm_conffile /etc/udev/rules.d/75-cd-aliases-generator.rules + undo_rm_conffile /etc/udev/rules.d/75-persistent-net-generator.rules + undo_rm_conffile /etc/udev/rules.d/80-programs.rules + undo_rm_conffile /etc/udev/rules.d/90-modprobe.rules + undo_rm_conffile /etc/udev/rules.d/95-udev-late.rules +} + +# Finish remove of Ubuntu rules in favour of upstream ones +finish_rm_ubuntu_rules() +{ + finish_rm_conffile /etc/udev/rules.d/05-options.rules + finish_rm_conffile /etc/udev/rules.d/05-udev-early.rules + finish_rm_conffile /etc/udev/rules.d/20-names.rules + finish_rm_conffile /etc/udev/rules.d/30-cdrom_id.rules + finish_rm_conffile /etc/udev/rules.d/40-basic-permissions.rules + finish_rm_conffile /etc/udev/rules.d/40-permissions.rules + finish_rm_conffile /etc/udev/rules.d/60-persistent-input.rules + finish_rm_conffile /etc/udev/rules.d/60-persistent-storage-tape.rules + finish_rm_conffile /etc/udev/rules.d/60-persistent-storage.rules + finish_rm_conffile /etc/udev/rules.d/60-symlinks.rules + finish_rm_conffile /etc/udev/rules.d/61-persistent-storage-edd.rules + finish_rm_conffile /etc/udev/rules.d/65-id-type.rules + finish_rm_conffile /etc/udev/rules.d/66-persistent-storage-edd.rules + finish_rm_conffile /etc/udev/rules.d/75-cd-aliases-generator.rules + finish_rm_conffile /etc/udev/rules.d/75-persistent-net-generator.rules + finish_rm_conffile /etc/udev/rules.d/80-programs.rules + finish_rm_conffile /etc/udev/rules.d/90-modprobe.rules + finish_rm_conffile /etc/udev/rules.d/95-udev-late.rules +} + + +# Remove configuration and log files +purge_files() +{ + if [ -f /etc/iftab ]; then + rm -f /etc/iftab || true + fi + + if [ -f /var/log/udev ]; then + rm -f /var/log/udev || true + fi +} + + +case "$1" in + remove) + ;; + + purge) + finish_rm_ubuntu_rules + purge_files + ;; + + upgrade|failed-upgrade|disappear) + ;; + + abort-install|abort-upgrade) + # Abort upgrade from intrepid + if dpkg --compare-versions "$2" lt "136-4"; then + undo_rm_ubuntu_rules + fi + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# +exit 0 --- udev-136.orig/debian/rules +++ udev-136/debian/rules @@ -0,0 +1,166 @@ +#!/usr/bin/make -f +# debian/rules for the udev package. +# Copyright © 2009 Canonical Ltd. +# Author: Scott James Remnant + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_OPTIONS + +CFLAGS = -Wall -g -fstack-protector -fPIE +LDFLAGS = -Wl,-z,relro -Wl,-z,now -pie + +# Disable optimisations if noopt found in $DEB_BUILD_OPTIONS +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 + LDFLAGS += -Wl,-O0 +else + CFLAGS += -Os + LDFLAGS += -Wl,-O1 +endif + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build=$(DEB_HOST_GNU_TYPE) +else + confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + + +# Configure the package +build-deb/config.status: configure + [ -d build-deb ] || mkdir build-deb + cd build-deb && ../configure \ + $(confflags) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + --prefix=/usr \ + --exec-prefix= \ + --sysconfdir=/etc \ + --mandir=\$${datadir}/man \ + --infodir=\$${infodir}/info \ + --with-selinux \ + --enable-static + +# Build the package +build-deb: build-deb/build-stamp +build-deb/build-stamp: build-deb/config.status + dh_testdir + + $(MAKE) -C build-deb + touch $@ + +# Install files into the deb +install-deb: DH_OPTIONS=-Nudev-udeb +install-deb: build-deb + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -v + + $(MAKE) -C build-deb DESTDIR="$(CURDIR)/debian/tmp" install + + # Documentation + install -m 644 -o root -g root debian/README-etc-rules.d \ + debian/udev/etc/udev/rules.d/README + install -m 644 -o root -g root debian/README-lib-rules.d \ + debian/udev/lib/udev/rules.d/README + + # Hook into initramfs-tools + install -m 755 -o root -g root debian/udev.initramfs-hook \ + debian/udev/usr/share/initramfs-tools/hooks/udev + install -m 755 -o root -g root debian/udev.initramfs-premount \ + debian/udev/usr/share/initramfs-tools/scripts/init-premount/udev + install -m 755 -o root -g root debian/udev.initramfs-nfs \ + debian/udev/usr/share/initramfs-tools/scripts/nfs-top/udev + install -m 755 -o root -g root debian/udev.initramfs-bottom \ + debian/udev/usr/share/initramfs-tools/scripts/init-bottom/udev + + +# Configure the udeb +build-udeb/config.status: configure + [ -d build-udeb ] || mkdir build-udeb + cd build-udeb && ../configure \ + $(confflags) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + --prefix=/usr \ + --exec-prefix= \ + --sysconfdir=/etc \ + --mandir=\$${datadir}/man \ + --infodir=\$${infodir}/info \ + --without-selinux \ + --disable-shared + +# Build the package +build-udeb: build-udeb/build-stamp +build-udeb/build-stamp: build-udeb/config.status + dh_testdir + + $(MAKE) -C build-udeb + touch $@ + + +# Install files into the udeb +install-udeb: DH_OPTIONS=-pudev-udeb +install-udeb: build-udeb + dh_testdir + dh_testroot + dh_clean -k -Xdebian/tmp + rm -rf debian/tmp-udeb + dh_installdirs + + $(MAKE) -C build-udeb DESTDIR="$(CURDIR)/debian/tmp-udeb" install + + # Startup script + install -m 755 -o root -g root debian/udev.installer-startup \ + debian/udev-udeb/lib/debian-installer/start-udev + + # base-installer script + install -m 755 -o root -g root debian/udev.base-installer \ + debian/udev-udeb/usr/lib/base-installer.d/05udev + + +build: build-deb build-udeb + +binary: binary-indep binary-arch + +# Build architecture-independent files here. +binary-indep: +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: DH_OPTIONS=-a +binary-arch: build install-deb install-udeb + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installinit --no-start -- start 10 S . + dh_installinit --name=udev-finish --no-start -- start 37 S . + dh_install --sourcedir=debian/tmp -Nudev-udeb + DH_OPTIONS= dh_install --sourcedir=debian/tmp-udeb -pudev-udeb + dh_link + dh_strip + dh_compress + dh_fixperms -X/lib/udev/devices/ + dh_installdeb + dh_makeshlibs + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + +# Clean up the mess we made +clean: + dh_testdir + + rm -rf build-deb build-udeb debian/tmp-udeb + dh_clean + + +.PHONY: build-deb build-udeb build install-deb install-udeb \ + binary-indep binary-arch binary clean --- udev-136.orig/debian/libudev-dev.install +++ udev-136/debian/libudev-dev.install @@ -0,0 +1,4 @@ +usr/include/libudev.h +usr/lib/libudev.a +usr/lib/libudev.so +usr/lib/pkgconfig/libudev.pc --- udev-136.orig/debian/udev.initramfs-hook +++ udev-136/debian/udev.initramfs-hook @@ -0,0 +1,49 @@ +#!/bin/sh -e +# initramfs hook for udev + +MINKVER="2.6.24" +PREREQ="" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +. /usr/share/initramfs-tools/hook-functions + +# We use pkill +copy_exec /usr/bin/pkill /sbin + +# Copy across the udev binaries +copy_exec /sbin/udevd /sbin +copy_exec /sbin/udevadm /sbin + +# Copy udev configuration +mkdir -p ${DESTDIR}/etc/udev +cp -p /etc/udev/udev.conf ${DESTDIR}/etc/udev + +# Only copy across relevant rules +mkdir -p ${DESTDIR}/lib/udev/rules.d +for rules in 60-persistent-storage.rules 61-persistent-storage-edd.rules 64-device-mapper.rules 80-drivers.rules 95-udev-late.rules; do + cp -p /lib/udev/rules.d/$rules ${DESTDIR}/lib/udev/rules.d +done + +# Copy across helpers the rules need +mkdir -p ${DESTDIR}/lib/udev +# 60-persistent-storage.rules +copy_exec /lib/udev/ata_id /lib/udev +copy_exec /lib/udev/usb_id /lib/udev +copy_exec /lib/udev/vol_id /lib/udev +copy_exec /lib/udev/scsi_id /lib/udev +copy_exec /lib/udev/path_id /lib/udev +# 61-persistent-storage-edd.rules +copy_exec /lib/udev/edd_id /lib/udev --- udev-136.orig/debian/udev.postinst +++ udev-136/debian/udev.postinst @@ -0,0 +1,192 @@ +#!/bin/sh -e +# This script can be called in the following ways: +# +# After the package was installed: +# configure +# +# +# If prerm fails during upgrade or fails on failed upgrade: +# abort-upgrade +# +# If prerm fails during deconfiguration of a package: +# abort-deconfigure in-favour +# removing +# +# If prerm fails during replacement due to conflict: +# abort-remove in-favour + + +# Remove a no-longer used conffile +rm_conffile() +{ + CONFFILE="$1" + + if [ -e "$CONFFILE".dpkg-obsolete ]; then + echo "Removing obsolete conffile $CONFFILE" + rm -f "$CONFFILE".dpkg-obsolete + fi +} + +# Remove a conffile directory if it's not empty +rm_confdir() +{ + CONFDIR="$1" + + if [ -d "$CONFDIR" ]; then + rmdir "$CONFDIR" 2>/dev/null \ + || echo "Unable to remove $CONFDIR, not empty" + fi +} + +# Move a conffile without triggering a dpkg question +mv_conffile() { + OLDCONFFILE="$1" + NEWCONFFILE="$2" + + if [ -e "$OLDCONFFILE".dpkg-moving ]; then + echo "Preserving user changes to $NEWCONFFILE" + mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new + mv -f "$OLDCONFFILE".dpkg-moving "$NEWCONFFILE" + elif [ -e "$OLDCONFFILE".dpkg-bak ]; then + rm -f "$OLDCONFFILE".dpkg-bak + fi +} + + +# Construct the initial device tree (things udev doesn't provide) +create_devices() +{ + # in a vserver environment, mknod will fail; cf. LP: #144685 + if grep -q ^VxID /proc/self/status; then + return + fi + + rm -f /lib/udev/devices/fd + ln -sn /proc/self/fd /lib/udev/devices/fd + + rm -f /lib/udev/devices/stdin + ln -sn /proc/self/fd/0 /lib/udev/devices/stdin + + rm -f /lib/udev/devices/stdout + ln -sn /proc/self/fd/1 /lib/udev/devices/stdout + + rm -f /lib/udev/devices/stderr + ln -sn /proc/self/fd/2 /lib/udev/devices/stderr + + rm -f /lib/udev/devices/core + ln -sn /proc/kcore /lib/udev/devices/core + + rm -f /lib/udev/devices/sndstat + ln -sn /proc/asound/oss/sndstat /lib/udev/devices/sndstat + + rm -f /lib/udev/devices/MAKEDEV + ln -sn /sbin/MAKEDEV /lib/udev/devices/MAKEDEV + + rm -f /lib/udev/devices/ppp + mknod -m 600 /lib/udev/devices/ppp c 108 0 + + rm -f /lib/udev/devices/loop0 + mknod -m 600 /lib/udev/devices/loop0 b 7 0 + + rm -f /lib/udev/devices/net/tun + mknod -m 600 /lib/udev/devices/net/tun c 10 200 + + rm -f /lib/udev/devices/kmem + mknod -m 640 /lib/udev/devices/kmem c 1 2 + chgrp kmem /lib/udev/devices/kmem + + # Add devices we need to start udevd itself + rm -f /lib/udev/devices/console + mknod -m 600 /lib/udev/devices/console c 5 1 + + rm -f /lib/udev/devices/null + mknod -m 600 /lib/udev/devices/null c 1 3 +} + + +# Write the initial copy of the persistent net and cd rules +seed_persistent_rules() +{ + FILE=/etc/udev/rules.d/70-persistent-net.rules + if [ ! -e $FILE ]; then + echo "# This file maintains persistent names for network interfaces." > $FILE + echo "# See udev(7) for syntax." >> $FILE + echo "#" >> $FILE + echo "# Entries are automatically added by the 75-persistent-net-generator.rules" >> $FILE + echo "# file; however you are also free to add your own entries." >> $FILE + fi + + FILE=/etc/udev/rules.d/70-persistent-cd.rules + if [ ! -e $FILE ]; then + echo "# This file maintains persistent names for CD/DVD reader and writer devices." > $FILE + echo "# See udev(7) for syntax." >> $FILE + echo "#" >> $FILE + echo "# Entries are automatically added by the 75-cd-aliases-generator.rules" >> $FILE + echo "# file; however you are also free to add your own entries provided you" >> $FILE + echo "# add the ENV{GENERATED}="1" flag to your own rules as well." >> $FILE + fi +} + + +# Notify the user that a reboot is required +reboot_required() +{ + if [ -x /usr/share/update-notifier/notify-reboot-required ]; then + /usr/share/update-notifier/notify-reboot-required + fi +} + +# Update the initramfs +update_initramfs() +{ + update-initramfs -u +} + + +# Remove Ubuntu rules in favour of upstream ones +rm_ubuntu_rules() +{ + rm_conffile /etc/udev/rules.d/05-options.rules + rm_conffile /etc/udev/rules.d/05-udev-early.rules + rm_conffile /etc/udev/rules.d/20-names.rules + rm_conffile /etc/udev/rules.d/30-cdrom_id.rules + rm_conffile /etc/udev/rules.d/40-basic-permissions.rules + rm_conffile /etc/udev/rules.d/40-permissions.rules + rm_conffile /etc/udev/rules.d/60-persistent-input.rules + rm_conffile /etc/udev/rules.d/60-persistent-storage-tape.rules + rm_conffile /etc/udev/rules.d/60-persistent-storage.rules + rm_conffile /etc/udev/rules.d/60-symlinks.rules + rm_conffile /etc/udev/rules.d/61-persistent-storage-edd.rules + rm_conffile /etc/udev/rules.d/65-id-type.rules + rm_conffile /etc/udev/rules.d/66-persistent-storage-edd.rules + rm_conffile /etc/udev/rules.d/75-cd-aliases-generator.rules + rm_conffile /etc/udev/rules.d/75-persistent-net-generator.rules + rm_conffile /etc/udev/rules.d/80-programs.rules + rm_conffile /etc/udev/rules.d/90-modprobe.rules + rm_conffile /etc/udev/rules.d/95-udev-late.rules +} + + +case "$1" in + configure) + # Upgrade from intrepid + if dpkg --compare-versions "$2" lt "136-4"; then + rm_ubuntu_rules + fi + + create_devices + seed_persistent_rules + update_initramfs + ;; + + abort-upgrade|abort-deconfigure|abort-remove) + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# +exit 0 --- udev-136.orig/debian/udev.initramfs-nfs +++ udev-136/debian/udev.initramfs-nfs @@ -0,0 +1,27 @@ +#!/bin/sh -e +# initramfs nfs-top script for udev + +PREREQ="" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +# Each call to udevsettle can take up to three minutes +if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "TIMEOUT 360" + trap "/sbin/usplash_write 'TIMEOUT 15'" 0 +fi + +# We need to wait for the network card drivers to be loaded +/sbin/udevadm settle --- udev-136.orig/debian/udev.initramfs-bottom +++ udev-136/debian/udev.initramfs-bottom @@ -0,0 +1,28 @@ +#!/bin/sh -e +# initramfs premount script for udev + +PREREQ="" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +# Stop udevd, we'll miss a few events while we run init, but we catch up +pkill udevd + +# udevd might have been in the middle of something when we killed it, +# but it doesn't matter because we'll do everything again in userspace +rm -rf /dev/.udev/queue + +# Move /dev to the real filesystem +mount -n -o move /dev ${rootmnt}/dev --- udev-136.orig/debian/udev.preinst +++ udev-136/debian/udev.preinst @@ -0,0 +1,94 @@ +#!/bin/sh -e +# This script can be called in the following ways: +# +# Before the package is installed: +# install +# +# Before removed package is upgraded: +# install +# +# Before the package is upgraded: +# upgrade +# +# +# If postrm fails during upgrade or fails on failed upgrade: +# abort-upgrade + + +# Prepare to remove a no-longer used conffile +prep_rm_conffile() +{ + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $CONFFILE '{s/ obsolete$//;s/.* //;p}}\" /var/lib/dpkg/status`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you, renaming to .dpkg-bak" + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + mv -f "$CONFFILE" "$CONFFILE".dpkg-obsolete + fi + fi +} + +# Prepare to move a conffile without triggering a dpkg question +prep_mv_conffile() { + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $CONFFILE '{s/ obsolete$//;s/.* //;p}}\" /var/lib/dpkg/status`" + if [ "$md5sum" = "$old_md5sum" ]; then + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + mv -f "$CONFFILE" "$CONFFILE".dpkg-moving + fi + fi +} + + + +# Prepare to remove Ubuntu rules in favour of upstream ones +prep_rm_ubuntu_rules() +{ + prep_rm_conffile /etc/udev/rules.d/05-options.rules + prep_rm_conffile /etc/udev/rules.d/05-udev-early.rules + prep_rm_conffile /etc/udev/rules.d/20-names.rules + prep_rm_conffile /etc/udev/rules.d/30-cdrom_id.rules + prep_rm_conffile /etc/udev/rules.d/40-basic-permissions.rules + prep_rm_conffile /etc/udev/rules.d/40-permissions.rules + prep_rm_conffile /etc/udev/rules.d/60-persistent-input.rules + prep_rm_conffile /etc/udev/rules.d/60-persistent-storage-tape.rules + prep_rm_conffile /etc/udev/rules.d/60-persistent-storage.rules + prep_rm_conffile /etc/udev/rules.d/60-symlinks.rules + prep_rm_conffile /etc/udev/rules.d/61-persistent-storage-edd.rules + prep_rm_conffile /etc/udev/rules.d/65-id-type.rules + prep_rm_conffile /etc/udev/rules.d/66-persistent-storage-edd.rules + prep_rm_conffile /etc/udev/rules.d/75-cd-aliases-generator.rules + prep_rm_conffile /etc/udev/rules.d/75-persistent-net-generator.rules + prep_rm_conffile /etc/udev/rules.d/80-programs.rules + prep_rm_conffile /etc/udev/rules.d/90-modprobe.rules + prep_rm_conffile /etc/udev/rules.d/95-udev-late.rules +} + + +case "$1" in + install|upgrade) + # Upgrade from intrepid + if dpkg --compare-versions "$2" lt "136-4"; then + prep_rm_ubuntu_rules + fi + ;; + + abort-upgrade) + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# +exit 0 --- udev-136.orig/debian/libudev0.install +++ udev-136/debian/libudev0.install @@ -0,0 +1 @@ +lib/libudev.so.* --- udev-136.orig/debian/udev.installer-startup +++ udev-136/debian/udev.installer-startup @@ -0,0 +1,23 @@ +#!/bin/sh -e +# installer startup script for udev + +# Give ourselves a tmpfs to work in +mount -t tmpfs tmpfs /dev +mknod -m 600 /dev/console c 5 1 +mknod -m 666 /dev/null c 1 3 + +# Copy over default device tree +cp -a -f /lib/udev/devices/* /dev + +# It's all over netlink now +echo "" > /proc/sys/kernel/hotplug + +# Start udevd +udevd --daemon + +# Create all device nodes, and fix up permissions and missing stuff for +# those already created (by initramfs) +/sbin/udevadm trigger +/sbin/udevadm settle + +mount -t devpts devpts /dev/pts --- udev-136.orig/debian/compat +++ udev-136/debian/compat @@ -0,0 +1 @@ +7