--- udev-154.orig/extra/udev.vim +++ udev-154/extra/udev.vim @@ -0,0 +1,45 @@ +" Vim syntax file +" Language: udev rules files +" Maintainer: Marco d'Itri +" Last Change: 2005 August +" +" This syntax file is unfinished. If you can, please clean it up and submit +" it for inclusion in the vim package. + +if exists("b:current_syntax") + finish +endif + +let b:current_syntax = "udev" + +syn keyword Ucondition ACTION ENV RESULT KERNEL SUBSYSTEM DRIVER ATTR +syn keyword Ucondition KERNELS SUBSYSTEMS DRIVERS ATTRS DEVPATH TEST +syn keyword Ucondition nextgroup=Uparambr,Uoperator +syn keyword Uaction PROGRAM NAME SYMLINK OWNER GROUP MODE RUN OPTIONS +syn keyword Uaction IMPORT GOTO LABEL +syn keyword Uaction nextgroup=Uparambr,Uoperator +syn region Uparambr start=/{/ end=/}/ contains=Uparam +syn match Uparam '[A-Za-z0-9_]*' contained +syn match Ufnmatch "[?*|]" contained +syn region Ufnmatch start=/\[/ skip=/\\\]/ end=/\]/ contained +syn match Uprintf '%[beknMmps%]\|%c{[0-9]}' contained +syn match Ustringvar '\$[a-z]*' nextgroup=Uparambr +syn match Ustring '"[^"]*"' contains=Uprintf,Ufnmatch,Ustringvar +syn match Uoperator "==\|!=\|=\|+=\|:=\|," +syn match Ueol '\\$' +syn region Ucomment start=/#/ end=/$/ +syn keyword Utodo contained TODO FIXME XXX + +hi def link Ucondition Identifier +hi def link Uaction Identifier +hi def link Uparambr Delimiter +hi def link Uparam PreProc +hi def link Ufnmatch Special +hi def link Uprintf Special +hi def link Ustringvar Function +hi def link Ustring String +hi def link Uoperator Operator +hi def link Ueol Delimiter +hi def link Ucomment Comment +hi def link Utodo Todo + --- udev-154.orig/extra/initramfs.hook +++ udev-154/extra/initramfs.hook @@ -0,0 +1,68 @@ +#!/bin/sh -e + +PREREQS="" + +prereqs() { echo "$PREREQS"; } + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + +root_over_the_network() { + if egrep -q '^/dev/(nbd|nd[a-z]|etherd/e)[^[:space:]]+[[:space:]]+/[[:space:]]' /etc/fstab; then + return 0 + elif egrep -q '^[^[:space:]#]+[[:space:]]+/[[:space:]]+nfs[234]?[[:space:]]' /etc/fstab; then + return 0 + fi + return 1 # false +} + +. /usr/share/initramfs-tools/hook-functions + +# udevd uses unix domain sockets for communication +force_load unix + +copy_exec /sbin/udevd /sbin +copy_exec /sbin/udevadm /sbin + +mkdir -p $DESTDIR/etc/udev +cp -p /etc/udev/udev.conf $DESTDIR/etc/udev/ + +mkdir -p $DESTDIR/lib/udev/rules.d/ +for rules in 50-udev-default.rules 60-persistent-storage.rules \ + 80-drivers.rules 91-permissions.rules \ + 64-md-raid.rules 60-persistent-storage-lvm.rules \ + 55-dm.rules 60-persistent-storage-dm.rules; do + if [ -e /etc/udev/rules.d/$rules ]; then + cp -p /etc/udev/rules.d/$rules $DESTDIR/lib/udev/rules.d/ + elif [ -e /lib/udev/rules.d/$rules ]; then + cp -p /lib/udev/rules.d/$rules $DESTDIR/lib/udev/rules.d/ + fi +done + +# try to autodetect the value of this configuration option +if [ -z "$NEED_PERSISTENT_NET" ] && root_over_the_network; then + NEED_PERSISTENT_NET='yes' +fi + +# Copy the rules for persistent network interface names for the benefit of +# systems which need to boot over the network. If this is enabled then the +# initramfs must be rebuilt every time a new network interface is added. +# See #414287 for details. +case "$NEED_PERSISTENT_NET" in +YES|yes|Yes|Y|y) + if [ -e /etc/udev/rules.d/70-persistent-net.rules ]; then + cp -p /etc/udev/rules.d/70-persistent-net.rules $DESTDIR/lib/udev/rules.d/ + fi + ;; +esac + +cp /lib/udev/hotplug.functions $DESTDIR/lib/udev/ +for program in firmware.agent ata_id edd_id path_id scsi_id usb_id; do + copy_exec /lib/udev/$program /lib/udev +done +copy_exec /sbin/blkid /sbin + --- udev-154.orig/extra/blacklist.conf +++ udev-154/extra/blacklist.conf @@ -0,0 +1,24 @@ +# This file lists modules which will not be loaded as the result of +# alias expansion, with the purpose of preventing the hotplug subsystem +# to load them. It does not affect autoloading of modules by the kernel. +# This file is provided by the udev package. + +# evbug is a debug tool and should be loaded explicitly +blacklist evbug + +# these drivers are very simple, the HID drivers are usually preferred +blacklist usbmouse +blacklist usbkbd + +# replaced by e100 +blacklist eepro100 + +# replaced by tulip +blacklist de4x5 + +# replaced by tmscsim +blacklist am53c974 + +# these watchdog drivers break some systems +blacklist iTCO_wdt + --- udev-154.orig/extra/links.conf +++ udev-154/extra/links.conf @@ -0,0 +1,21 @@ +# This file does not exist. Please do not ask the Debian maintainer about it. +# If you need manually created devices, create them in /lib/udev/devices/ . + +L fd /proc/self/fd +L stdin /proc/self/fd/0 +L stdout /proc/self/fd/1 +L stderr /proc/self/fd/2 +L core /proc/kcore + +D pts +D shm + +M null c 1 3 +M console c 5 1 + +# Hic sunt leones. +M ppp c 108 0 +M loop0 b 7 0 +D net +M net/tun c 10 200 + --- udev-154.orig/extra/logger.agent +++ udev-154/extra/logger.agent @@ -0,0 +1,32 @@ +#!/bin/sh -e +# +# log the event to a file +# + +cd /lib/udev/ +. ./hotplug.functions + +# provide env-like output when the real thing is not available +if [ ! -x /usr/bin/env ]; then + env() { + # bash prepends "declare -x " at the beginning of each line + export -p | sed -e 's/^\(declare -x\|export\) //' + } +fi + +# writes a copy of the current hotplug event to stdout +log_to_stdout() +{ + { + echo "HOTPLUG_TIME='$(date)'" + env + echo '' + } | egrep -v "^'$|^(_|PATH|PWD|PPID|SHLVL|HOME|IFS|OPTIND|PS[1234])=" +} + +[ "$EVENTS_LOG" ] || EVENTS_LOG='/dev/hotplug.log' + +log_to_stdout >> $EVENTS_LOG + +exit 0 + --- udev-154.orig/extra/subst_lib_name +++ udev-154/extra/subst_lib_name @@ -0,0 +1,57 @@ +#!/usr/bin/perl + +use warnings; +use strict; + +my $base = $ARGV[0] || die; + +my $file = "$base/lib/udev/rules.d/70-acl.rules"; +my $program = "$base/lib/udev/udev-acl"; +my $library = 'libglib-2.0.so.0'; + +############################################################################## +my $rules = read_file($file); + +my $libfile = library_path($program, $library) + or die "Cannot find the path of $library in $program!"; + +$rules =~ s#\@GLIB_PATH\@#$libfile#; + +print "Updating $file for $libfile.\n"; +write_file($file, $rules); + +exit 0; + +############################################################################## +sub library_path { + my ($file, $library) = @_; + + open(LDD, "ldd $file |") or die "open(ldd $file |): $!"; + my $libfile; + while () { + next unless m#^\s*(\S+)\s+=>\s+(\S+)\s+#; + next unless $1 eq $library; + $libfile = $2; + } + close LDD or die "close(ldd $file |): status=$?"; + + return $libfile; +} + +############################################################################## +sub read_file { + my ($file) = @_; + open(FILE, $file) or die "open($file): $!"; + local $/ = undef; + my $data = ; + close FILE; + return $data; +} + +sub write_file { + my ($file, $data) = @_; + open(FILE, '>', $file) or die "open(> $file): $!"; + print FILE $data; + close FILE or die "close($file): $!"; +} + --- udev-154.orig/extra/udev.startup +++ udev-154/extra/udev.startup @@ -0,0 +1,53 @@ +#!/bin/sh -e + +make_extra_nodes() { + [ -e /etc/udev/links.conf ] || return 0 + grep '^[^#]' /etc/udev/links.conf | \ + while read type name arg1; do + [ "$type" -a "$name" -a ! -e "/dev/$name" -a ! -L "/dev/$name" ] ||continue + case "$type" in + L) ln -s $arg1 /dev/$name ;; + D) mkdir -p /dev/$name ;; + M) mknod -m 600 /dev/$name $arg1 ;; + *) echo "links.conf: unparseable line ($type $name $arg1)" ;; + esac + done +} + +supported_kernel() { + case "$(uname -r)" in + 2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;; + 2.6.1[0-9]|2.6.1[0-9][!0-9]*) return 1 ;; + 2.6.2[0-5]|2.6.2[0-5][!0-9]*) return 1 ;; + esac + return 0 +} + +if ! supported_kernel; then + echo "udev requires a kernel >= 2.6.26, not started." + exit 0 +fi + +echo > /sys/kernel/uevent_helper + +if ! grep -E -q "^[^[:space:]]+ /dev (dev)?tmpfs" /proc/mounts; then + mount -n -o mode=0755 -t tmpfs tmpfs /dev +fi +make_extra_nodes + +udevd --daemon --resolve-names=never + +mkdir -p /dev/.udev/queue/ +udevadm trigger --action=add + +mount /dev/pts + +udevadm settle || true + +if [ -d /sys/bus/scsi ]; then + modprobe -q scsi_wait_scan && modprobe -r scsi_wait_scan || true + udevadm settle || true +fi + +exit 0 + --- udev-154.orig/extra/net.agent +++ udev-154/extra/net.agent @@ -0,0 +1,102 @@ +#!/bin/sh -e +# +# run /sbin/{ifup,ifdown} with the --allow=hotplug option. +# + +. /lib/udev/hotplug.functions + +if [ -z "$INTERFACE" ]; then + mesg "Bad net.agent invocation: \$INTERFACE is not set" + exit 1 +fi + +check_program() { + [ -x $1 ] && return 0 + + mesg "ERROR: $1 not found. You need to install the ifupdown package." + mesg "net.agent $ACTION event for $INTERFACE not handled." + exit 1 +} + +wait_for_interface() { + local interface=$1 + + while :; do + local state="$(cat /sys/class/net/$interface/operstate 2>/dev/null || true)" + if [ "$state" != down ]; then + return 0 + fi + sleep 1 + done +} + +net_ifup() { + check_program /sbin/ifup + + if grep -q '^auto[[:space:]].*\<'"$INTERFACE"'\>' \ + /etc/network/interfaces; then + # this $INTERFACE is marked as "auto" + IFUPARG='\('$INTERFACE'\|-a\|--all\)' + else + IFUPARG=$INTERFACE + fi + + if ps -C ifup ho args | grep -q "$IFUPARG"; then + debug_mesg "Already ifup-ing interface $INTERFACE" + exit 0 + fi + + wait_for_interface lo + + exec ifup --allow=hotplug $INTERFACE +} + +net_ifdown() { + check_program /sbin/ifdown + + if ps -C ifdown ho args | grep -q $INTERFACE; then + debug_mesg "Already ifdown-ing interface $INTERFACE" + exit 0 + fi + + exec ifdown --allow=hotplug $INTERFACE +} + +do_everything() { + +case "$ACTION" in + add) + # these interfaces generate hotplug events *after* they are brought up + case $INTERFACE in + ppp*|ippp*|isdn*|plip*|lo|irda*|ipsec*) + exit 0 ;; + esac + + net_ifup + ;; + + remove) + # the pppd persist option may have been used, so it should not be killed + case $INTERFACE in + ppp*) + exit 0 ;; + esac + + net_ifdown + ;; + + *) + debug_mesg "NET $ACTION event not supported" + exit 1 + ;; +esac + +} + +# When udev_log="debug" stdout and stderr are pipes connected to udevd. +# They need to be closed or udevd will wait for this process which will +# deadlock with udevsettle until the timeout. +do_everything > /dev/null 2> /dev/null & + +exit 0 + --- udev-154.orig/extra/firmware.agent +++ udev-154/extra/firmware.agent @@ -0,0 +1,35 @@ +#!/bin/sh -e +# +# firmware loader agent +# + +cd /lib/udev/ +. ./hotplug.functions + +if [ ! -e /sys/$DEVPATH/loading ]; then + mesg "/sys/$DEVPATH/ does not exist" + exit 1 +fi + +FIRMWARE_DIRS="/lib/firmware/$(uname -r) /lib/firmware /usr/local/lib/firmware /usr/lib/hotplug/firmware" + +for DIR in $FIRMWARE_DIRS; do + [ -e "$DIR/$FIRMWARE" ] || continue + echo 1 > /sys/$DEVPATH/loading + cat "$DIR/$FIRMWARE" > /sys/$DEVPATH/data + echo 0 > /sys/$DEVPATH/loading + exit 0 +done + +# the firmware was not found +echo -1 > /sys/$DEVPATH/loading + +if [ -d /dev/.udev/ ]; then + mkdir -p /dev/.udev/firmware-missing/ + file=$(echo "$FIRMWARE" | sed -e 's#/#\\x2f#g') + ln -s -f "$DEVPATH" /dev/.udev/firmware-missing/$file +fi + +debug_mesg "Cannot find the $FIRMWARE firmware" +exit 1 + --- udev-154.orig/extra/fbdev-blacklist.conf +++ udev-154/extra/fbdev-blacklist.conf @@ -0,0 +1,25 @@ +# This file blacklists the framebuffer drivers. + +blacklist arkfb +blacklist aty128fb +blacklist atyfb +blacklist radeonfb +blacklist cirrusfb +blacklist cyber2000fb +blacklist gx1fb +blacklist gxfb +blacklist lxfb +blacklist kyrofb +blacklist matroxfb_base +blacklist mb862xxfb +blacklist neofb +blacklist nvidiafb +blacklist pm2fb +blacklist pm3fb +blacklist s3fb +blacklist savagefb +blacklist sisfb +blacklist tdfxfb +blacklist tridentfb +blacklist viafb +blacklist vt8623fb --- udev-154.orig/extra/initramfs.top +++ udev-154/extra/initramfs.top @@ -0,0 +1,40 @@ +#!/bin/sh -e + +PREREQS="" + +prereqs() { echo "$PREREQS"; } + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + +echo > /sys/kernel/uevent_helper + +udevd --daemon --resolve-names=never + +mkdir -p /dev/.udev/queue/ +udevadm trigger --action=add +udevadm settle || true + +if [ -d /sys/bus/scsi ]; then + modprobe -q scsi_wait_scan && modprobe -r scsi_wait_scan || true + udevadm settle || true +fi + +# If the rootdelay parameter has been set, we wait a bit for devices +# like usb/firewire disks to settle. +if [ "$ROOTDELAY" ]; then + if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "TIMEOUT $(($ROOTDELAY + 5))" + fi + sleep $ROOTDELAY + if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "TIMEOUT 15" + fi +fi + +# Leave udev running to process events that come in out-of-band (like USB +# connections) --- udev-154.orig/extra/initramfs.bottom +++ udev-154/extra/initramfs.bottom @@ -0,0 +1,30 @@ +#!/bin/sh -e + +PREREQS="" + +prereqs() { echo "$PREREQS"; } + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + +# Stop udevd, we'll miss a few events while we run init, but we catch up +for proc in /proc/[0-9]*; do + [ -x $proc/exe ] || continue + if [ "$(readlink $proc/exe)" = /sbin/udevd ]; then + # errors must be ignored due to a race with udevd child processes + # naturally terminating + kill ${proc#/proc/} 2> /dev/null || true + fi +done + +# move the /dev tmpfs to the rootfs +mount -n -o move /dev $rootmnt/dev + +# create a temporary symlink to the final /dev for other initramfs scripts +nuke /dev +ln -s $rootmnt/dev /dev + --- udev-154.orig/extra/make-fbdev-blacklist +++ udev-154/extra/make-fbdev-blacklist @@ -0,0 +1,26 @@ +#!/bin/sh +# This script should be run before building the package every time a new +# kernel is released. + +set -e + +BL='fbdev-blacklist.conf' + +if [ -e extra/$BL ]; then cd extra; fi + +{ +printf "# This file blacklists the framebuffer drivers.\n\n" + +find /lib/modules/$(uname -r)/kernel/drivers/video -type f | sort | \ +while read file; do + /sbin/modinfo $file | grep -q '^alias: *pci:' \ + && echo blacklist $(basename $file .ko) || true +done +} > $BL.tmp + +if diff --unified=0 $BL $BL.tmp; then + rm $BL.tmp +else + printf "\n\n\n$BL.tmp has changes!\n\n\n\n" +fi + --- udev-154.orig/extra/udev.base-installer +++ udev-154/extra/udev.base-installer @@ -0,0 +1,7 @@ +#!/bin/sh -e + +RULESDIR=etc/udev/rules.d + +mkdir -p /target/$RULESDIR +cp /$RULESDIR/70-persistent-*.rules /target/$RULESDIR 2>/dev/null || true + --- udev-154.orig/extra/create_static_nodes +++ udev-154/extra/create_static_nodes @@ -0,0 +1,35 @@ +#!/bin/sh -e + +make_extra_nodes() { + if [ "$(echo /lib/udev/devices/*)" != "/lib/udev/devices/*" ]; then + cp --archive --update /lib/udev/devices/* /$1/ + fi + + [ -e /etc/udev/links.conf ] || return 0 + + grep '^[^#]' /etc/udev/links.conf | \ + while read type name arg1; do + [ "$type" -a "$name" -a ! -e "/$1/$name" -a ! -L "/$1/$name" ] || continue + case "$type" in + L) ln -s $arg1 /$1/$name ;; + D) mkdir -p /$1/$name ;; + M) mknod -m 600 /$1/$name $arg1 ;; + *) echo "links.conf: unparseable line ($type $name $arg1)" >&2 ;; + esac + + if [ -x /sbin/restorecon ]; then + /sbin/restorecon /dev/$name + fi + done +} + +if [ "$1" ]; then + devdir="$1" +else + devdir='/dev' +fi + +make_extra_nodes $devdir + +exit 0 + --- udev-154.orig/extra/hotplug.functions +++ udev-154/extra/hotplug.functions @@ -0,0 +1,61 @@ +# Setup and shell utility functions for use in hotplug agents. +# vim: syntax=sh +# +# 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. + +if [ "$UDEV_LOG" ] && [ "$UDEV_LOG" -ge 7 ]; then + DEBUG=yes +fi + +PATH='/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' + +[ -e /etc/default/hotplug ] && . /etc/default/hotplug + + +if [ -x /usr/bin/logger ]; then + LOGGER=/usr/bin/logger +elif [ -x /bin/logger ]; then + LOGGER=/bin/logger +else + unset LOGGER +fi + +# for diagnostics +if [ -t 1 -a -z "$LOGGER" ] || [ ! -e '/dev/log' ]; then + mesg() { + echo "$@" >&2 + } +elif [ -t 1 ]; then + mesg() { + echo "$@" + $LOGGER -t "${0##*/}[$$]" "$@" + } +else + mesg() { + $LOGGER -t "${0##*/}[$$]" "$@" + } +fi + +debug_mesg() { + [ -z "$DEBUG" -o "$DEBUG" = no ] && return 0 + mesg "$@" +} + +wait_for_file() { + local file=$1 + local timeout=$2 + [ "$timeout" ] || timeout=120 + + local count=$timeout + while [ $count != 0 ]; do + [ -e "$file" ] && return 0 + sleep 1 + count=$(($count - 1)) + done + + mesg "$file did not appear before the timeout!" + exit 1 +} + --- udev-154.orig/extra/dsl-modem.agent +++ udev-154/extra/dsl-modem.agent @@ -0,0 +1,102 @@ +#!/bin/sh -e +# +# Copyright 2008 Marco d'Itri +# +# This script automatically starts networking when a DSL modem is connected +# and its ATM interface is ready. +# +# +# For PPPoE you can set PROTOCOL=2684bridged and then add something like +# this to /etc/network/interfaces: +# +# allow-hotplug nas0 +# iface nas0 inet manual +# pre-up ip link set up $IFACE +# up pppd persist call dsl-provider +# +# +# Support for CLIP (Classical IP over ATM, RFC 1577) may be incomplete. +# + +# defaults +[ "$IP_INTERFACE" ] || IP_INTERFACE='nas0' +[ "$VP" ] || VP='8' +[ "$VC" ] || VC='35' + +if [ -e /etc/default/dsl-modem.agent ]; then + . /etc/default/dsl-modem.agent +fi + +# just exit unless a protocol is configured +[ "$PROTOCOL" ] || exit 0 + +############################################################################## +wait_and_run_pppd() { + # this guarantees that everything pppd needs to work is ready + wait_for_file /dev/log + + exec pppd persist call ${PPP_PEER:-dsl-provider} +} + +wait_and_run_br2684ctl() { + wait_for_file /dev/log + + exec br2684ctl $BR2684_ARGS -b -c ${IP_INTERFACE#nas} \ + -a ${ATM_INTERFACE}.${VP}.${VC} +} + +wait_and_run_atmarp() { + wait_for_file /var/run/atmarpd.table + + # create the IP interface + atmarp -c ${IP_INTERFACE:-atm0} + # setup the VC +# atmarp -s 192.0.2.254 ${ATM_INTERFACE}.${VP}.${VC} + exec ifup ${IP_INTERFACE:-atm0} # XXX +} + +############################################################################## +ATM_DRIVER=${NAME%%[0-9]*} +ATM_INTERFACE=${NAME##$ATM_DRIVER} + +# is this a DSL modem? +case "$ATM_DRIVER" in +cxacru|speedtch|ueagle-atm|xusbatm|UNICORN) ;; +*) exit 0 ;; +esac + +cd /lib/udev/ +. ./hotplug.functions + +############################################################################## +case "$ACTION" in +add) + case "$PROTOCOL" in + pppoa) wait_and_run_pppd & ;; + 2684bridged) wait_and_run_br2684ctl & ;; + clip) wait_and_run_atmarp & ;; + esac + ;; + +remove) + case "$PROTOCOL" in + pppoa) + # pppd will terminate automatically + ;; + 2684bridged) + PIDFILE="/var/run/$IP_INTERFACE.pid" + if [ -e $PIDFILE ]; then + kill $(cat $PIDFILE) + rm -f $PIDFILE + fi + ;; + clip) + ifdown ${IP_INTERFACE:-atm0} # XXX +# atmarp -d 192.0.2.254 + ;; + esac + ;; +esac + +exit 0 + --- udev-154.orig/debian/libudev-dev.files +++ udev-154/debian/libudev-dev.files @@ -0,0 +1,5 @@ +usr/include/libudev.h +usr/lib/libudev.a +usr/lib/libudev.so +usr/lib/pkgconfig/libudev.pc +usr/share/gtk-doc/html/libudev/ --- udev-154.orig/debian/udev.init +++ udev-154/debian/udev.init @@ -0,0 +1,313 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: udev +# Required-Start: mountkernfs +# Required-Stop: +# Default-Start: S +# Default-Stop: +# X-Interactive: true +# Short-Description: Start udevd, populate /dev and load drivers. +### END INIT INFO + +# we need to unmount /dev/pts/ and remount it later over the tmpfs +unmount_devpts() { + if mountpoint -q /dev/pts/; then + umount -n -l /dev/pts/ + fi + + if mountpoint -q /dev/shm/; then + umount -n -l /dev/shm/ + fi +} + +# mount a tmpfs over /dev, if somebody did not already do it +mount_tmpfs() { + if grep -E -q "^[^[:space:]]+ /dev (dev)?tmpfs" /proc/mounts; then + return + fi + + if ! mount -n -o size=$tmpfs_size,mode=0755 -t tmpfs tmpfs /dev; then + log_failure_msg "udev requires tmpfs support, not started." + log_end_msg 1 + fi + + return 0 +} + +create_dev_makedev() { + if [ -e /sbin/MAKEDEV ]; then + ln -sf /sbin/MAKEDEV /dev/MAKEDEV + else + ln -sf /bin/true /dev/MAKEDEV + fi +} + +supported_kernel() { + case "$(uname -r)" in + 2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;; + 2.6.1[0-9]|2.6.1[0-9][!0-9]*) return 1 ;; + 2.6.2[0-5]|2.6.2[0-5][!0-9]*) return 1 ;; + esac + return 0 +} + +# shell version of /usr/bin/tty +my_tty() { + [ -x /bin/readlink ] || return 0 + [ -e /proc/self/fd/0 ] || return 0 + readlink --silent /proc/self/fd/0 || true +} + +warn_if_interactive() { + if [ "$RUNLEVEL" = "S" -a "$PREVLEVEL" = "N" ]; then + return + fi + + TTY=$(my_tty) + if [ -z "$TTY" -o "$TTY" = "/dev/console" -o "$TTY" = "/dev/null" ]; then + return + fi + + printf "\n\n\nIt has been detected that the command\n\n\t$0 $*\n\n" + printf "has been run from an interactive shell.\n" + printf "It will probably not do what you expect, so this script will wait\n" + printf "60 seconds before continuing. Press ^C to stop it.\n" + printf "RUNNING THIS COMMAND IS HIGHLY DISCOURAGED!\n\n\n\n" + sleep 60 +} + +create_dev_root_rule() { + local udevroot="$1" + [ -e $udevroot/rules.d/61-dev-root-link.rules ] && return 0 + + eval $(udevadm info --export --export-prefix=ROOT_ --device-id-of-file=/ \ + || true) + [ "$ROOT_MAJOR" -a "$ROOT_MINOR" ] || return 0 + + echo 'ACTION=="add|change", SUBSYSTEM=="block", ENV{MAJOR}=="'$ROOT_MAJOR'", ENV{MINOR}=="'$ROOT_MINOR'", SYMLINK+="root"' \ + > $udevroot/root-link-rule + mv $udevroot/root-link-rule $udevroot/rules.d/61-dev-root-link.rules +} + +############################################################################## + +[ -x /sbin/udevd ] || exit 0 + +PATH="/sbin:/bin" + +# defaults +tmpfs_size="10M" +udev_root="/dev" + +if [ -e /etc/udev/udev.conf ]; then + . /etc/udev/udev.conf +fi + +. /lib/lsb/init-functions + +if ! supported_kernel; then + log_failure_msg "udev requires a kernel >= 2.6.26, not started." + log_end_msg 1 +fi + +if [ ! -e /proc/filesystems ]; then + log_failure_msg "udev requires a mounted procfs, not started." + log_end_msg 1 +fi + +if ! grep -q '[[:space:]]tmpfs$' /proc/filesystems; then + log_failure_msg "udev requires tmpfs support, not started." + log_end_msg 1 +fi + +if [ ! -d /sys/class/ ]; then + log_failure_msg "udev requires a mounted sysfs, not started." + log_end_msg 1 +fi + +if [ ! -e /sys/kernel/uevent_helper ]; then + log_failure_msg "udev requires hotplug support, not started." + log_end_msg 1 +fi + +############################################################################## + +# this is experimental and may not work well +if [ "$UDEV_DISABLED" = "yes" ]; then + udev_root=/etc/udev/.dev + export UDEV_ROOT=$udev_root +fi + +udev_root=${udev_root%/} + +if [ "$udev_root" != "/dev" ]; then + log_warning_msg "udev_root != /dev/" + +case "$1" in + start) + if [ -e "$udev_root/.udev/" ]; then + if mountpoint -q $udev_root/; then + log_failure_msg "udev is already active on $udev_root." + log_end_msg 1 + else + log_warning_msg ".udev/ already exists on the static $udev_root!" + fi + fi + + echo > /sys/kernel/uevent_helper + + mount -n -o size=$tmpfs_size,mode=0755 -t tmpfs tmpfs $udev_root + + log_daemon_msg "Starting the hotplug events dispatcher" "udevd" + if udevd --daemon; then + log_end_msg $? + else + log_end_msg $? + fi + + mkdir -p $udev_root/.udev/queue/ $udev_root/.udev/rules.d/ + create_dev_root_rule $udev_root/.udev/ + + log_action_begin_msg "Synthesizing initial hotplug events" + if udevadm trigger --action=add; then + log_action_end_msg $? + else + log_action_end_msg $? + fi + + ;; + stop) + log_daemon_msg "Stopping the hotplug events dispatcher" "udevd" + if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then + log_end_msg $? + else + log_end_msg $? + fi + + log_action_begin_msg "Unmounting $udev_root" + # unmounting with -l should never fail + if umount -n -l $udev_root; then + log_action_end_msg $? + else + log_action_end_msg $? + fi + ;; + + restart) + $0 stop + $0 start + ;; + + reload|force-reload) + udevadm control --reload-rules + ;; + + *) + echo "Usage: /etc/init.d/udev {start|stop|restart|reload|force-reload}" + exit 1 + ;; +esac + + exit 0 +fi # udev_root != /dev + +############################################################################## + +# When modifying this script, do not forget that between the time that the +# new /dev has been mounted and udevadm trigger has been run there will be +# no /dev/null. This also means that you cannot use the "&" shell command. + +case "$1" in + start) + if [ -e "$udev_root/.udev/" ]; then + if mountpoint -q $udev_root/; then + TMPFS_MOUNTED=1 + else + log_warning_msg ".udev/ already exists on the static $udev_root!" + fi + else + warn_if_interactive + fi + + echo > /sys/kernel/uevent_helper + + if [ -z "$TMPFS_MOUNTED" ]; then + unmount_devpts + mount_tmpfs + [ -d /proc/1 ] || mount -n /proc + else + # and clean up the database of the initramfs udev + rm -rf /dev/.udev/ + fi + + # set the SELinux context for devices created in the initramfs + [ -x /sbin/restorecon ] && /sbin/restorecon -R /dev + + # /dev/null must be created before udevd is started + /lib/udev/create_static_nodes || true + + log_daemon_msg "Starting the hotplug events dispatcher" "udevd" + if udevd --daemon; then + log_end_msg $? + else + log_end_msg $? + fi + + mkdir -p /dev/.udev/queue/ /dev/.udev/rules.d/ + create_dev_root_rule /dev/.udev/ + + log_action_begin_msg "Synthesizing the initial hotplug events" + if udevadm trigger --action=add; then + log_action_end_msg $? + else + log_action_end_msg $? + fi + + create_dev_makedev + + # wait for the udevd childs to finish + log_action_begin_msg "Waiting for /dev to be fully populated" + if udevadm settle; then + log_action_end_msg 0 + else + log_action_end_msg 0 'timeout' + fi + ;; + + stop) + log_daemon_msg "Stopping the hotplug events dispatcher" "udevd" + if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then + log_end_msg $? + else + log_end_msg $? + fi + ;; + + restart) + log_daemon_msg "Stopping the hotplug events dispatcher" "udevd" + if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then + log_end_msg $? + else + log_end_msg $? || true + fi + + log_daemon_msg "Starting the hotplug events dispatcher" "udevd" + if udevd --daemon; then + log_end_msg $? + else + log_end_msg $? + fi + ;; + + reload|force-reload) + udevadm control --reload-rules + ;; + + *) + echo "Usage: /etc/init.d/udev {start|stop|restart|reload|force-reload}" + exit 1 + ;; +esac + +exit 0 + --- udev-154.orig/debian/changelog +++ udev-154/debian/changelog @@ -0,0 +1,2058 @@ +udev (154-1) unstable; urgency=medium + + * New upstream release. Fixes: + + Reset the priority of child processes. (Closes: #581235) + + -- Marco d'Itri Wed, 12 May 2010 13:16:26 +0200 + +udev (153-2) unstable; urgency=high + + * Install input_id in udev-gtk-udeb instead of the libtool wrapper script. + (Closes: #580129) + + -- Marco d'Itri Tue, 04 May 2010 00:43:16 +0200 + +udev (153-1) unstable; urgency=low + + * New upstream release. Fixes: + + deletion of symlinks created by some buggy configurations. + (Closes: #550152) + + some issues related to CD/DVD burners. (Closes: #573402, #577256) + + Logitech keyboards broken by the broken fix for #567237. + (Closes: #575548, #576441) + + documentation of the WAIT_FOR timeout. (Closes: #578049) + * Start udev in the initramfs in the init-top instead of the premount + hook. (Closes: #543717, #564010) + * Moved 60-persistent-input.rules from udev-gtk-udeb to udev-udeb. + (Closes: #575947) + + -- Marco d'Itri Thu, 22 Apr 2010 23:42:39 +0200 + +udev (151-3) unstable; urgency=low + + * Fix switching Logitech bluetooth adapters into hci mode. (Closes: #567237) + * Have libudev0 depend on the same version of udev because the private + udev data is guaranteed to be unstable. (Closes: #573255) + * persistent-input.rules: added again by-path links for PCI input devices. + (Closes: #573352) + * Added the udev-gtk-udeb udeb package which contains libudev and input_id + for the graphical installer. + Based on a patch provided by Cyril Brulebois. (Closes: #573111) + + -- Marco d'Itri Mon, 15 Mar 2010 02:18:20 +0100 + +udev (151-2) unstable; urgency=high + + * Build-depend on libc6.1 on alpha and ia64. (Closes: #569956) + * For the benefit of people who do not RTFM, explain in README.Debian + how to disable persistent naming for network interfaces. + (Closes: #570027) + + -- Marco d'Itri Fri, 19 Feb 2010 01:16:55 +0100 + +udev (151-1) unstable; urgency=low + + * New upstream release. Fixes: + + Samsung N140 keymap. (Closes: #565824) + * Only copy 70-persistent-net.rules to the initramfs if the system boots + over the network. Some users may need to force this in the initramfs + configuration. (Closes: #414287) + * Skip the kernel features checks in preinst if udev is not running (e.g. + the system is actually a chroot or running in a container of some sort). + (Closes: 566000) + * Recognize in preinst if one of the new -trunk kernel packages is being + installed. (Closes: #566171) + * Removed blacklisting of all video-related drivers and blacklist only + the framebuffer drivers in fbdev-blacklist.conf. + * Removed the watchdog drivers from the modprobe blacklist. + * permissions.rules: removed the rule for iRiver devices, which should be + managed with ACLs instead like other media players. + * Removed patch skip_missing_rules_files: it is not needed anymore because + now the rules files are (re)read only after being closed. + * Install firmware.agent in the initramfs even if the update-initramfs + scripts are supposed to do it anyway, just to be sure. + * Tightened versioned build dependencies on libtool, libc6-dev and + linux-libc-dev. (Closes: #568914, #569006, #569007) + + -- Marco d'Itri Mon, 15 Feb 2010 04:45:25 +0100 + +udev (150-2) unstable; urgency=medium + + * Print the right error message in preinst when CONFIG_SYSFS_DEPRECATED + is set. (Closes: #564288) + * Make sure to relabel /dev for SELinux in all code paths of the init + script. (Closes: #564196) + * Updated one or more debconf translations. (Closes: #564193) + + -- Marco d'Itri Sat, 09 Jan 2010 04:45:14 +0100 + +udev (150-1) unstable; urgency=medium + + * New upstream release. Fixes: + + Samsung R70/R71 keymap. (Closes: #561711) + + Better document IMPORT{program}. (Closes: #550206) + * Updated preinst to abort if the running kernel supports the + long-deprecated CONFIG_SYSFS_DEPRECATED feature. + This means that starting from this release udev will not work with + the official Debian kernels from lenny. + * Updated the rules files names in writing_udev_rules. (Closes: #563855) + * Updated multiple debconf translations. (Closes: #562935) + + -- Marco d'Itri Fri, 08 Jan 2010 00:52:23 +0100 + +udev (149-2) unstable; urgency=low + + * Backported from git two patches which fix segfaults. (Closes: #561279) + * Removed the obsolete parts of NEWS.Debian.gz (Closes: #562493) + * Support translating the title of the upgrade debconf notice. + (Closes: #560319) + + -- Marco d'Itri Sat, 26 Dec 2009 14:25:29 +0100 + +udev (149-1) unstable; urgency=medium + + * New upstream release. + * Do not mount the tmpfs in the init script if /dev is devtmpfs. + * Autoreconf when building to update libtool. (Closes: #558398) + + -- Marco d'Itri Tue, 08 Dec 2009 14:51:30 +0100 + +udev (148-2) unstable; urgency=high + + * Backported commit da327a9e to prevent input_id getting stuck in an + infinite loop. (Closes: #559264, #559268) + + -- Marco d'Itri Thu, 03 Dec 2009 11:27:38 +0100 + +udev (148-1) unstable; urgency=medium + + * New upstream release. + * postinst: fixed write_interfaces_rules() to use the current udevadm API. + (Closes: #557904) + * README.Debian: fixed a typo. (Closes: #556183) + * Switched to the upstream 60-persistent-input.rules. + + -- Marco d'Itri Wed, 02 Dec 2009 16:40:19 +0100 + +udev (147-5) unstable; urgency=high + + * Backported commit 89179107 to prevent ata_id from blanking rewriteable + media. (Closes: #556635) + * Added patch add_acl_firewire: apply consolekit ACLs to some firewire + devices. (Closes: #557234) + * Ship the pre-built documentation. (See #555111) + + -- Marco d'Itri Tue, 24 Nov 2009 01:45:00 +0100 + +udev (147-4) unstable; urgency=medium + + * *Really* check for 2.6.26 kernels. (Closes: #555903) + + -- Marco d'Itri Thu, 12 Nov 2009 17:09:44 +0100 + +udev (147-3) unstable; urgency=medium + + * Really check for 2.6.26 kernels. (Closes: #555903) + * Removed patch sleep_on_broken_signalfd which is only needed for 2.6.22 + kernels. + * Added patch skip_missing_rules_files: tries to suppress spurious + log messages. (Closes: #555792) + + -- Marco d'Itri Thu, 12 Nov 2009 15:12:46 +0100 + +udev (147-2) unstable; urgency=medium + + * Added patch old_cloexec: reversed O_CLOEXEC changes to try to + support 2.6.26 kernels. + + -- Marco d'Itri Wed, 11 Nov 2009 15:10:21 +0100 + +udev (147-1) unstable; urgency=medium + + * Earliest kernel release supported raised from 2.6.22 to 2.6.27. + (Closes: #555614) + + -- Marco d'Itri Tue, 10 Nov 2009 17:35:37 +0100 + +udev (147~git20091109-1) unstable; urgency=medium + + * New upstream snapshot. + + Fixes a condition which could cause udevadm settle to wait for the + timeout. (Closes: #551798, #554364) + * Recognize in preinst kernel symbols with a leading dot, found at least + on powerpc64 systems. (Closes: #552778) + * Breaks consolekit << 0.4.1. + + -- Marco d'Itri Tue, 10 Nov 2009 04:26:29 +0100 + +udev (146-6) unstable; urgency=high + + * Prevent the initramfs script and everything else after that from + failing when an initramfs udevd process waiting to be killed has + already exited. (Closes: #535130, #552248) + * Added patch sleep_on_broken_signalfd: log if the kernel is broken and + returns 0 to reads on the signalfd fd. (Closes: #551743) + * Documented in the preinst error message how to force an upgrade when + the kernel does not support inotify(2) and signalfd(2) and the admin + is looking for troubles. (Closes: #551140) + * Conflict with libc6 << 2.9-22 because older releases break signalfd(2) + on kernels without signalfd4(2). (Closes: #552076) + * Use dh_girepository, so depend on gobject-introspection >= 0.6.5-3. + (Closes: #551567) + + -- Marco d'Itri Sun, 25 Oct 2009 20:30:45 +0100 + +udev (146-5) unstable; urgency=medium + + * Abort upgrades in preinst instead of postinst if the kernel lacks + any of the mandatory features required by udev. + * Updated patch fix_sigmask: *really* restore the signal mask before + executing event RUN commands. (Closes: #549702) + * Added patch serialize_events: backported a fix related to serial + devices. (Closes: #550032) + + -- Marco d'Itri Thu, 08 Oct 2009 21:56:04 +0200 + +udev (146-4) unstable; urgency=high + + * Restore the signal mask before executing event RUN commands. + (Closes: #549702) + * Earliest kernel release supported raised from 2.6.18 to 2.6.22. + * Copy 64-md-raid.rules in the initramfs because the mdadm package + does not do it. (Closes: #549275) + * Copy 91-permissions.rules too because there is at least one package + which run as non-root in the initramfs. (Closes: #549585) + * permissions.rules: removed usage of group scanner which is not one + of the standard groups in base-passwd. (Closes: #549311) + * Removed the rules needed to work around bugs in now unsupported + kernel releases. + + -- Marco d'Itri Tue, 06 Oct 2009 09:01:08 +0200 + +udev (146-3) unstable; urgency=low + + * net.agent: do not ignore the tun/tap devices because they actually behave + like normal interfaces, at least on recent kernels. (Closes: #547790) + * Enabled introspection support, this adds the package gir1.0-gudev-1.0. + * permissions.rules: added raw USB devices of printers in group lp. + * Made udevadm report connection refused errors (backport). + (Closes: #545296) + * hotplug.functions: fixed an error in the test for $UDEV_LOG. + (Closes: #547004) + + -- Marco d'Itri Sat, 26 Sep 2009 23:55:08 +0200 + +udev (146-2) experimental; urgency=medium + + * persistent-storage.rules: updated to deal with ata_id now reporting the + model name in $ID_SERIAL. (Closes: #543452) + * persistent-storage.rules: added persistent links for mspblk* devices. + * persistent-storage.rules: do not run the *_id programs on virtuo devices. + * persistent-storage.rules: create persistent links for Xen xvd* devices. + * Copy in the initramfs only the rules files which are needed to mount + the root. + * permissions.rules: changed nvram to group kmem mode 640. + * permissions.rules: removed the rules referencing the non standard + groups rdma, kvm, fuse. (Closes: #532667) + * Removed patch lookup_user_verbosity because now all users are supposed + to exist. + * Make libgudev-1.0-dev depend on libglib2.0-dev. (Closes: #543427) + * Removed the .la files. (Closes: #543660) + * Added firmware.agent to the udeb. + * Stop creating /usr/lib/hotplug/firmware/, firmwares belong in the root. + * writing_udev_rules updated for the new command names. (Closes: #543708) + * hotplug.functions split out from the standard rule_generator.functions. + * Recommend usbutils and pciutils for {pci,usb}.ids. + + -- Marco d'Itri Tue, 01 Sep 2009 13:43:57 +0200 + +udev (146-1) experimental; urgency=low + + * New upstream release. + + vol_id and libvolume_id have been removed. (Closes: #500883, #534765) + Breaks: dmsetup (<< 2.02.51-1), mdadm (<< 3.0-3) + + Introduced libgudev-1.0. + + Finally removed the udevinfo compatibility symlink. + + Applies ACLs on /dev nodes if ConsoleKit is active. + * Added patch test_for_glib: do not run udev-acl unless glib is installed. + * Stop copying /etc/udev/rules.d/ in the initramfs. + * Renamed some rules files for uniformity with other distributions: + 50-udev.rules => 50-udev-default.rules, + 95-late.rules => 95-udev-late.rules. + + -- Marco d'Itri Sat, 22 Aug 2009 05:50:20 +0200 + +udev (0.141-2) unstable; urgency=high + + * s/SYSFS/ATTRS/g in persistent-net.rules on upgrades. (Closes: #525516) + * Run modprobe scsi_wait_scan in the initramfs before udevadm settle. + * postinst: use --subsystem-match instead of --subsystem. (Closes: #530910) + * postinst: do not try to start the daemon when run by debootstrap + --second-stage because start-stop-daemon is not functional. + (Closes: 520742) + * Added patch fix-path_id-bashism. (Closes: #530213) + * Added X-Interactive: true to the init script. (Closes: #538437) + * persistent-input.rules: add links for USB/platform non-kbd/mouse + devices. (Closes: #501503) + * persistent-input.rules: improve the by-path links for GPIO devices. + (Closes: #525537) + * persistent-input.rules: exclude digitizers from the joystick class. + * persistent-storage.rules: run edd_id on cciss devices. (Closes: #524906) + * drivers.rules: added workaround to load the drivers for Sparc VIO + devices. (Closes: #526621) + * persistent-net-generator.rules: whitelist some MAC addresses which + violate the local/global scheme. + * permissions.rules: fixed the names of ieee1394 devices. (Closes: #532067) + * permissions.rules: added (some) firewire-core devices with group video. + * permissions.rules: added cpu[0-9]* mode 444. + * permissions.rules: added rfkill mode 644. + * README.Debian: CONFIG_USB_DEVICE_CLASS too should not be defined. + + -- Marco d'Itri Sun, 16 Aug 2009 03:17:54 +0200 + +udev (0.141-1) unstable; urgency=high + + * New upstream release. Fixes: + + a local privilege escalation to root exploitable by spoofed netlink + messages (CVE-2009-1185). + + a possible local DoS (udevd crash) (CVE-2009-1186). + * permissions.rules: correctly ignore the removable flag for aacraid + devices. (Closes: #462655) + * persistent-storage.rules: fixed matching of cciss non-partition devices. + (Closes: #523019) + * Use --reload-rules instead of --reload_rules in the init script. + (Closes: #523038) + * Updated README.Debian. + + -- Marco d'Itri Sat, 18 Apr 2009 04:52:32 +0200 + +udev (0.140-2) unstable; urgency=low + + * On upgrade, replace instances of ATTRS{} in persistent-net.rules with + ATTR{} otherwise they will not match anymore because now all *S{} keys + must match the same kobject. (Closes: #521521) + (Stolen from the Ubuntu package. LP: #329106) + * Backported a fix to not make "udevadm test" chmod /dev/. (Closes: #521404) + * permissions.rules: added mISDNtimer group dialout. (Closes: #521845) + * persistent-storage.rules: ignore mtd[0-9]* and mtdblock[0-9]* devices. + * Made udevd not resolve names/groups in d-i. + + -- Marco d'Itri Mon, 30 Mar 2009 19:42:18 +0200 + +udev (0.140-1) unstable; urgency=low + + * New upstream release. (Closes: #509154) Fixes: + + Typo in usb_id. (Closes: #495645, #508458) + * Removed support for upgrading from sarge. + * Upgraded debhelper level to 5. + * Removed patch enable_after_udev which probably is not useful anymore. + * Finally removed support for scsi_id -s, so added a conflict with + multipath-tools << 0.4.8-12. + * Support kernel-specific firmware directories. (Closes: #504928) + * Set all devices created in d-i to mode 666. (Closes: #517389) + * Removed /etc/modprobe.d/pnp-hotplug in the hope that it is not needed + anymore. + * Merged /etc/modprobe.d/display_class in /etc/modprobe.d/blacklist. + * Renamed /etc/modprobe.d/blacklist to /etc/modprobe.d/blacklist.conf. + (Closes: #518109) + * /etc/modprobe.d/blacklist.conf: added hpwdt, it8712f_wdt, iTCO_wdt, + pc87413_wdt, sbc7240_wdt, sbc_epx_c3, smsc37b787_wdt, w83697hf_wdt. + (Closes: #504107) + * Added a /usr/bin/udevinfo symlink to support old HAL releases. + * Fixed a typo in README.Debian. (Closes: #505916) + * udev.rules: added block/MAJ:MIN and char/MAJ:MIN links. + * udev.rules: create the rtc link only for rtc_cmos devices. + * udev.rules: removed the isdn/capi20 link. + * udev.rules, permissions.rules: added uat and ucma group rdma. + * udev.rules: make sr* the device names and scd* the compatibility links. + * permissions.rules: added pmu group video. + * permissions.rules: added mwave, hvc* and hvsi* group dialout. + * permissions.rules: removed rtc group audio. + * persistent-storage.rules: do not probe optical drivers which do not + have a media inserted. (Closes: #512442) + * persistent-storage.rules: ignore btibm* devices, unignore loop* and + ram* devices. + * persistent-storage-tape.rules: do not add a second -nst suffix. + * persistent-v4l.rules: added by-id links for USB devices. + * drivers.rules: always use modprobe -b. + * Added 60-persistent-serial.rules. + + -- Marco d'Itri Mon, 23 Mar 2009 13:16:50 +0100 + +udev (0.125-7) unstable; urgency=medium + + * On s390, depend on s390-tools (>> 1.6.2) which provides dasd_id. + (Closes: #489723) + * initramfs.hook: switch back to the old semantics of copy_exec to + support the etch version of initramfs-tools (<< 0.88). (Closes: #498686) + * 75-persistent-net-generator.rules: ignore ccwgroup interfaces (qeth) + as requested by the s390 porter. (Closes: #498504) + + -- Marco d'Itri Fri, 19 Sep 2008 03:01:30 +0200 + +udev (0.125-6) unstable; urgency=high + + * Re-add support for scsi_id -s, this time for real. (Closes: #493075) + * 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) + * Remove /lib/udev/rules.d/ from the udeb. (Closes: #494458) + + -- Marco d'Itri Thu, 28 Aug 2008 03:38:26 +0200 + +udev (0.125-5) unstable; urgency=medium + + * Modified debian/rules to work with the etch version of findutils. + (Closes: #493741) + * Moved manual creation of device nodes to /lib/udev/create_static_nodes + for SELinux compatibility. (Closes: #491905) + * 50-udev.rules: create the /dev/sndstat symlink on-demand. + * Export $UDEV_ROOT when set by the init script. (Closes: #457399) + + -- Marco d'Itri Thu, 07 Aug 2008 01:02:03 +0200 + +udev (0.125-4) unstable; urgency=medium + + * 60-persistent-storage.rules: do not run vol_id on media tray open + events or the kernel will close the tray again. + * Added patch scsi_id_compat: until lenny is released, support again + scsi_id -s for the benefit of multipath-tools. Patch contributed by + Guido Günther. (Closes: #493075) + * Updated debconf translation: sv. (Closes: #491789) + + -- Marco d'Itri Mon, 04 Aug 2008 12:23:59 +0200 + +udev (0.125-3) unstable; urgency=medium + + * Make sure that selinux support is not accidentally enabled in the + udeb. (Closes: #493140) + + -- Marco d'Itri Thu, 31 Jul 2008 19:05:45 +0200 + +udev (0.125-2) unstable; urgency=medium + + * Do not install the upstream /lib/udev/rules.d/. (Closes: #493041) + * Added patch openrulesdir_verbosity to suppress a warning if a rules + directory does not exist. (Closes: #493020) + + -- Marco d'Itri Thu, 31 Jul 2008 01:07:21 +0200 + +udev (0.125-1) unstable; urgency=medium + + * New upstream release. + * 75-persistent-net-generator.rules: fixed rules generation. + (Closes: #492193) + * postinst: replaced the all_interfaces hack with a "udevadm test" hack. + * Removed the following patches which have been merged upstream: + fix_hanging_gotos, fix-write_net_rules, fix2-write_net_rules, + man_scsi_id_path, settle_verbose_timeout, rules, rules2. + + -- Marco d'Itri Tue, 29 Jul 2008 15:42:04 +0200 + +udev (0.124-5) unstable; urgency=medium + + * Updated 91-permissions.rules to act on change events too, or permissions + will be reset. + For robustness, added checks for change events in 50-udev.rules too. + + -- Marco d'Itri Sun, 20 Jul 2008 19:08:17 +0200 + +udev (0.124-4) unstable; urgency=medium + + * Added patch fix_hanging_gotos: makes rules processing continue if the + LABEL for a GOTO statement is missing. (Closes: #491214) + * Added dsl-modem.agent to support hotplugging of USB DSL modems. + * Removed from the udeb some superfluous files. + * Dynamically create in the init script a rule for the /dev/root symlink. + * Always use copy_exec in the initramfs. (Closes: #491064) + * Rumors of pnp:dPNP0800 being provided by pcspkr have been greatly + exaggerated, so it's back in pnp-hotplug. (Closes: #491010) + + -- Marco d'Itri Sat, 19 Jul 2008 00:52:03 +0200 + +udev (0.124-3) unstable; urgency=low + + * Backported commit 05364975aff0bfaca1b5fb23963cee7d2201f99a to fix + scsi_id, which generated wrong persistent links. (Closes: #490110) + * Removed the pnp:dPNP0800 module alias (pcspkr) because nowadays the + driver provides its own platform device alias. + * Removed the pnp:dPNP0b00 module alias (rtc) which nowadays is provided + by a different and usually better module (rtc_cmos). (Closes: #452181) + * 60-persistent-storage-tape.rules: added links for nst devices. + * Added patch settle_verbose_timeout: lists the events still in the queue + when the udevadm settle timeout is reached. + * Restored the full $PATH in hotplug.functions. (Closes: #490273) + * Modified postinst to not fail if /dev/{pts,shm} are not mounted. + (Closes: #490286) + * Added a doc-base file for writing_udev_rules. (Closes: #451687) + * Added a watch file. (Closes: #490073) + * Rewritten history to appease nitpickers. (Closes: #490051) + + -- Marco d'Itri Fri, 11 Jul 2008 15:33:05 +0200 + +udev (0.124-2) unstable; urgency=low + + * Automatic propagation of return values is annoying and made the + init script fail in certain conditions. (Closes: #489839) + * 75-persistent-net-generator.rules: ignore "secondary" monitor + interfaces of mac80211 drivers. (Closes: #489769) + * 75-persistent-net-generator.rules: fixed a typo which disabled it. + + -- Marco d'Itri Tue, 08 Jul 2008 12:22:09 +0200 + +udev (0.124-1) unstable; urgency=low + + * New upstream release. (Closes: #476725, #480516) Fixes: + + something in usb_id. (Closes: #447346) + + RUN rules if device node removal fails. (Closes: #457616) + + $exec_prefix in libvolume_id.pc. (Closes: #459788) + * Made 2.6.18 the oldest supported kernel version. + * Removed the /dev/.static/dev/ hack. It was cool, but its complexity + is not justified anymore. (Closes: #444337, #481559) + * Removed support for devfs-style names (devfs.rules, compat.rules, + compat-full.rules). (Closes: #280894, #468939) + * The rules files now are installed directly in rules.d/ and symlinks + are not used there anymore. (Closes: #402441, #408506) + * The standard rules files have been renamed to reduce divergences with + other distributions: udev.rules => 50-udev.rules, + z20_persistent-input.rules => 60-persistent-input.rules, + z20_persistent.rules => 60-persistent-storage.rules, + z25_persistent-net.rules 70-persistent-net.rules, + z25_persistent-cd.rules 70-persistent-cd.rules, + z25_cd-aliases-generator.rules => 75-cd-aliases-generator.rules, + z25_persistent-net-generator.rules => 75-persistent-net-generator.rules, + z55_hotplug.rules => 80-drivers.rules, + 020_permissions.rules => 91-permissions.rules, + z50_run.rules => 95-late.rules. + + * permissions.rules: added again the rule for old style USB devices, + removed in 0.113-1. (Closes: #438470, #442397, #444809, #481827) + * permissions.rules: removed the WAIT_FOR_SYSFS rules, not needed with + kernels > 2.6.18-rc1. + * hotplug.rules: removed ide.agent, not needed with kernels > 2.6.17. + * persistent.rules: run edd_id only for sd* and hd*. + * persistent.rules, persistent-input.rules: act on change events too. + * persistent.rules: run usb_id only for usb devices. + * persistent-net-generator.rules: updated with the built-in policies. + * hotplug.rules: autoload ms_block and mspro_block. + * run.rules: do not delete devices also present in /lib/udev/devices/. + * persistent.rules: do not run vol_id on whole-device nodes because add + events are not generated on media changes and the persistent links would + not be updated. + * permissions.rules: removed sgi_fetchop since there is also sgi_*. + * permissions.rules: added cbm group floppy. (Closes: #437520) + * permissions.rules: added again the permissions change for /dev/bus/usb/ + nodes created by old kernels. (Closes: #438470) + * udev.rules, devfs.rules: added iowarrior* and bsg/*. + * udev.rules: added a rtc symlink to rtc0. + * udev.rules: added zap/transcode. (Closes: #456204) + * persistent-v4l.rules: creates persistent links for V4L devices. + (Closes: #447785) + * udev.rules, permissions.rules: renamed rdma_ucm to rdma_cm. + (Closes: #449081) + * udev.rules: made the AOE rules more general to support future devices. + * permissions.rules: made etherd/err owned by group disk. + * permissions.rules: made event* joystick devices owned by group audio. + (Closes: #475902) + * udev.rules: added a rule to set all_partitions for SCSI Iomega ZIP + drives. (Closes: #437499) + + * Try copying all the rules files to the udeb. (Closes: #488394, #488439) + * Do not install firmware.agent in the udeb, d-i will provide its own. + (Closes: #487764) + * hotplug.functions: fixed an error message displayed by write_net_rules + when the rules file does not exist yet. (Closes: #442796, #475699) + * hotplug.functions: (almost) correctly ignore commented rules. + (Closes: #452006) + * Removed the pnp:dPNPb02f module alias which was wrong and nowadays is + provided by the correct module. (Closes: #457499) + * Added support for cross-compilation. (Closes: #465156) + * Since postinst does not starts udevd in a chroot, make prerm do not + stop it either. (Closes: #451986) + * Use /sys/kernel/uevent_helper instead of /proc/sys/kernel/hotplug in + the init script. (Closes: #416687) + * Delete in the init script the /dev/.udev/ created in the initramfs. + (Closes: #416687) + * Fixed the command path in scsi_id(8). (Closes: #438094) + * Added a link in /sbin to vol_id. (Closes: #488911) + * Updated debconf translations: sk, fi, sv, de, ja, pt, ml, ca, pt_BR, es. + (Closes: #441753, #489205, #447073, #449154, #456269, #462097, #475443) + (Closes: #480783, #480897, #481812, #481993) + + -- Marco d'Itri Mon, 07 Jul 2008 02:52:00 +0200 + +udev (0.114-2) unstable; urgency=medium + + * New upstream release. + * Packages converted from DBS to quilt. + * Stop trying to build dasd_id on S/390. (Closes: #435533) + + -- Marco d'Itri Mon, 06 Aug 2007 04:21:02 +0200 + +udev (0.113-3) unstable; urgency=medium + + * Stop mounting /dev noexec because it breaks nvidia-glx, vmware, + mplayer and lguest, for a start. (Closes: #435250) + + -- Marco d'Itri Tue, 31 Jul 2007 16:00:48 +0200 + +udev (0.113-2) unstable; urgency=low + + * hotplug.rules: removed the ignore_error options which are not yet + supported. (Closes: #435163) + + -- Marco d'Itri Sun, 29 Jul 2007 21:12:50 +0200 + +udev (0.113-1) unstable; urgency=low + + * New upstream release (Closes: #431317). Fixes: + + support for braindead devices implementing multiple SCSI devices + beind the same USB device, like some memory card readers. + (Closes: #411967) + * + the libdir path in libvolume_id.pc, this time for real. (Closes: #415744) + * The highly deprecated udev_run_{hotplugd,devd} helper programs are gone + and the /sbin/scsi_id symlink has been removed. + * Removed patch keep_driver_support: the semantics of the DRIVER key now + are the same as in the upstream package (only matches the device + associated to the event and not all parent nodes too). + * Added patch fix-libvolume_id.pc: fixes the libdir path in libvolume_id.pc, + this time for real. (Closes: #415744) + * Ignore Xen, UML and VMWare network interfaces in + persistent-net-generator.rules. (Closes: #413601, #422623, #431190) + * persistent-net-generator.rules: support sta*, ctc* and hsi* interfaces. + * Updated the description and debconf templates as proposed by + debian-l10n-english. (Closes: #420768) + * New debconf translations: hu, ar, ta, lt, ca. + (Closes: #421723, #421755, #421778, #422683, #431278) + * Updated debconf translations: cs, nb, gl, eu, ru, it, ko, fr, nl. + (Closes: #421770, #421778, #421797, #421873, #422110, #422913, #423935) + (Closes: #426249, #428291) + * initramfs.hook: do not fail if /lib/udev/ already exists. (Closes: #427643) + * udev.init: do not redirect restorecon to /dev/null because it does not + exist yet. (Closes: 428384) + * permissions.rules, udev.rules, devfs.rules: added rdma_ucm group rdma. + (Closes: #427993, #430389) + * Switched d-i from devfs-like to regular names. (Closes: #431556) + * udeb: copy persistent-*.rules at the beginning of base-installer so they + are available in /target when the initrd is generated. (Closes: #433935) + * Added rules for SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device" to support + kernels without USB_DEVICE_CLASS. + * persistent-input.rules: added by-id/by-path links for joystick devices. + * permissions.rules: added the ignore_remove option to tun and ppp. + * hotplug.rules: added the ignore_error option to some modprobe rules. + + -- Marco d'Itri Sun, 29 Jul 2007 01:57:42 +0200 + +udev (0.105-4) unstable; urgency=high + + * Added support for the $ROOTDELAY variable in the initramfs. + Patch contributed by David Härdeman. (Closes: #414842) + * Fixed libdir in libvolume_id.pc. (Closes: #415744) + * permissions.rules: backported the upstream changeset + 188394ce8eb235b67226f9166dfe7ca958387e6a which makes udevd wait for + 0:0:0:0 SCSI devices only. + * permissions.rules: use group cdrom for WORM SCSI devices too. + * permissions.rules: added kvm group kvm. + + -- Marco d'Itri Sun, 11 Mar 2007 03:44:45 +0100 + +udev (0.105-3) unstable; urgency=high + + * persistent.rules: added backported rules for nst* and sg* tape changers. + * New debconf translations: nl. (Closes: #408176, #412551) + + -- Marco d'Itri Sat, 3 Mar 2007 22:02:51 +0100 + +udev (0.105-2) unstable; urgency=high + + * postinst: try again fixing #404476. (Closes: #409503) + * hotplug.rules: do not check for the existence of $RULES_FILE in + find_all_rules(). (Closes: #408750, #405845, #406948) + * write_cd_rules: fixed unintended shell expansion in find_next_available(). + (Closes: #407738) + * permissions.rules: use group tape for SCSI media changers. + (Closes: #406843) + * hotplug.rules: load ch for SCSI media changers. (Closes: #406869) + * permissions.rules: ignore the removable flag for aacraid devices. + (See #404927.) + * Added to README.Debian a note about generation of persistent names + rules. (Closes: #411394) + * cd-aliases-generator.rules: by default create "by-id" rules for USB + and Firewire devices which usually do not have a stable path. + (Closes: #395962) + * Backported the upstream changeset 7db33ac19c430c9a4c4af415e2febbd6b17aff2a + which fixes access to attribute files containing a colon. + + -- Marco d'Itri Mon, 26 Feb 2007 01:35:50 +0100 + +udev (0.105-1) unstable; urgency=medium + + * New upstream release, contains only bug fixes. Fixes: + + typos. (Closes: #408752) + + intermittent troubles when renaming interfaces. (Closes: #405775) + * Removed the following patches which were merged upstream: + fix_serial_short raid_endianess_fix m32r_syscalls selinux_fix. + * Backported the upstream changeset 5ab2e3c2c3efe9b25861ddf560b3760b9384090d + which adds the LUN to iSCSI paths. (Closes: #409385) + * Backed out the upstream changeset 273bebdba66cd5543dc1b076447e3275c81c221c + which removed compatibility support for the DRIVER key. + * Raised the dependency on module-init-tools to 3.2.2-1, which provides + the --use-blacklist option. + * hotplug.rules: call modprobe with the --use-blacklist option to allow + blacklisting the broken by design aliases generated by the platform + device drivers. (Closes: #407256) + * persistent.rules: ignore md* devices because their add events are + unreliable. + * New debconf template: nl. (Closes: #410737) + + -- Marco d'Itri Mon, 19 Feb 2007 03:56:43 +0100 + +udev (0.103-2) unstable; urgency=medium + + * permissions.rules: consider all block devices on usb, ieee1394, mmc + and pcmcia buses to be removable. (Closes: #402622, #402649) + * Added patch selinux_fix from Russell Coker to correctly label + symlinks. Already applied upstream. (Closes: #401695) + * Added patch m32r_syscalls by Kazuhiro Inaoka to fix inotify support + on m32r systems. Already applied upstream. (Closes: #401826) + * initramfs.premount premount: create the db directory before starting + udevd, to catch some early kernel-generated events (this has no + practical effect since the events will be immediately retriggered). + Apply the same change to the init script. (Closes: #402320) + * persistent-net-generator.rules: ignore ath* devices with type=802 + because they have the same MAC address of the "normal" interface and + cause write_net_rules to write a new bogus rule every time. + (Closes: #404983) + * net.agent: improve robustness by checking sysfs instead of the ifstate + file and removing the timeout. Patch and testing by Joey Hess. + (Closes: #403804, #403805) + * postinst: deal correctly with pipes and sockets in subdirectories of + /dev when being installed for the first time. (Closes: #404476) + * New patch raid_endianess_fix backported from upstream udev 104. + * New debconf templates: da, es, pt_BR, gl, ja, cs. + (Closes: #400789, #402924, #402927, #403547, #404577, #405316, #405834) + + -- Marco d'Itri Mon, 8 Jan 2007 02:41:01 +0100 + +udev (0.103-1) unstable; urgency=medium + + * New upstream release. + * permissions.rules: detect upper case Epson scanners too. (Closes: #392580) + * permissions.rules: fix the permissions of the partitions of removable + block devices. (Closes: #321642) + * permissions.rules: added lirc[0-9]* group audio. (Closes: #396841) + * permissions.rules: added rtc[0-9]* group audio. (Closes: #395160) + * permissions.rules: added tun mode 666, for recent kernels. + * persistent.rules: ignore gnbd* devices. + * persistent.rules: added links for MMC devices. + * persistent.rules: create disk/by-id/ata-* links for IDE devices + controlled by libata. + * hotplug.rules: autoload the mmc-block driver. + * hotplug.rules: do not attempt to autoload i82365 because it's broken + and may cause a modprobe loop (see #398962 for details). + * udev.rules, devfs.rules: stop suppressing creation of dm-* devices, + because they are needed by HAL. (Closes: #392623) + * udev.rules, devfs.rules: run PROGRAMs only for "add" ACTIONs. + * hotplug.rules: removed call to ide.agent from the udeb. (Closes: #396933) + * Added a new 020_id.rules file with calls to cdrom_id for the udeb. + (Closes: #400258) + * Create the kernel-upgrade flag file also in the debconf upgrade path, + or the new udevd will be started (and fail). + * write_net_rules: document that MAC addresses must be written in + lowercase. (Closes: #389743) + * Set the SELinux contexts for devices created in the initramfs. + (Closes: #397528) + * Implemented no_static_dev when a initramfs is used. (Closes: #397476) + * Robustness: fixed postinst to not fail if /dev/{pts,shm}/ do not exist, + which usually should not happen. (Closes: #395136) + * Do not mention CONFIG_KOBJECT_UEVENT in README.Debian. (Closes: #399624) + * Made the init script recognize /dev/null as a valid boot-time console, + to work better with upstart (see #397002). + * New debconf templates: sv, ru, fr, da, de, eu. + (Closes: #393433, #394897, #395340, #396072, #396149, #398724, #399107) + * Merged the NMUs. (Closes: #369479, #395889) + + -- Marco d'Itri Sun, 26 Nov 2006 23:16:09 +0100 + +udev (0.100-2.3) unstable; urgency=high + + * Non-maintainer upload. + * Fix chroot detection for 2.6.18 kernels and beyond (c.f. kernel commit + 778c1144771f0064b6f51bee865cceb0d996f2f9). The fix was suggested to me by + the maintainer himself on 18 Oct 2006. Urgency high for it closes: #395889, + which is RC. + + -- martin f. krafft Wed, 15 Nov 2006 14:29:45 +0100 + +udev (0.100-2.2) unstable; urgency=high + + * Non-maintainer upload. + * control: add Pre-Depends: on debconf, thanks Steve Langasek for + noticing this. + + -- Josselin Mouette Fri, 27 Oct 2006 09:19:16 +0200 + +udev (0.100-2.1) unstable; urgency=low + + * Non-maintainer upload. + * udev.{templates,preinst}, rules: use debconf for prompting the user + about the upgrade from an incompatible kernel version. When a + suitable kernel is already installed or installing, only ask for + reboot. Otherwise, the user has to force the upgrade. (Closes: #369479) + * control: depend on po-debconf. + + -- Josselin Mouette Sun, 1 Oct 2006 16:47:15 +0200 + +udev (0.100-2) unstable; urgency=high + + * More fixes for SELinux support. (Closes: #387051) + * Really create /dev/MAKEDEV if /sbin/MAKEDEV is available. (Closes: #388300) + + -- Marco d'Itri Sun, 24 Sep 2006 19:10:10 +0200 + +udev (0.100-1) unstable; urgency=medium + + * New upstream release. + + Fixes a typo. (Closes: #385867) + * Fixed persistent-net-generator.rules which was broken in 0.098-2. + * Use /lib/udev/devices/ instead of /etc/udev/ as the temporary mount + point in the init script, because it's nicer and it helps SELinux users. + * Converted the versioned dependency on initscripts in a conflict. + * Create a temporary symlink for /dev in the initramfs. (Closes: #386294) + + -- Marco d'Itri Wed, 6 Sep 2006 23:41:52 +0200 + +udev (0.098-2) unstable; urgency=medium + + * Added patch close_pipes_on_exec to close the pipes file descriptors + in udevd before running external programs, to prevent dealocks caused + by programs waiting in the background for some condition when + udev_log="debug". (Closes: #375598) + * Updated net.agent to close stdout and stderr (see above) and + automatically fork and continue in background. + * Call cdrom_id on SCSI devices in permissions.rules instead of + cd-aliases-generator.rules to prevent generating again the rules + every time. (Closes: #374539) + * NEWS.Debian: removed obsolete parts, added new entries. + + -- Marco d'Itri Sat, 26 Aug 2006 19:54:10 +0200 + +udev (0.098-1) experimental; urgency=low + + * New upstream release. + * Converted the rules files to the new syntax. + * preinst: added code to upgrade the persistent-{net,cd} rules files. + * preinst: removed the code managing upgrades from versions uploaded to + unstable before sarge was released. + * Removed the udevsettle_timeout patch, since apparently it is not useful. + * persistent.rules: do not run {path,scsi,ata}_id on xen block devices. + * Added udevinfo to the udeb. (Closes: #384023) + + -- Marco d'Itri Thu, 24 Aug 2006 17:21:16 +0200 + +udev (0.097-2) unstable; urgency=medium + + * Suppressed more error messages about missing users/groups. + * Added a temporary conflict with broken versions of klibc-utils. + (Closes: #383555) + * Do not start udevd on upgrades if it's not supported. (Closes: #383828) + * permissions.rules: added "Epson SCSI scanners" with group scanner. + + -- Marco d'Itri Sat, 19 Aug 2006 23:17:17 +0200 + +udev (0.097-1) unstable; urgency=low + + * New upstream release. + * Since support for %e has been removed, permanently retire + cd-aliases.rules and if it is in use replace it in postinst with + cd-aliases-generator.rules. (See #359978.) + * Postinst will remove on upgrades the link to hotplugd.rules, if one + exists. This disables default support for /etc/hotplug.d/ and /etc/dev.d/. + * Raised Priority to important. + * Removed "Provides: hotplug". + * Added a script to copy the persistent names from d-i to the target. + * Added to the init script support for the reload argument, which is + almost never needed. + * initramfs.bottom: use nuke instead of rm -rf. (Closes: #376349) + * Do not enable persistent-net-generator.rules on s390 systems. + (Closes: #383303) + * Do not try to create /dev/MAKEDEV in the init script if it already + exists. (Closes: #370540) + * write_net_rules: fail cleanly when sysfs is not available (e.g. in a + chroot). (Closes: #374484) + * write_net_rules: fixed errors with multiple interfaces. (Closes: #379335) + * postinst: updated the path to initramfs.conf. (Closes: #375299) + * Added a tentative fix for the "$TEMPDEV directory is not empty" + issue on the first install. + * The init script depends on mountkernfs, not on mountvirtfs. + (Closes: #375389) + * Add another USB product name to create /dev/pilot for programs too + stupid to use HAL. (Closes: #378512) + * Use ENV{PHYSDEVDRIVER} instead of DRIVER in + persistent-net-generator.rules. (Closes: #376589) + * hotplug.rules: load i2o-block for SUBSYSTEM=="i2o". (Closes: #373921) + * hotplug.rules: load ide-scsi for IDE tapes. + * udev.rules, devfs.rules: added xen/evtchn. + * permissions.rules: added irlpt* group lp, kqemu mode 666. + * Added OPTIONS+="all_partitions" for IDE devices with media=floppy. + * Added support for persistent names for joysticks. + + -- Marco d'Itri Thu, 17 Aug 2006 14:40:34 +0200 + +udev (0.093-1) unstable; urgency=high + + * Corrected the kernel version in the preinst warning. (Closes: #369086) + * persistent-net-generator.rules: do not create rules for interfaces + without a driver link (like ISA cards) because they will never match. + (Closes: #368845) + * Do not try to create persistent names for dm-* devices. + + -- Marco d'Itri Tue, 30 May 2006 01:51:12 +0200 + +udev (0.092-2) unstable; urgency=medium + + * Rearranged enable_udev() in postinst to prevent it breaking on some + systems. (Closes: #368327, #368451) + * In preinst, actually enable the kernel version check on upgrades. + (Closes: #368540) + + -- Marco d'Itri Tue, 23 May 2006 13:13:02 +0200 + +udev (0.092-1) unstable; urgency=low + + * New upstream release. + + adds persistent names for serio and platform input devices. + (Closes: #364822) + * write_cd_rules: generated rules will match on ENV{ID_CDROM} too. + (Closes: #367265) + * Removed support for kernels older than 2.6.15: udevsynthesize has + been replaced by udevtrigger. + * Removed support for the undocumented udevd_timeout config file parameter. + * Removed the deprecated /sbin/udevsend command. + * Removed the /dev/.udevdb/ directory kept for compatibility with old + packages. Conflict with makedev << 2.3.1-80. + * Removed the /lib/udev/modalias_* and vio.agent scripts which are not + needed by recent kernels. + * Stop enabling hotplugd.rules by default. + * Removed the versioned dependency on sed, which has not been needed since + many months ago. + + -- Marco d'Itri Wed, 17 May 2006 10:37:42 +0200 + +udev (0.091-2) unstable; urgency=high + + * write_cd_rules: create dvdrw links for DVD-R drives too. (Closes: #365224) + * write_net_rules: add DRIVER=="?*" to all rules in the hope that this + will make them not match bridges and VLAN sub-interfaces without + breaking any other interface. More information from the kernel and from + kernel developers would be welcome. (Closes: #365248) + * persistent-input.rules: fixed matching on the SYSFS keys. (Closes: #365444) + + -- Marco d'Itri Thu, 4 May 2006 01:43:58 +0200 + +udev (0.091-1) unstable; urgency=medium + + * New upstream release. + + Improved the error messages about incorrect rules. + * Fixed a dashism in the write_*_rules scrips which broke detection of + multiple entries in the rules files. Affected users should clean up them. + * write_cd_rules: match on $ID_PATH if BUS != ide. (Closes: #364786) + + -- Marco d'Itri Wed, 26 Apr 2006 00:54:56 +0200 + +udev (0.090-4) unstable; urgency=medium + + * write_net_rules: do not use local in the global scope. (Closes: #364356) + Generate more specific rules for the hostap wlan* and ath* interfaces, + to prevent matching the wifi* interfaces. (Closes: #364311) + + -- Marco d'Itri Sun, 23 Apr 2006 11:01:01 +0200 + +udev (0.090-3) unstable; urgency=medium + + * Run write_net_rules from postinst instead of preinst. + (Closes: #364241, #364243) + * persistent-net-generator.rules: added sta* to the list of acceptable + interfaces. Ignore the hostap wifi* interfaces. (Closes: #364311) + * Updated patch udev-compare-name-01 to log invalid rules. + + -- Marco d'Itri Sat, 22 Apr 2006 19:57:03 +0200 + +udev (0.090-2) unstable; urgency=medium + + * persistent-net-generator.rules: ignore VLAN subinterfaces, because + they usually have the same MAC address of the main interface. + * Added patch udev-compare-name-01 from the upstream maintainer. + It adds support for matching on NAME and this allows not needing to + set ENV{INTERFACE_OLD}, which can now be removed from the + z25_persistent-net.rules file. Now any rule which sets the name of a + network interface will prevent write_net_rules from running. + This also means that rules must properly use = and == for assignments + and comparisons. + * Renamed the /lib/udev/write_*_aliases programs to write_*_rules. + * Create z25_persistent-net.rules the first time udev is installed. + + -- Marco d'Itri Fri, 21 Apr 2006 18:59:36 +0200 + +udev (0.090-1) unstable; urgency=low + + * New upstream release. + + Apply format char to variables exported by ENV. (Closes: #360855) + + Fixed a typo. (Closes: #361985) + * Added the new script write_net_aliases to automatically generate + aliases for network interfaces. (Closes: #350183, #350877) + * Added a timeout to the interfaces renaming loop. (Closes: #357022) + * permissions.rules: added a WAIT_FOR_SYSFS rule to guarantee that + SYSFS{address} is available on buggy kernels. + * preinst: explain how the hotplug package is detected. (Closes: #363353) + + -- Marco d'Itri Wed, 19 Apr 2006 20:26:25 +0200 + +udev (0.089-1) unstable; urgency=medium + + * New upstream release. + + Replaced udev(8) with udev(7) in the documentation (Closes: #359742) + * Removed the compatibility symlinks from /sbin except for scsi_id. + * Removed udevsend from the udeb. + * Added the libvolume-id0 and libvolume-id-dev packages. + * Restart syslogd when udev is installed for the first time to prevent + /dev/log from becoming not accessible to unprivileged users. + (Closes: #357703) + * Removed from the package description a reference to the kernel version. + (Closes: #360931) + + -- Marco d'Itri Wed, 5 Apr 2006 18:13:54 +0200 + +udev (0.088-2) unstable; urgency=medium + + * Fixed the code in udev-mtab which updates the real rules files. + (Closes: #359630) + * Add hotplug.functions to udev-udev. (Closes: #359708) + + -- Marco d'Itri Tue, 28 Mar 2006 18:12:09 +0200 + +udev (0.088-1) unstable; urgency=medium + + * Added persistent-input.rules. + * persistent.rules: added support for SCSI tape drives. + * Added the new script write_cd_aliases to automatically generate + aliases for CD devices. (Closes: #332365) + * On new installs, install cd-aliases-generator.rules with priority + z75 instead of cd-aliases.rules. + * Load again sg for type 5 SCSI devices (TYPE_ROM), because it's needed + to burn CDs. (This time for real.) (Closes: #353052) + + -- Marco d'Itri Sun, 26 Mar 2006 13:40:29 +0200 + +udev (0.087-2) unstable; urgency=medium + + * Fixed #350235/#355441 for real. Honest. + + -- Marco d'Itri Tue, 14 Mar 2006 12:16:47 +0100 + +udev (0.087-1) unstable; urgency=medium + + * New upstream release. + * hotplug.rules: do not check $PHYSDEVDRIVER for input events, it will + prevent loading the *dev mid-level drivers on kernels >= 2.6.16. + (Closes: #355626) + * persistent.rules: fix the workaround to prevent ide-cs from causing + events loops. (Closes: #355441) + * persistent.rules: use edd_id on removable devices too. + * Prevent DBS from looking for patches in subdirectories. (Closes: #355816) + * Documented /etc/udev/kernel-upgrade in the preinst error message. + * Install the *_id programs and persistent.rules in the udeb to support + persistent names in d-i. + + -- Marco d'Itri Sun, 12 Mar 2006 00:39:40 +0100 + +udev (0.086-1) unstable; urgency=low + + * Added again persistent.rules and ide.agent to the initramfs. + (See #352753 for details.) + * devfs.rules, udev.rules: added a "pilot" symlink for "Handspring Visor" + devices. (Closes: #354248) + + -- Marco d'Itri Thu, 2 Mar 2006 13:49:16 +0100 + +udev (0.085-1) unstable; urgency=medium + + * New upstream release. Fixes: + + a typo in udev(7). (Closes: #350613) + * Load again sg for type 5 SCSI devices (TYPE_ROM), because it's needed + to burn CDs. (Closes: #353052) + * Silently delete the example /etc/scsi_id.config which was installed + by mistake by some old version, if it was not modified. (Closes: #353145) + * Added code to preinst and postinst to handle upgrades from sarge. + If /etc/udev/kernel-upgrade exists the kernel version check will be + ignored and udevd will not be restarted. + * Updated patch ifrename_wait_retry to the new version in Ubuntu, because + the first one was totally broken. + + -- Marco d'Itri Sun, 19 Feb 2006 15:00:46 +0100 + +udev (0.084-5) unstable; urgency=high + + * Removed again support for persistent disk names, because for some + unknown reason it breaks the systems using ide-generic. (Closes: #352753) + * Added patch initramfs_quiet to silence error messages from missing + programs in RUN rules in the initramfs. (Closes: #352274) + + -- Marco d'Itri Wed, 15 Feb 2006 18:37:14 +0100 + +udev (0.084-4) unstable; urgency=high + + * Copy all the /lib/udev/*_id programs to the initramfs to provide + persistent names. (Closes: #351523) + * Do not install hotplugd.rules in the initramfs. (Closes: #352274) + * Install /etc/scsi_id.config to fix the persistent names of SATA drives. + (Closes: #351606) + * Print a warning when removing the package. (Closes: #351926) + * New patch ifrename_wait_retry, from Ubuntu. + * udev.rules, devfs.rules: added etherd/revalidate. + + -- Marco d'Itri Sun, 12 Feb 2006 10:44:00 +0100 + +udev (0.084-3) unstable; urgency=high + + * Oops! Fixed the postinst code which checks if running chrooted. + (Closes: #351486) + * Fixed the postinst check for update-initramfs too. + + -- Marco d'Itri Sun, 5 Feb 2006 14:21:23 +0100 + +udev (0.084-2) unstable; urgency=high + + * Conflict with hal << 0.5.6-2, which expect the subsystem passed as + an argument to the helper program. (Closes: #350490) + * permissions.rules: run cdrom_id only if DRIVER=="ide-cdrom|pcd", to + work around brokeness in ide-cs causing events loops. (Closes: #350235) + * Moved the /sbin/*_id programs to /lib/udev/ and added compatibility + symlinks. Removed /sbin/ from the relevant RUN rules. + * Do not start or stop udevd on upgrades in a chroot. (Closes: #351321) + * Added a note to NEWS.Debian about modules loading order. (Closes: #350877) + * Removed patch silence_exec_error. + * permissions.rules: replaced inputdev.sh with a match on SYSFS{name}. + + -- Marco d'Itri Sat, 4 Feb 2006 18:42:04 +0100 + +udev (0.084-1) unstable; urgency=high + + * New upstream release. + + Fixes matching of sysfs attributes at multiple levels. (Closes: #350235) + * Install udevsend(8). (Closes: #350610) + + -- Marco d'Itri Tue, 31 Jan 2006 12:08:29 +0100 + +udev (0.083-1) unstable; urgency=medium + + * New upstream release. + + Fixes double substitution in rules. (Closes: #350215) + + -- Marco d'Itri Sat, 28 Jan 2006 11:05:06 +0100 + +udev (0.082-1) unstable; urgency=medium + + * New upstream release. + * permissions.rules: added zaptel subsystem group dialout. (Closes: #349361) + * README.Debian: added a note about NIS and LDAP. (Closes: #349509) + * hotplug.rules: do not load sr_mod for type 3 (TYPE_PROCESSOR) devices + and do not load sg for type 5 devices (TYPE_ROM). + * net.agent: remove dummy* from the list of interfaces which generate + events only after they have been brought up. + + -- Marco d'Itri Thu, 26 Jan 2006 11:40:05 +0100 + +udev (0.081-1) unstable; urgency=medium + + * New upstream release. + + Re-added support for %b-expansion. (Closes: #348087) + + -- Marco d'Itri Sun, 15 Jan 2006 20:53:53 +0100 + +udev (0.080-1) unstable; urgency=medium + + * New upstream release. + * Moved S04udev to S03udev. (Closes: #237056) + + -- Marco d'Itri Thu, 12 Jan 2006 18:24:29 +0100 + +udev (0.079-080+1) experimental; urgency=low + + * 080 prerelease. + + Fixes typos in udev(8). (Closes: #345107) + * Fixed raid-devfs.sh for the busybox cat. (Closes: #343262) + * Fixed udevsynthesize to deal with sysfs files with embedded spaces. + (Closes: #344821) + * Raised the dependency on libselinux1-dev to 1.28-1, which provides + the matchpathcon_* functions. + * permissions.rules: added an usb_device rule for iRiver music players. + * Added vio.agent to the initramfs. + * Added a note to README.Debian about hotplug removal. (Closes: #345123) + + -- Marco d'Itri Mon, 9 Jan 2006 17:30:58 +0100 + +udev (0.079-1) unstable; urgency=medium + + * New upstream release. Removed merged patches: + udev-lib-udev-path udev_root_override udevsend_ignore_seqnum. + * permissions.rules: added a WAIT_FOR_SYSFS rule to fix MAC-based + network interfaces renaming. (Closes: #343659) + * preinst: run the upgrade procedures also when installing after a + package removal without purge. (Closes: #344483) + * preinst: use LC_COLLATE=C to fix grep. (Closes: #343601) + * Stop including permissions.rules and inputdev.sh in the udeb. + (Closes: #343263) + * Added "DVB" to inputdev.sh. (Closes: #343228) + + -- Marco d'Itri Fri, 23 Dec 2005 13:56:53 +0100 + +udev (0.076-6) unstable; urgency=high + + * Added Replaces: initramfs-tools <= 0.41. (Closes: 342902) + + -- Marco d'Itri Sun, 11 Dec 2005 17:30:27 +0100 + +udev (0.076-5) unstable; urgency=medium + + * Merged the initramfs-tools hooks. + * Restored forced loading of the input modules because input $MODALIAS + support has not been merged yet. + + -- Marco d'Itri Tue, 6 Dec 2005 20:48:46 +0100 + +udev (0.076-4) unstable; urgency=high + + * Always use --retry with start-stop-daemon --stop because udevd may not + exit immediately when it receives a signal. (Closes: #341355, #341650) + * Removed again input.agent, 2.6.15 kernels will have $MODALIAS support. + For the same reason, udevsynthesize will not forcefully load the input + drivers on kernels >= 2.6.15. + * Removed patch hotplug_input_events since /sbin/udev does not exist + anymore anyway. + * New upstream patch udev-lib-udev-path to use /lib/udev/ as the default + directory for commands without an explicit path in RUN rules. + Updated the relevant rules files. + + -- Marco d'Itri Sat, 3 Dec 2005 18:54:13 +0100 + +udev (0.076-3) unstable; urgency=high + + * Fix ide.agent for real, this time. (Closes: #341027) + * Fix breakage in preinst when a new symlink already exists. + (Closes: #341040) + * Use %03i for the /dev/bus/usb/ devices. + * Removed the PNP aliases for parport_pc, which now are provided by the + kernel driver. + + -- Marco d'Itri Mon, 28 Nov 2005 02:02:31 +0100 + +udev (0.076-2) unstable; urgency=medium + + * Correctly create /dev/.udev/ on upgrades. (Closes: #340782) + + -- Marco d'Itri Sat, 26 Nov 2005 02:49:48 +0100 + +udev (0.076-1) unstable; urgency=medium + + * New upstream release. + * Conflicts with initramfs-tools << 0.39. (Closes: #339569) + * ide.agent: fixed support for devices beyond hdf. (Closes: #339982) + * Rearranged the package scripts to kill/restart udevd only in postinst. + * Unconditionally load the input *dev modules for kernels >= 2.6.15 too, + to work around missing $MODALIAS support in the kernel and lack of a + working input.agent script. (Closes: #340202) + * Install hotplug.functions in the udeb. (Closes: #340100) + * Added an input.agent script, not yet enabled. + + -- Marco d'Itri Thu, 24 Nov 2005 20:54:23 +0100 + +udev (0.074-3) unstable; urgency=medium + + * Added an experimental udevsynthesize script to support kernels >= 2.6.15. + * Made ide.agent wait for the /proc file. (Closes: #337023) + + -- Marco d'Itri Sun, 13 Nov 2005 19:07:33 +0100 + +udev (0.074-2) unstable; urgency=high + + * Added patch err_reporting to make the udev_run_* helpers more quiet. + (Closes: #338057) + * Added /etc/modprobe.d/pnp-hotplug to work around missing aliases in + some kernel modules. + * Process links.conf even if the tmpfs was mounted in the initramfs. + + -- Marco d'Itri Tue, 8 Nov 2005 17:00:10 +0100 + +udev (0.074-1) unstable; urgency=high + + * New upstream release. + + -- Marco d'Itri Mon, 7 Nov 2005 18:33:24 +0100 + +udev (0.073-1) unstable; urgency=high + + * New upstream release. + + Fixes udevd on systems without inotify support. + (Closes: #337865, #337826) + * Use start-stop-daemon --name instead of --exec to be sure to kill + udevd in prerm. (Closes: #337881) + * Added a note about network hotplugging to README.Debian. + + -- Marco d'Itri Mon, 7 Nov 2005 01:44:39 +0100 + +udev (0.072-2) unstable; urgency=medium + + * New upstream release. + * Make the /dev/bus/usb/ devices world readable. (Closes: #336768) + * Added LSB headers to the init scripts. (Closes: #335310) + * Raised the default timeout to 30 seconds. (Closes: #336189) + * Moved files from /etc/udev/scripts/, /lib/hotplug/ and /sbin/ to + /lib/udev/ for uniformity with other distributions. + + -- Marco d'Itri Sat, 5 Nov 2005 20:43:26 +0100 + +udev (0.071-1) unstable; urgency=low + + * New upstream release. + Removed the following patches which have been merged upstream: + ata_id_nonblock, install_hotplugd, scsi_id_tmp. + * Added patch udev-synthesize-waldi which implements full support for + CCW devices in udevsynthesize. Provided by Bastian Blank. + * devfs.rules, udev.rules: added semicolons after setting variables in + shell script fragments to work around a dash bug. (Closes: #334179) + * README.Debian: suggest to use CONFIG_PNP, CONFIG_PNPACPI and + CONFIG_PNPBIOS too. (Closes: #334232) + * permissions.rules: added fuse group fuse. (Closes: #334439) + * Make executable the agent scripts in the udeb. (Closes: #334584) + + -- Marco d'Itri Fri, 21 Oct 2005 16:39:05 +0200 + +udev (0.070-5) unstable; urgency=low + + * Actually use the $MODALIAS variable returned by the modalias_* + scripts. This fixes serio on 2.6.12 and firewire support. + (Closes: #333335, #333368) + * permissions.rules: changed uverbs* and ucm* to group rdma. + (Closes: #333204) + * Added a vio.agent script to work around missing $MODALIAS support. + * Made logger.agent log to /dev/hotplug.log by default. + + -- Marco d'Itri Wed, 12 Oct 2005 19:38:34 +0200 + +udev (0.070-4) unstable; urgency=low + + * Force loading evdev and mousedev until the kernel input subsystem + will be fixed. (Closes: #332898) + * Fixed /etc/modprobe.d/display_class. (Closes: #332899, #332905) + * Raised the udevd timeout to 8 seconds. (Closes: #332946) + * permissions.rules: changed urandom to 666. (Closes: #332970) + + -- Marco d'Itri Mon, 10 Oct 2005 19:04:58 +0200 + +udev (0.070-3) unstable; urgency=low + + * Added support for coldplug and merged the hotplug scripts left. + Switched from udevstart to udevsynthesize. (Closes: #329226) + * Rearranged the init script actions. (Closes: #294843) + * Added conflicts with hotplug and with module-init-tools releases without + support for /etc/hotplug/blacklist.d/. + * New patch hotplug_input_events, from Ubuntu: runs the hotplug.d/ + scripts on $DEVPATH-less input events from the kernel. (See #328685.) + * Removed from postinst and the init script an extra check for tmpfs + brokeness in old kernels. + * Removed support for upgrades from packages older than 0.046-1. + + -- Marco d'Itri Sat, 8 Oct 2005 19:15:28 +0200 + +udev (0.070-2) unstable; urgency=medium + + * Oops! The upstream makefile of 0.070-1 installed udev_run_devd as + udev_run_hotplugd, and this broke support for /etc/hotplug.d/. + (Closes: #328094, #328556, #328567, #328570) + + -- Marco d'Itri Fri, 16 Sep 2005 09:53:27 +0200 + +udev (0.070-1) unstable; urgency=medium + + * New upstream release. + + Fixes firmware loader timeouts. (Closes: #328094) + + Removes chassis_id and cdsymlinks.sh. + * Manually start udevd in the init script. I do not why this works, but + it fixes the problem with some devices not being created the first time + udevstart is run. (Closes: #317333) + * Made scsi_id create temporary files in /dev/. (Closes: #325976) + * devfs.rules, udev.rules: replaced dvb.sh with inline shell code and + ide-model.sh with ata_id. + * hotplugd.rules: added support for a generic remover command. + * permissions.rules: added tpm* tpm:tpm 0600. + * cd-aliases.rules, permissions.rules: moved to permissions.rules the + call to cdrom_id for IDE devices and the GROUP attribute setting. + * Removed simple-cd-aliases.rules because it's not really different from + the new cd-aliases.rules. Preinst will automatically replace the link, + if present. + * Removed again the dependency on coldplug. + * Added an example vim syntax file for rules files. + + -- Marco d'Itri Thu, 15 Sep 2005 13:18:01 +0200 + +udev (0.068-2) unstable; urgency=low + + * devfs.rules, udev.rules: added more infiniband devices. (Closes: #324250) + * Installed /sbin/udevinitsend. + * Made the package depend on coldplug | hotplug. + + -- Marco d'Itri Mon, 22 Aug 2005 11:06:48 +0200 + +udev (0.068-1) unstable; urgency=low + + * New upstream release. Fixes: + + PROGRAM. (Closes: #321276, #323263, #323282, #323369) + + vol_id crashes. (Closes: #322205) + + -- Marco d'Itri Thu, 18 Aug 2005 18:50:15 +0200 + +udev (0.067-1) unstable; urgency=low + + * New upstream release. + * Added again patch scsi_id_tmp to make scsi_id create its temporary + device nodes in /dev instead of /tmp. + * Updated patch enable_after_udev to correctly disable devices removal too. + + -- Marco d'Itri Sun, 14 Aug 2005 04:29:45 +0200 + +udev (0.066-1) unstable; urgency=low + + * New upstream release. + * permissions.rules: added support for partitioned removable devices. + (Closes: #321642) + * Fixed scsi-devfs.sh to not print error messages if there are no IDE + devices. (Closes: #321296) + * Build the udeb by default and include ide-model.sh. (Closes: #322476) + * Replaced cdsymlinks.sh with cdrom_id. + * Install by default persistent.rules. + + -- Marco d'Itri Fri, 12 Aug 2005 19:35:26 +0200 + +udev (0.065-1) unstable; urgency=medium + + * New upstream release. + * Added a missing slash to make_extra_nodes(). (Closes: #320776) + * Added a persistent.rules file, not installed by default. + + -- Marco d'Itri Wed, 3 Aug 2005 16:46:13 +0200 + +udev (0.064-1) unstable; urgency=medium + + * New upstream release. + * Use umount -n in the init script. (Closes: #318954) + * Updated the enable_after_udev patch, behaviour when udev is disabled + is untested. + * Switched the init script to lsb-base. + + -- Marco d'Itri Sun, 31 Jul 2005 20:57:35 +0200 + +udev (0.063-1) unstable; urgency=low + + * New upstream release. + * Always create .udevdb in the init script, to make the enable_after_udev + patch work. Many thanks to Kay Sievers for the invaluable debugging tips. + (Closes: #317333, #317639, #318334) + * Do not build the udeb with selinux support. (Closes: #318115) + + -- Marco d'Itri Fri, 15 Jul 2005 23:37:29 +0200 + +udev (0.062-4) unstable; urgency=low + + * Oops. *Really* refuse to be installed when the running kernel is older + than 2.6.12. This will only affect upgrades from versions earlier + than 0.060. (Closes: #317720) + + -- Marco d'Itri Mon, 11 Jul 2005 10:01:22 +0200 + +udev (0.062-3) unstable; urgency=low + + * Refuse to be installed when the running kernel is older than 2.6.12. + * Remove spurious files upstream/patches/* in the unpack target to fix + a FTBFS bug. + + -- Marco d'Itri Sun, 10 Jul 2005 15:02:43 +0200 + +udev (0.062-1) unstable; urgency=low + + * New upstream release. + * Removed patch add_firmwares_timeout. + * Use a second opmitized build for the .udeb package. + (Thanks to Jeff Bailey who fixed lndir.sh.) + + -- Marco d'Itri Sat, 9 Jul 2005 00:07:08 +0200 + +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-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-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-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-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-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-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-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-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-154.orig/debian/udev.udev-mtab.init +++ udev-154/debian/udev.udev-mtab.init @@ -0,0 +1,48 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: udev-mtab +# Required-Start: udev $local_fs +# Required-Stop: +# Default-Start: S +# Default-Stop: +# Short-Description: Add to mtab the entry for /dev. +### END INIT INFO + +PATH="/sbin:/bin" + +case "$1" in + start) ;; + stop|restart|force-reload) exit 0 ;; + *) echo "Usage: $0 {start|stop|restart|force-reload}" >&2; exit 1 ;; +esac + +# copy the rules generated before / was mounted read-write +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 + + +# if it's not, it's probably a symlink to /proc/mounts +[ -w /etc/mtab ] || exit 0 + +# defaults +tmpfs_size="10M" +udev_root="/dev/" + +if [ -e /etc/udev/udev.conf ]; then + . /etc/udev/udev.conf +fi + +# strip the trailing slash +udev_root=${udev_root%/} + +if mountpoint -q $udev_root; then + grep -E --quiet --no-messages "^[^ ]+ +$udev_root +" /etc/mtab || \ + mount -f -o size=$tmpfs_size,mode=0755 -t tmpfs tmpfs $udev_root +fi + +exit 0 + --- udev-154.orig/debian/libgudev-1.0-dev.files +++ udev-154/debian/libgudev-1.0-dev.files @@ -0,0 +1,6 @@ +usr/include/gudev-1.0/ +usr/lib/libgudev*.so +usr/lib/libgudev*.a +usr/lib/pkgconfig/gudev-1.0.pc +usr/share/gir-1.0/ +usr/share/gtk-doc/html/gudev/ --- udev-154.orig/debian/README.Debian +++ udev-154/debian/README.Debian @@ -0,0 +1,167 @@ +How does udev work? +~~~~~~~~~~~~~~~~~~~ +Short summary: when a driver is loaded it makes some information available +in /sys/ and a message is sent to udevd which reads them and creates the +appropriate devices. + +This means that: +- modules cannot be loaded on demand when applications open their device, + because the device is not yet there! +- since modules are not loaded on demand, if for some reason the drivers + cannot be automatically loaded at boot time you will have to add them + to /etc/modules. +- some modules are not hardware drivers and cannot be loaded automatically + by udev, so they will have to be listed in /etc/modules as well. +- some modules for less usual bus types lack the sysfs data needed to be + automatically loaded and must be loaded manually. + (See #334238 and #337004 for details.) + +udevd also manages the hotplug events and if needed dispatches them to +other programs using RUN rules, as a replacement of the old /sbin/hotplug. + + +Required kernel support +~~~~~~~~~~~~~~~~~~~~~~~ +The running kernel must be not older than 2.6.26 and must support the +hotplug subsystem (CONFIG_HOTPLUG), tmpfs (CONFIG_TMPFS), inotify +(CONFIG_INOTIFY_USER) and signalfd (CONFIG_SIGNALFD). +CONFIG_PNP, CONFIG_ISAPNP, CONFIG_PNPBIOS and CONFIG_PNPACPI are highly +recommended to allow to automatically load some important drivers. +CONFIG_SYSFS_DEPRECATED and CONFIG_USB_DEVICE_CLASS must not be defined. +CONFIG_BLK_DEV_BSG must be defined if support for persistent tape +devices names is required. + + +Disabling udev +~~~~~~~~~~~~~~ +You may configure in /etc/udev/udev.conf a directory other than /dev +or add UDEV_DISABLED=yes to the kernel command line. + + +Manually creating devices +~~~~~~~~~~~~~~~~~~~~~~~~~ +Device nodes present in /lib/udev/devices/ will be copied to /dev/ at +boot time. + + +The /etc/udev/rules.d/ directory +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The files are read and processed in alphabetical order, and the directives +of matching rules are applied in order. +If a file with the same name is present both in /etc/udev/rules.d/ and +/lib/udev/rules.d/ then the latter will be ignored. +Since the order may be important, files have a specific name which +must be considered when adding custom rules. So far have been defined: + + - 50: the default names are set. + + - 60: path_id and the other *_id programs are run. persistent links + are set. + + - 70: network interfaces are renamed and generated rules for persistent + links are processed. + + - 75: the rules generators are run if needed. + + - 80: drivers are loaded. + + - 91: the default permissions and owners are set. + + - 95: $REMOVE_CMD is run, and then processing of tty devices + is stopped with last_rule. + +The persistent-*.rules files are generated by the *-generator.rules files +using the /lib/udev/write_*_rules scripts when new devices are detected. +They set stable names for network interfaces and optical devices aliases. + +MAINTAINERS BEWARE: the use of /etc/udev/rules.d/ by other packages is +discouraged, except when RUN rules or custom user/groups are used. +If you think your package needs to create a file there, then please +contact the udev package maintainer and explain your needs. + + +How to know the attributes of a device +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Try something like: +udevadm info --attribute-walk --path=/sys/class/sound/pcmC0D0c/ + + +Devices timestamps +~~~~~~~~~~~~~~~~~~ +Most devices will be created at the beginning of the boot process, and will +have the creation time of the kernel clock at that moment. +On systems whose system clock is set on local time instead of UTC, the +kernel clock will be updated in a later phase of the boot process and for +a few hours the devices will have a timestamp in the future. +This is usually not a problem, but if it bothers you it can be fixed by +running touch(1) in an init script. + + +SCSI block and generic devices +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +When you create a custom rule which matches SCSI devices by some sysfs +attributes, do not forget that it will match not only the sdX device node +you are probably looking for but also the SCSI generic device node sgX. +To get the expected behaviour, you need to add KERNEL="sd*" to your rule. +A typical example for an USB pen drive is: + +SUBSYSTEMS=="usb", KERNEL=="sd*", \ + ATTRS{manufacturer}=="hardware vendor", ATTRS{product}=="model", \ + SYMLINK+="pendrive%n" + +If a device does not report media changes (like e.g. many SD card readers) +you will also need to add the OPTIONS+="all_partitions" attribute to the +rule. This is not needed if you are using HAL. + + +Network Interfaces +~~~~~~~~~~~~~~~~~~ +After receiving events about network interfaces, net.agent will call +ifupdown using the --allow=hotplug option. This makes the program act +only on interfaces marked with the "allow-hotplug" statement. +E.g: "allow-hotplug eth0" instead of the usual "auto eth0". +The loopback interface must always be configured with "auto lo". + +The persistent names of network interfaces by default are automatically +written to /etc/udev/rules.d/70-persistent-net.rules . +Users can add their own rules there or at any other place before 70. +MAC addresses matching is literal, so they must be written in lower case. +To disable persistent naming of network interfaces, create an empty +/etc/udev/rules.d/75-persistent-net-generator.rules file to override +the one in /lib/udev/rules.d/ and delete +/etc/udev/rules.d/70-persistent-net.rules. + +Beware: programs which rename network interfaces like ifrename and nameif +will let udev relay events for the old names and should not be used. + +Usually network interfaces are renamed after the root file system has +been mounted, so if the root file system is mounted over the network +then the 70-persistent-net.rules file must be copied to the initramfs. +In most cases this is done automatically, but some setups may require +explicitly setting NEED_PERSISTENT_NET=yes in a file in +/etc/initramfs-tools/conf.d/ . +If 70-persistent-net.rules is copied to the initramfs then it must be +updated every time a new interface is added. + + +Using udev with LDAP or NIS +~~~~~~~~~~~~~~~~~~~~~~~~~~~ +If the rules files reference usernames or groups not present in the +/etc/{passwd,group} files and the system is configured to use a +network-based database like LDAP or NIS then udev may fail at boot time +because users and groups are looked up well before the network has been +initialized. +A possible solution is to configure /etc/nsswitch.conf like this: + + passwd: files ldap [UNAVAIL=return] + group: files ldap [UNAVAIL=return] + +The nsswitch.conf syntax is documented in the glibc manual. + + +Other documentation +~~~~~~~~~~~~~~~~~~~ +http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html +http://www.reactivated.net/udevrules.php +http://www.kroah.com/linux/talks/suse_2005_driver_model/ + --- udev-154.orig/debian/udev.templates +++ udev-154/debian/udev.templates @@ -0,0 +1,39 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# for an advice to debian-l10n-english@lists.debian.org +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: udev/title/upgrade +Type: title +_Description: Upgrading udev + +Template: udev/reboot_needed +Type: error +_Description: Reboot needed after this upgrade + You are currently upgrading udev using an incompatible kernel version. A + compatible version is installed or being installed on the system, but + you need to reboot using this new kernel as soon as the upgrade is + complete. + . + Without a reboot with this new kernel version, the system may become + UNUSABLE. + +Template: udev/new_kernel_needed +Type: boolean +Default: false +_Description: Proceed with the udev upgrade despite the kernel incompatibility? + You are currently upgrading udev to a version that is not + compatible with the currently running kernel. + . + You MUST install a compatible kernel version (2.6.26 or newer) before + upgrading, otherwise the system may become UNUSABLE. + Packages with a name starting with "linux-image-2.6-" provide a kernel + image usable with this new udev version. + . + If you choose to upgrade udev nevertheless, you should install a + compatible kernel and reboot with that kernel as soon as + possible. --- udev-154.orig/debian/libudev0.files +++ udev-154/debian/libudev0.files @@ -0,0 +1 @@ +lib/libudev.so.* --- udev-154.orig/debian/udev-udeb.dirs +++ udev-154/debian/udev-udeb.dirs @@ -0,0 +1,6 @@ +/etc/modprobe.d/ +/etc/udev/rules.d/ +/lib/debian-installer/ +/lib/udev/rules.d/ +/usr/lib/base-installer.d/ +/sbin/ --- udev-154.orig/debian/udev.prerm +++ udev-154/debian/udev.prerm @@ -0,0 +1,33 @@ +#!/bin/sh -e + +# adapted from postinst +chrooted() { + if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; + then + return 1 + fi + return 0 +} + +kill_udevd() { + start-stop-daemon --stop --name udevd --oknodo --quiet --retry 5 +} + +case "$1" in + remove|deconfigure|failed-upgrade) + if ! chrooted; then + kill_udevd + fi + ;; + + upgrade) + ;; + + *) + echo "$0 called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + --- udev-154.orig/debian/control +++ udev-154/debian/control @@ -0,0 +1,87 @@ +Source: udev +Section: admin +Priority: important +Maintainer: Marco d'Itri +Build-Depends: debhelper (>> 5), quilt (>= 0.40), libselinux1-dev (>= 1.28), libglib2.0-dev (>= 2.12.0), libusb-dev (>= 1:0.1.12), libacl1-dev, usbutils (>= 0.86-2), pciutils, libc6-dev (>= 2.9) [!alpha !ia64], libc6.1-dev (>= 2.9) [alpha ia64], linux-libc-dev (>= 2.6.29), autoconf, automake, libtool (>= 2.2.2), gtk-doc-tools, xsltproc, docbook-xsl, gperf, libgirepository1.0-dev, gir1.0-glib-2.0, gobject-introspection (>= 0.6.5-3) +Standards-Version: 3.8.4 + +Package: udev +Architecture: any +Pre-Depends: debconf (>= 1.4.69) | debconf-2.0 +Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6), util-linux (>= 2.16), s390-tools (>> 1.6.2) [s390] +Recommends: usbutils, pciutils +Replaces: initramfs-tools (<= 0.41) +Conflicts: hotplug, initscripts (<< 2.85-16), lvm-common (<< 1.5.13), module-init-tools (<< 3.2.2-1), initramfs-tools (<< 0.39), hal (<< 0.5.6-2), makedev (<< 2.3.1-80), klibc-utils (<= 1.4.19-1), multipath-tools (<< 0.4.8-12), libc6 (<< 2.9-22) +Breaks: dmsetup (<< 2.02.51-1), mdadm (<< 3.0-3), consolekit (<< 0.4.1) +Description: /dev/ and hotplug management daemon + udev is a daemon which dynamically creates and removes device nodes from + /dev/, handles hotplug events and loads drivers at boot time. + +Package: libudev0 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, udev (= ${binary:Version}) +Description: libudev shared library + This library provides access to udev device information. + +Package: libudev-dev +Section: libdevel +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libudev0 (= ${binary:Version}) +Description: libudev development files + This package contains the files needed for developing applications that + use libudev. + +Package: udev-udeb +XC-Package-Type: udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, util-linux-udeb +Description: /dev/ and hotplug management daemon + udev is a daemon which dynamically creates and removes device nodes from + /dev/, handles hotplug events and loads drivers at boot time. + . + This is a minimal version, only for use in the installation system. + +Package: udev-gtk-udeb +XC-Package-Type: udeb +Section: debian-installer +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, udev-udeb +Description: libudev shared library + This library provides access to udev device information. + The package additionally contains input_id and the related rules. + . + This is a minimal version, only for use in the installation system. + +Package: libgudev-1.0-0 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GObject-based wrapper library for libudev + This library makes it much simpler to use libudev from programs already using + GObject. It also makes it possible to easily use libudev from other + programming languages, such as Javascript, because of GObject introspection + support. + +Package: gir1.0-gudev-1.0 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${gir:Depends}, libglib2.0-0 +Description: libgudev-1.0 introspection data + This package contains the GObject-introspection data of libgudev-1.0 in + binary typelib format. + +Package: libgudev-1.0-dev +Section: libdevel +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libgudev-1.0-0 (= ${binary:Version}), libglib2.0-dev, pkg-config +Description: libgudev-1.0 development files + This package contains the files needed for developing applications that + use libgudev-1.0. --- udev-154.orig/debian/gir1.0-gudev-1.0.files +++ udev-154/debian/gir1.0-gudev-1.0.files @@ -0,0 +1 @@ +usr/lib/girepository-1.0/ --- udev-154.orig/debian/udev.NEWS +++ udev-154/debian/udev.NEWS @@ -0,0 +1,9 @@ +udev (0.140-1) unstable; urgency=low + + Starting from this release the last applicable NAME directive will be + used instead of the first one: check any custom udev rules. + The default rules files have been moved to /lib/udev/rules.d/ and + /etc/udev/rules.d/ is supposed to contain only generated files or + custom directives. + + -- Marco d'Itri Wed, 18 Mar 2009 02:34:13 +0100 --- udev-154.orig/debian/compat +++ udev-154/debian/compat @@ -0,0 +1 @@ +5 --- udev-154.orig/debian/udev.preinst +++ udev-154/debian/udev.preinst @@ -0,0 +1,295 @@ +#!/bin/sh -e + +# Hack to get the dpkg process' PID despite using debconf +if [ -z "$PARENT_PID" ]; then + export PARENT_PID=$PPID +fi + +. /usr/share/debconf/confmodule + +supported_kernel() { + local version + if [ "$1" ]; then + version="$1" + else + version="$(uname -r)" + fi + + case "$version" in + 2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;; + 2.6.1[0-9]|2.6.1[0-9][!0-9]*) return 1 ;; + 2.6.2[0-5]|2.6.2[0-5][!0-9]*) return 1 ;; + esac + return 0 +} + +check_installed_kernel() { + for ver in /lib/modules/*; do + ver=${ver##*/} + [ "$ver" = '*' ] && return 1 + supported_kernel "$ver" && return 0 + done + return 1 +} + +check_installing_kernel() { + for pkg in $(ps hp $PARENT_PID -o args); do + ver=$(echo $pkg | sed -nr "s/^.*linux-image-(2\.6\.[0-9]+)-([0-9]+|trunk)-.*_.*_.*\.deb$/\1/p") + [ "$ver" ] && supported_kernel "$ver" && return 0 + done + return 1 +} + +check_kernel_version() { + # skip the check if udev is not already active + [ -d /dev/.udev/ ] || return 0 + + supported_kernel && return + + if [ -e /etc/udev/kernel-upgrade ]; then + echo "This version of udev requires a kernel >= 2.6.26, but the upgrade was forced." + # restart udevd which was killed by the old prerm + udevd -d || true + return 0 + fi + + db_settitle udev/title/upgrade + + if check_installed_kernel || check_installing_kernel; then + db_fset udev/reboot_needed seen false + db_input high udev/reboot_needed || true + db_go + db_stop + echo "A reboot is needed, but proceeding with the upgrade." + touch /etc/udev/kernel-upgrade + # restart udevd which was killed by the old prerm + udevd -d || true + return 0 + fi + + db_fset udev/new_kernel_needed seen false + db_reset udev/new_kernel_needed + db_input critical udev/new_kernel_needed || true + db_go + db_get udev/new_kernel_needed + if [ "$RET" = true ]; then + db_stop + echo "This version of udev requires a kernel >= 2.6.26, but the upgrade was forced." + touch /etc/udev/kernel-upgrade + # restart udevd which was killed by the old prerm + udevd -d || true + return 0 + fi + db_stop + exit 1 +} + +check_kernel_features() { + # skip the check if udev is not already active + [ -d /dev/.udev/ ] || return 0 + + # skip the check if check_kernel_version() decided that a new kernel is + # being installed + [ -e /etc/udev/kernel-upgrade ] && return 0 + + local abort_install=0 + + if [ -e /proc/kallsyms ]; then + + local needed_symbols='sys_inotify_init sys_signalfd' + local missing_symbol=0 + for symbol in $needed_symbols; do + if ! egrep -q "^[a-fA-F0-9]+ T \.?${symbol}$" /proc/kallsyms; then + missing_symbol=1 + abort_install=1 + break + fi + done + + fi + + local sysfs_deprecated=0 + if [ -d /sys/class/mem/null -a ! -L /sys/class/mem/null ]; then + sysfs_deprecated=1 + abort_install=1 + fi + + if [ "$missing_symbol" -eq 1 ]; then + cat < $file.tmp + mv $file.tmp $file +} + +check_version() { + # $2 is non-empty when installing from the "config-files" state + [ "$2" ] || return 0 + + if dpkg --compare-versions $2 lt 150-1; then + + # these must be checked first to allow aborting before changing anything + check_kernel_version + check_kernel_features + + if dpkg --compare-versions $2 lt 0.140-1; then + if dpkg --compare-versions $2 lt 0.124-1; then + + # this must be checked first to allow aborting before changing anything + check_devfs_names + + if dpkg --compare-versions $2 lt 0.098-1; then + echo 'Upgrading udev from packages older than 0.098-1 is not supported.' + echo 'Please purge the package and then reinstall it.' + exit 1 + fi + + # lt 0.124-1 + rm_conffile /etc/udev/cd-aliases-generator.rules + rm_conffile /etc/udev/compat-full.rules + rm_conffile /etc/udev/compat.rules + rm_conffile /etc/udev/devfs.rules + rm_conffile /etc/udev/hotplug.rules + rm_conffile /etc/udev/permissions.rules + rm_conffile /etc/udev/persistent-input.rules + rm_conffile /etc/udev/persistent-net-generator.rules + rm_conffile /etc/udev/persistent.rules + rm_conffile /etc/udev/run.rules + rm_conffile /etc/udev/udev.rules + # removed in 0.113-1 + rm_conffile /etc/udev/hotplugd.rules + + ( + cd /etc/udev/rules.d/ + + # delete dangling symlinks + find -L . -type l -print0 | xargs --no-run-if-empty --null rm + + # rename the generated files + if [ -e z25_persistent-cd.rules -a ! -e 70-persistent-cd.rules ]; then + mv z25_persistent-cd.rules 70-persistent-cd.rules + fi + if [ -e z25_persistent-net.rules -a ! -e 70-persistent-net.rules ]; then + mv z25_persistent-net.rules 70-persistent-net.rules + fi + ) + + fi # 0.124-1 + + # lt 0.140-1 + rm_conffile /etc/modprobe.d/display_class + rm_conffile /etc/modprobe.d/pnp-hotplug + mv_conffile /etc/modprobe.d/blacklist /etc/modprobe.d/blacklist.conf + + for file in 50-udev 60-persistent-input 60-persistent-storage \ + 60-persistent-storage-tape 60-persistent-v4l 91-permissions 80-drivers \ + 75-cd-aliases-generator 75-persistent-net-generator 95-late; do + rm_conffile /etc/udev/rules.d/$file.rules + done + + # SYSFS is equivalent to ATTRS, and multiple ATTRS attributes do not match + # when the keys are from different kobjects like in this case. + replace_sysfs_attr /etc/udev/rules.d/70-persistent-net.rules + + fi # 0.140-1 + + # lt 146-1 + rm_conffile /etc/scsi_id.config + + fi # 146-1 +} + +case "$1" in + install) + check_version "$@" + ;; + + upgrade|abort-upgrade) + check_version "$@" + ;; + + *) + echo "$0 called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + --- udev-154.orig/debian/libudev0.symbols +++ udev-154/debian/libudev0.symbols @@ -0,0 +1,80 @@ +libudev.so.0 libudev0 #MINVER# + udev_device_get_action@Base 0.140 + udev_device_get_devlinks_list_entry@Base 0.140 + udev_device_get_devnode@Base 0.140 + udev_device_get_devnum@Base 0.140 + udev_device_get_devpath@Base 0.140 + udev_device_get_devtype@Base 0.140 + udev_device_get_driver@Base 0.140 + udev_device_get_parent@Base 0.140 + udev_device_get_parent_with_subsystem_devtype@Base 0.140 + udev_device_get_properties_list_entry@Base 0.140 + udev_device_get_property_value@Base 0.140 + udev_device_get_seqnum@Base 0.140 + udev_device_get_subsystem@Base 0.140 + udev_device_get_sysattr_value@Base 0.140 + udev_device_get_sysname@Base 0.140 + udev_device_get_sysnum@Base 0.140 + udev_device_get_syspath@Base 0.140 + udev_device_get_tags_list_entry@Base 154 + udev_device_get_udev@Base 0.140 + udev_device_new_from_devnum@Base 0.140 + udev_device_new_from_environment@Base 152 + udev_device_new_from_subsystem_sysname@Base 0.140 + udev_device_new_from_syspath@Base 0.140 + udev_device_ref@Base 0.140 + udev_device_unref@Base 0.140 + udev_enumerate_add_match_property@Base 0.140 + udev_enumerate_add_match_subsystem@Base 0.140 + udev_enumerate_add_match_sysattr@Base 0.140 + udev_enumerate_add_match_sysname@Base 146 + udev_enumerate_add_match_tag@Base 154 + udev_enumerate_add_nomatch_subsystem@Base 0.140 + udev_enumerate_add_nomatch_sysattr@Base 0.140 + udev_enumerate_add_syspath@Base 0.140 + udev_enumerate_get_list_entry@Base 0.140 + udev_enumerate_get_udev@Base 0.140 + udev_enumerate_new@Base 0.140 + udev_enumerate_ref@Base 0.140 + udev_enumerate_scan_devices@Base 0.140 + udev_enumerate_scan_subsystems@Base 0.140 + udev_enumerate_unref@Base 0.140 + udev_get_dev_path@Base 0.140 + udev_get_log_priority@Base 0.140 + udev_get_sys_path@Base 0.140 + udev_get_userdata@Base 0.140 + udev_list_entry_get_by_name@Base 0.140 + udev_list_entry_get_name@Base 0.140 + udev_list_entry_get_next@Base 0.140 + udev_list_entry_get_value@Base 0.140 + udev_monitor_enable_receiving@Base 0.140 + udev_monitor_filter_add_match_subsystem_devtype@Base 146 + udev_monitor_filter_add_match_tag@Base 154 + udev_monitor_filter_remove@Base 146 + udev_monitor_filter_update@Base 146 + udev_monitor_get_fd@Base 0.140 + udev_monitor_get_udev@Base 0.140 + udev_monitor_new_from_netlink@Base 0.140 + udev_monitor_new_from_socket@Base 0.140 + udev_monitor_receive_device@Base 0.140 + udev_monitor_ref@Base 0.140 + udev_monitor_set_receive_buffer_size@Base 152 + udev_monitor_unref@Base 0.140 + udev_new@Base 0.140 + udev_queue_get_failed_list_entry@Base 0.140 + udev_queue_get_kernel_seqnum@Base 0.140 + udev_queue_get_queue_is_empty@Base 0.140 + udev_queue_get_queued_list_entry@Base 0.140 + udev_queue_get_seqnum_is_finished@Base 0.140 + udev_queue_get_seqnum_sequence_is_finished@Base 146 + udev_queue_get_udev@Base 0.140 + udev_queue_get_udev_is_active@Base 0.140 + udev_queue_get_udev_seqnum@Base 0.140 + udev_queue_new@Base 0.140 + udev_queue_ref@Base 0.140 + udev_queue_unref@Base 0.140 + udev_ref@Base 0.140 + udev_set_log_fn@Base 0.140 + udev_set_log_priority@Base 0.140 + udev_set_userdata@Base 0.140 + udev_unref@Base 0.140 --- udev-154.orig/debian/tmp.substvars +++ udev-154/debian/tmp.substvars @@ -0,0 +1 @@ +shlibs:Depends=libacl1 (>= 2.2.11-1), libc6 (>= 2.3), libglib2.0-0 (>= 2.12.0) --- udev-154.orig/debian/udev.postinst +++ udev-154/debian/udev.postinst @@ -0,0 +1,203 @@ +#!/bin/sh -e + +supported_kernel() { + case "$(uname -r)" in + 2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;; + 2.6.1[0-9]|2.6.1[0-9][!0-9]*) return 1 ;; + 2.6.2[0-5]|2.6.2[0-5][!0-9]*) return 1 ;; + esac + return 0 +} + +tempdir() { + local dir=$(tempfile --prefix=udev.) + rm $dir + mkdir $dir + echo $dir +} + +chrooted() { + if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; + then + # the devicenumber/inode pair of / is the same as that of /sbin/init's + # root, so we're *not* in a chroot and hence return false. + return 1 + fi + echo "A chroot environment has been detected, udev not started." + return 0 +} + +in_debootstrap() { + # debootstrap --second-stage may be run in an emulator instead of a chroot, + # we need to check for this special case because start-stop-daemon would + # not be available. (#520742) + if [ -d /debootstrap/ ]; then + echo "Being installed by debootstrap, udev not started." + return 0 + fi + return 1 +} + +restart_udevd() { + start-stop-daemon --stop --name udevd --oknodo --quiet --retry 5 + + local rc=0 + udevd --daemon || rc=$? + if [ $rc -ne 0 ]; then + echo "Cannot start udevd. (rc=$rc)" + return $rc + fi +} + +can_start_udevd() { + if ! supported_kernel; then + echo "udev requires a kernel >= 2.6.26, not started." + return 1 + fi + + if [ ! -d /sys/class/ ]; then + echo "udev requires a mounted sysfs, not started." + return 1 + fi + + if [ ! -e /sys/kernel/uevent_helper ]; then + echo "udev requires hotplug support, not started." + return 1 + fi + + if ! grep -q '[[:space:]]tmpfs$' /proc/filesystems; then + echo "udev requires tmpfs support, not started." + return 1 + fi + + if [ -e /etc/udev/disabled ]; then + echo "/etc/udev/disabled has been detected, udev not started." + return 1 + fi + + return 0 +} + +enable_udev() { + can_start_udevd || return 0 + + echo > /sys/kernel/uevent_helper + + # create the directory which will hold our new /dev + TEMPDEV=$(tempdir) + + export UDEV_ROOT=$TEMPDEV + UDEV_RUN=no restart_udevd + + if ! mount -n -o size=10M,mode=0755 -t tmpfs tmpfs $TEMPDEV; then + echo "Not enabling udev because the system lacks tmpfs support!" + rm -f $TEMPDEV/.udev/uevent_seqnum + rmdir $TEMPDEV/.udev/ 2> /dev/null || true + return + fi + + echo "Populating the new /dev filesystem temporarily mounted on $TEMPDEV/..." + mkdir -p $TEMPDEV/.udev/queue/ + /lib/udev/create_static_nodes $TEMPDEV + udevadm trigger --action=add + + # wait for the udevd children to finish + udevadm settle || true + + for dir in pts shm; do + [ -d /dev/$dir ] || continue + mkdir -p $TEMPDEV/$dir + if mountpoint -q /dev/$dir; then + mount -n --move /dev/$dir $TEMPDEV/$dir + fi + done + + mount -n --move $TEMPDEV /dev + + # start the final daemon with the normal configuration + unset UDEV_ROOT + restart_udevd + + # XXX Some people reported that the directory was not empty. + # This should fix the issue (udevd reopens the file for each event): + rm -f $TEMPDEV/.udev/uevent_seqnum + rmdir $TEMPDEV/.udev/ 2> /dev/null || true + + if ! rmdir $TEMPDEV; then + echo "WARNING: $TEMPDEV is not empty!" + ls -laR $TEMPDEV + fi + + # restart some daemons because their /dev sockets have been hidden by + # the tmpfs + kill -s HUP 1 + local sysloginits="inetutils-syslogd rsyslog socklog-run sysklogd syslog-ng" + for script in $sysloginits; do + [ -x /etc/init.d/$script ] && invoke-rc.d $script restart || true + done +} + +update_initramfs() { + [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ] \ + || return 0 + update-initramfs -u +} + +write_interfaces_rules() { + local devpath + for devpath in /sys/class/net/*; do + [ -d "$devpath" ] || continue + udevadm test --action=add $devpath > /dev/null || true + done +} + +fix_persistent_net_rules() { + if [ -e /etc/udev/rules.d/70-persistent-net.rules ]; then + sed -i -e 's/\bATTRS{/ATTR{/g' /etc/udev/rules.d/70-persistent-net.rules + fi +} + +upgrade_fixes() { + if dpkg --compare-versions "$2" lt "140-2"; then + fix_persistent_net_rules + fi +} + +case "$1" in + configure) + if [ -z "$2" ]; then # first install + write_interfaces_rules + if ! chrooted && ! in_debootstrap; then + enable_udev + fi + else # upgrades + upgrade_fixes "$@" + if ! chrooted; then + if [ -e /etc/udev/kernel-upgrade ]; then + echo "Kernel upgrade mode, udevd has not been restarted." + echo "Please reboot the system as soon as possible." + rm /etc/udev/kernel-upgrade + elif can_start_udevd; then + restart_udevd + fi + fi + fi + + update_initramfs + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + interfaces) + write_interfaces_rules + ;; + + *) + echo "$0 called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + --- udev-154.orig/debian/libgudev-1.0-0.files +++ udev-154/debian/libgudev-1.0-0.files @@ -0,0 +1 @@ +usr/lib/libgudev*.so.* --- udev-154.orig/debian/rules +++ udev-154/debian/rules @@ -0,0 +1,197 @@ +#!/usr/bin/make -f +SHELL+= -e + +BUILD_UDEB := 1 +USE_SELINUX := 1 + + + +QUILT_STAMPFN=.stamp-patched +include /usr/share/quilt/quilt.make + +D := $(CURDIR)/debian/udev +DU := $(CURDIR)/debian/udev-udeb +DGU:= $(CURDIR)/debian/udev-gtk-udeb + +CONFFLAGS := --prefix=/usr --sysconfdir=/etc --sbindir=/sbin \ + --with-rootlibdir=/lib --libexecdir=/lib/udev \ + --enable-static --disable-dependency-tracking +CONFFLAGS_deb := $(CONFFLAGS) --enable-gtk-doc --enable-introspection +CONFFLAGS_udeb := $(CONFFLAGS) + +############################################################################## +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 + +ifdef USE_SELINUX + CONFFLAGS_deb += --with-selinux +endif + +ifdef BUILD_UDEB +BUILD_UDEB_TARGET := .stamp-build-udeb +else +NO_PACKAGE := --no-package=udev-udeb --no-package=udev-gtk-udeb +endif + +############################################################################## +all: build + +clean: unpatch + rm -rf .stamp-* build-* + rm -f aclocal.m4 autom4te.cache/* config.h.in config.h.in~ configure \ + ltmain.sh install-sh missing depcomp config.sub config.guess \ + gtk-doc.make m4/* $$(find . -name Makefile.in) + dh_clean + +autoreconf: .stamp-autoreconf +.stamp-autoreconf: $(QUILT_STAMPFN) + gtkdocize + # improve support for out of tree builds, and it's still not enough + sed 's/srcdir/builddir/g' < gtk-doc.make > gtk-doc.make.tmp && \ + mv gtk-doc.make.tmp gtk-doc.make + autoreconf --force --install --symlink + touch $@ + +build-deb/config.status: .stamp-autoreconf + [ -d build-deb ] || mkdir build-deb + cd build-deb/ && \ + ../configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + $(CONFFLAGS_deb) + +build-udeb/config.status: .stamp-autoreconf + [ -d build-udeb ] || mkdir build-udeb + cd build-udeb/ && \ + ../configure CFLAGS="$(CFLAGS) -Os -fomit-frame-pointer" \ + LDFLAGS="$(LDFLAGS)" \ + $(CONFFLAGS_udeb) + +build: .stamp-build +.stamp-build: build-deb/config.status + dh_testdir + cd build-deb/ && \ + $(MAKE) all USB_DATABASE=/usr/share/misc/usb.ids + touch $@ + +build-udeb: .stamp-build-udeb +.stamp-build-udeb: build-udeb/config.status + dh_testdir + cd build-udeb/ && \ + $(MAKE) all \ + extras_input_id_input_id_LDADD='-Llibudev/ -ludev' + touch $@ + +binary-arch: .stamp-build $(BUILD_UDEB_TARGET) checkroot + dh_testdir + dh_clean -k + dh_installdirs + + cd build-deb/ && \ + $(MAKE) install DESTDIR=$D + + dh_movefiles --sourcedir=debian/udev + cd $D && rm -r usr/lib/pkgconfig/ usr/include/ usr/share/gtk-doc/ \ + usr/lib/*.la + + install --mode=755 extra/*.agent extra/create_static_nodes \ + $D/lib/udev/ + cp extra/hotplug.functions $D/lib/udev/ + + cd $D/lib/udev/rules.d/ && rm 60-cdrom_id.rules \ + 61-persistent-storage-edd.rules + cp rules/debian/*.rules $D/lib/udev/rules.d/ + perl extra/subst_lib_name $D + cp extra/links.conf $D/etc/udev/ + printf "# maximum size of the /dev tmpfs\ntmpfs_size=\"10M\"\n\n" \ + >> $D/etc/udev/udev.conf + + install --mode=644 extra/blacklist.conf extra/fbdev-blacklist.conf \ + $D/etc/modprobe.d/ + + install --mode=755 extra/initramfs.hook \ + $D/usr/share/initramfs-tools/hooks/udev + install --mode=755 extra/initramfs.top \ + $D/usr/share/initramfs-tools/scripts/init-top/udev + install --mode=755 extra/initramfs.bottom \ + $D/usr/share/initramfs-tools/scripts/init-bottom/udev + +ifdef BUILD_UDEB + grep '^[[:alnum:]]' extra/links.conf > $(DU)/etc/udev/links.conf + grep '^[[:alnum:]]' udev.conf > $(DU)/etc/udev/udev.conf + + cp rules/debian/*.rules $(DU)/lib/udev/rules.d/ + cd $(DU)/lib/udev/rules.d/ && rm 60-persistent-storage-tape.rules + cp rules/rules.d/60-persistent-input.rules $(DU)/lib/udev/rules.d/ + echo 'MODE="0666"' > $(DU)/lib/udev/rules.d/91-permissions.rules + + install --mode=755 $(addprefix build-udeb/udev/, udevd udevadm) \ + $(DU)/sbin/ + install --mode=755 $(addprefix build-udeb/extras/, \ + ata_id/ata_id cdrom_id/cdrom_id edd_id/edd_id \ + path_id/path_id scsi_id/scsi_id usb_id/usb_id ) \ + extras/rule_generator/write_*_rules extra/firmware.agent \ + $(DU)/lib/udev/ + install --mode=644 extras/rule_generator/rule_generator.functions \ + extra/hotplug.functions \ + $(DU)/lib/udev/ + install --mode=644 extra/blacklist.conf $(DU)/etc/modprobe.d/ + install --mode=755 extra/udev.startup \ + $(DU)/lib/debian-installer/start-udev + install --mode=755 extra/udev.base-installer \ + $(DU)/usr/lib/base-installer.d/05udev + + cp -a build-udeb/libudev/.libs/libudev.so.0* $(DGU)/lib/ + install --mode=755 build-udeb/extras/input_id/.libs/input_id \ + $(DGU)/lib/udev/ +endif + + # workaround for #555111 + cp -a libudev/docs/html/* \ + $(CURDIR)/debian/libudev-dev/usr/share/gtk-doc/html/libudev/ + cp -a extras/gudev/docs/html/* \ + $(CURDIR)/debian/libgudev-1.0-dev/usr/share/gtk-doc/html/gudev/ + + dh_link + dh_installchangelogs ChangeLog + dh_installdocs README NEWS TODO + dh_installexamples extra/udev.vim + dh_installdebconf + dh_installinit --no-start --update-rcd-params='start 03 S .' + dh_installinit --no-start --update-rcd-params='start 36 S .' \ + --name=udev-mtab + + # remove duplicate changelogs + cd $(CURDIR)/debian/ && rm -r \ + libgudev-1.0-dev/usr/share/doc/libgudev-1.0-dev/ \ + gir1.0-gudev-1.0/usr/share/doc/gir1.0-gudev-1.0/ \ + libudev-dev/usr/share/doc/libudev-dev/ + ln -s libgudev-1.0-0 $(CURDIR)/debian/libgudev-1.0-dev/usr/share/doc/libgudev-1.0-dev + ln -s libgudev-1.0-0 $(CURDIR)/debian/gir1.0-gudev-1.0/usr/share/doc/gir1.0-gudev-1.0 + ln -s libudev0 $(CURDIR)/debian/libudev-dev/usr/share/doc/libudev-dev + + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs --add-udeb=udev-gtk-udeb -- -c4 + dh_shlibdeps --exclude=/lib/udev/udev-acl -- --warnings=7 + dh_girepository + dh_installdeb + dh_gencontrol $(NO_PACKAGE) + dh_md5sums + dh_builddeb $(NO_PACKAGE) + + +binary: binary-arch + +checkroot: + test root = "`whoami`" + +get-orig-source: + cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \ + uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR) + +.PHONY: binary binary-arch binary-indep unpack build clean checkroot --- udev-154.orig/debian/copyright +++ udev-154/debian/copyright @@ -0,0 +1,20 @@ +This is the Debian GNU/Linux prepackaged version of udev. + +It has been packaged by Marco d'Itri . + +Original sources were obtained from: +http://www.kernel.org/pub/linux/utils/kernel/hotplug/ + + +Copyright (C) 2003,2004 Greg Kroah-Hartman +Copyright (C) 2004,2005 Kay Sievers + +udev is licensed under the GNU GPL version 2 or newer. + +libudev is licensed under the GNU LGPL version 2.1 or newer. + +libgudev is licensed under the GNU LGPL version 2 or newer. + +On Debian systems the complete text of the licenses can be found in +/usr/share/common-licenses/GPL-2 and /usr/share/common-licenses/LGPL-2.1 . + --- udev-154.orig/debian/udev-gtk-udeb.dirs +++ udev-154/debian/udev-gtk-udeb.dirs @@ -0,0 +1 @@ +/lib/udev/rules.d/ --- udev-154.orig/debian/libgudev-1.0-0.symbols +++ udev-154/debian/libgudev-1.0-0.symbols @@ -0,0 +1,39 @@ +libgudev-1.0.so.0 libgudev-1.0-0 #MINVER# + g_udev_client_get_type@Base 146 + g_udev_client_new@Base 146 + g_udev_client_query_by_device_file@Base 146 + g_udev_client_query_by_device_number@Base 146 + g_udev_client_query_by_subsystem@Base 146 + g_udev_client_query_by_subsystem_and_name@Base 146 + g_udev_client_query_by_sysfs_path@Base 146 + g_udev_device_get_action@Base 146 + g_udev_device_get_device_file@Base 146 + g_udev_device_get_device_file_symlinks@Base 146 + g_udev_device_get_device_number@Base 146 + g_udev_device_get_device_type@Base 146 + g_udev_device_get_devtype@Base 146 + g_udev_device_get_driver@Base 146 + g_udev_device_get_name@Base 146 + g_udev_device_get_number@Base 146 + g_udev_device_get_parent@Base 146 + g_udev_device_get_parent_with_subsystem@Base 146 + g_udev_device_get_property@Base 146 + g_udev_device_get_property_as_boolean@Base 146 + g_udev_device_get_property_as_double@Base 146 + g_udev_device_get_property_as_int@Base 146 + g_udev_device_get_property_as_strv@Base 146 + g_udev_device_get_property_as_uint64@Base 146 + g_udev_device_get_property_keys@Base 146 + g_udev_device_get_seqnum@Base 146 + g_udev_device_get_subsystem@Base 146 + g_udev_device_get_sysfs_attr@Base 146 + g_udev_device_get_sysfs_attr_as_boolean@Base 146 + g_udev_device_get_sysfs_attr_as_double@Base 146 + g_udev_device_get_sysfs_attr_as_int@Base 146 + g_udev_device_get_sysfs_attr_as_strv@Base 146 + g_udev_device_get_sysfs_attr_as_uint64@Base 146 + g_udev_device_get_sysfs_path@Base 146 + g_udev_device_get_type@Base 146 + g_udev_device_has_property@Base 146 + g_udev_device_type_get_type@Base 146 + g_udev_marshal_VOID__STRING_OBJECT@Base 146 --- udev-154.orig/debian/udev.dirs +++ udev-154/debian/udev.dirs @@ -0,0 +1,11 @@ +/etc/modprobe.d/ +/etc/udev/ +/etc/udev/.dev/ +/lib/udev/ +/lib/udev/devices/ +/lib/firmware/ +/usr/share/bug/udev/ +/usr/share/initramfs-tools/hooks/ +/usr/share/initramfs-tools/scripts/init-top/ +/usr/share/initramfs-tools/scripts/init-bottom/ +/sbin/ --- udev-154.orig/debian/watch +++ udev-154/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-([\d+\.]+)\.tar.(?:gz|bz2) --- udev-154.orig/debian/po/sv.po +++ udev-154/debian/po/sv.po @@ -0,0 +1,93 @@ +# Translation of udev debconf template to Swedish +# Copyright (C) 2009 Martin Bagge +# This file is distributed under the same license as the udev package. +# +# Martin Bagge , 2008, 2009 +msgid "" +msgstr "" +"Project-Id-Version: udev 149-2\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2009-12-29 11:21+0100\n" +"Last-Translator: Martin Bagge \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Swedish\n" +"X-Poedit-Country: SWEDEN\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Uppgraderar udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Efter denna uppgradering krävs en omstart." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Du uppgraderar för närvarande udev med en inkompatibel kärnversion. En " +"kompatibel kärnversion finns installerad eller håller på att installeras på " +"ditt system, men du måste starta om med denna nya kärna så fort " +"uppgraderingen är klar." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Om du inte startar om med denna nya kärnersionen så kan ditt system bli " +"OANVÄNDBART." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Vill du ändå fortsätta med uppgraderingen?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Du kommer att uppgradea udev till en version som inte är kompatibel med den " +"kärna du använder för tillfället." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Du MÅSTE installera en kompatibel kärnversion (2.6.26 eller nyare) innan du " +"fortsätter med uppgraderingen, annars kan ditt system bli OANVÄNDBART. Paket " +"vars namn börjar med \"linux-image-2.6-\" innehåller en kärna som går att " +"använda med denna version av udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Om du ändå väljer att fortsätta att uppgradera udev, så skall du installera " +"en kompatibel kärna och starta om med denna så fort som möjligt." --- udev-154.orig/debian/po/ca.po +++ udev-154/debian/po/ca.po @@ -0,0 +1,91 @@ +# translation of ca.po to catalan +# Miguel Gea Milvaques , 2007, 2008. +msgid "" +msgstr "" +"Project-Id-Version: udev 149-2\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2009-12-30 20:56+0100\n" +"Last-Translator: Miguel Gea Milvaques \n" +"Language-Team: Catalan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "S'està actualitzant l'udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Es necessari reiniciar després d'aquesta actualització" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Esteu actualitzant l'udev utilitzant una versió del nucli incompatible. " +"S'està instal·lant o està instal·lada una versió compatible al vostre " +"sistema, però necessiteu reiniciar per utilitzar aquest nou nucli en el " +"moment que l'actualització estiga complerta." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Si no reinicieu amb aquesta nova versió del nucli, el vostre sistema es " +"podria quedar INUTILITZABLE." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"Voleu continuar amb l'actualització malgrat la incompatibilitat del nucli?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Esteu actualitzant l'udev a una versió que no és compatible amb la versió " +"del nucli que s'està executant." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"HEU d'instal·lar una versió del nucli compatible (2.6.26 o posterior) abans " +"de continuar amb l'actualització, si no, el vostre sistema es quedarà " +"INUTILITZABLE. Els paquets que el seu nom comença per «linux-image-2.6-» " +"proporcionen una imatge del nucli utilitzable amb aquesta nova versió de " +"l'udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Si trieu d'actualitzar l'udev de totes maneres, hauríeu d'instal·lar un " +"nucli compatible i reiniciar tan prompte com siga possible." --- udev-154.orig/debian/po/da.po +++ udev-154/debian/po/da.po @@ -0,0 +1,114 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Claus Hindsgaul , 2006. +msgid "" +msgstr "" +"Project-Id-Version: udev debconf\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2006-11-28 19:21+0100\n" +"Last-Translator: Claus Hindsgaul \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Genstart efter denne opgradering" + +#. Type: error +#. Description +#: ../udev.templates:3001 +#, fuzzy +#| msgid "" +#| "You are currently upgrading udev using an incompatible kernel version. A " +#| "compatible version is installed or being installed on your system, but " +#| "you need to reboot using this new kernel as soon as the upgrade is " +#| "complete." +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Du er ved at opgradere udev med en inkompatibel kerneversion. En kompatibel " +"kerneversion er blevet installeret eller er ved at blive installeret på dit " +"system, men du skal genstarte med denne nye kerne snarest muligt efter at " +"opgraderingen er afsluttet." + +#. Type: error +#. Description +#: ../udev.templates:3001 +#, fuzzy +#| msgid "" +#| "Without a reboot with this new kernel version, your system may become " +#| "UNUSABLE." +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Uden en genstart med denne kerneversion, kan dit system blive UBRUGELIGT." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +#, fuzzy +#| msgid "Proceed with the upgrade nevertheless?" +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Fortsæt med opgraderingen alligevel?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +#, fuzzy +#| msgid "" +#| "You are currently upgrading udev using an incompatible kernel version. " +#| "You MUST install a compatible kernel version (2.6.26 or newer) before " +#| "proceeding with the upgrade, otherwise your system may become UNUSABLE. " +#| "Packages with a name starting with \"linux-image-2.6-\" provide a kernel " +#| "image usable with this new udev version." +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Du er ved at opgradere udev med en inkompatibel kerneversion. Du SKAL " +"installere en kompatibel kerneversion (2.6.26 eller senere), før du " +"fortsætter opgraderingen, da dit system ellers kan blive UBRUGELIGT. Pakker " +"med navne, der starter med \"linux-image-2.6-\" indeholder kerner, der kan " +"benyttes med denne version af udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +#, fuzzy +#| msgid "" +#| "If you choose to upgrade udev nevertheless, you should install a " +#| "compatible kernel and reboot on it as soon as possible. You have been " +#| "warned." +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Hvis du vælger at opgradere udev alligevel, bør du installere en kompatibel " +"kerne og genstarte snarest muligt. Nu er du advaret." --- udev-154.orig/debian/po/ar.po +++ udev-154/debian/po/ar.po @@ -0,0 +1,90 @@ +# translation of templates.po to Arabic +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Ossama M. Khayat , 2007. +msgid "" +msgstr "" +"Project-Id-Version: templates\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-01 13:23+0300\n" +"Last-Translator: Ossama M. Khayat \n" +"Language-Team: Arabic \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=6; plural=n==1 ? 0 : n==0 ? 1 : n==2 ? 2: n%100>=3 && " +"n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "يجب إعادة تشغيل الجهاز بعد هذه الترقية" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"تقوم حالياً بترقية udev باستخدام نسخة نواة غير متوافقة. هناك نسخة نواة " +"متوافقة مثبتة أو يتم تثبيتها على النظام، ولكن يجب عليك إعادة تشغيل النظام " +"واستخدام النواة الجديدة حالما تنتهي عملية الترقية." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"بدون أن تقوم بإعادة التشغيل واستخدام نسخة النواة الجديدة، فإن النظام قد يصبح " +"غير مستقر." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "هل تريد الاستمرار بترقية udev على الرغم من عدم توافق النواة؟" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "تقوم حالياً بترقية udev إلى نسخة غير متوافقة مع النواة التي تعمل حالياً." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"يجب أن تقوم بتثبيت نسخة نواة متوافقة (2.6.26 أو أحدث) قبل أن تقوم بالترقية، " +"وإلا فقد يصبح النظام غير مستقر. الحزم التي يبدأ اسمها بالنص \"linux-image-" +"2.6-\" توفر نسخة نواة متوافقة مع نسخة udev هذه." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"إن اخترت ترقية udev على الرغم من ذلك، فيجب عليك تثبيت نواة متوافقة وإعادة " +"التشغيل لاستخدام تلك النواة في أقرب وقت ممكن." --- udev-154.orig/debian/po/eu.po +++ udev-154/debian/po/eu.po @@ -0,0 +1,92 @@ +# translation of udev-eu.po to Euskara +# Piarres Beobide , 2006, 2007. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +msgid "" +msgstr "" +"Project-Id-Version: udev-eu\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-02 09:31+0200\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Euskara \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Pootle 0.11\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Eguneraketa honen ondoren berrabiarazi egin behar da" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Bateragarri ez den kernel bertsio bat erabiliaz udev eguneratzen ari zara. " +"Bertsio bateragarri bat instalaturik dago edo instalatu da zure sisteman, " +"baina ahal bezain laster kernel berri hau erabiliaz berrabiarazi behar da " +"eguneraketa hau burutu ahal izateko." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Kernel berri horrekin ez berrabiarazi ezkero, zure sistema ERABILTEZINA " +"geratu daiteke." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"Kernel bateragarritasun eza albo batera utzi eta eguneraketarekin jarraitu?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Une honetan instalaturik duzun kernel-arekin bateragarri ez den udev bertsio " +"batetara bertsio berritzen ari zara." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Bertsio bateragarri bat instalatu BEHAR duzu (2.6.26 edo berriagoa) aurrera " +"jarraitu aurretik. bestela sistema ERABILTEZINA geratu daiteke. Pakete izena " +"\"linux-image-2.6-\"-rekin asten diren paketeak udev bertsio berria " +"erabiltzen duen kernel irudi bat dute." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Hala ere udev eguneratzea hautatu ezkero, ahal bezain laster kernel " +"bateragarri bat instalatu eta berrabiarazi egin behar duzu." --- udev-154.orig/debian/po/ja.po +++ udev-154/debian/po/ja.po @@ -0,0 +1,93 @@ +# Copyright (C) 2006-2009 md@linux.it +# This file is distributed under the same license as the udev package. +# Hideki Yamane (Debian-JP) , 2006-2009. +# +msgid "" +msgstr "" +"Project-Id-Version: udev 0.149-2\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2009-12-26 23:00+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "udev をアップグレードしています" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "今回のアップグレード後には再起動が必要です" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"現在 udev をアップグレードしようとしていますが、この udev とは互換性の無い" +"バージョンのカーネルを利用しています。互換性のあるバージョンのカーネルは、シ" +"ステムにインストールされている、あるいはこれからインストールされるところです" +"が、アップグレード完了後すぐにこの新しいカーネルを使って再起動する必要があり" +"ます。" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"この新しいバージョンのカーネルを使って再起動しなければ、システムは「利用不可" +"能」になるでしょう。" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"カーネルとの互換性がありませんが、それでもアップグレードを実行しますか?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"udev を、現在動作しているカーネルとは互換性が無いバージョンのものにアップグ" +"レードしようとしています。" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"アップグレードを実行する前に、互換性があるバージョン (2.6.26 以上) のカーネル" +"をインストールする「必要」があります。さもなくば、システムは「利用不可能」に" +"なります。\"linux-image-2.6-\" で始まる名前のパッケージでこの新バージョンの " +"udev で使えるカーネルイメージが提供されます。" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"それでも udev をアップグレードするという場合は、互換性のあるバージョンのカー" +"ネルをインストールして、直ちに再起動する必要があります。" + --- udev-154.orig/debian/po/ml.po +++ udev-154/debian/po/ml.po @@ -0,0 +1,90 @@ +# Malayalam translation of udev debconf template. +# Copyright (C) 2008 udev'S COPYRIGHT HOLDER +# This file is distributed under the same license as the udev package. +# Praveen Arimbrathodiyil , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2008-05-11 18:15-0800\n" +"Last-Translator: Praveen|പ്രവീണ്‍ A|എ \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "പുതുക്കലിനു് ശേഷം വീണ്ടും തുടങ്ങണം" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"പൊരുത്തമില്ലാത്തൊരു കെര്‍ണല്‍ പതിപ്പുപയോഗിച്ചാണു് നിങ്ങള്‍ ഇപ്പോള്‍ യുഡെവ് പുതുക്കിക്കൊണ്ടിരിയ്ക്കുന്നതു്. " +"പൊരുത്തമുള്ളൊരു പതിപ്പു് സിസ്റ്റത്തില്‍ ഇന്‍സ്റ്റോള്‍ ചെയ്തിട്ടുണ്ടു് അല്ലെങ്കില്‍ ഇന്‍സ്റ്റോള്‍ ചെയ്തു് " +"കൊണ്ടിരിയ്ക്കുകയാണു്, പക്ഷേ പുതുക്കല്‍ തീര്‍ന്നയുടനെത്തന്നെ ഈ പുതിയ കെര്‍ണലുപയോഗിച്ചു് നിങ്ങള്‍ വീണ്ടും " +"തുടങ്ങണം." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"ഈ പുതിയ കെര്‍ണല്‍ പതിപ്പുപയോഗിച്ചു് വീണ്ടും തുടങ്ങിയില്ലെങ്കില്‍ നിങ്ങളുടെ സിസ്റ്റം ഉപയോഗിയ്ക്കാന്‍ " +"പറ്റാത്തതായേയ്ക്കാം." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "കെര്‍ണല്‍ പൊരുത്തക്കേടുണ്ടെന്നറിഞ്ഞിട്ടും യുഡെവിന്റെ പുതുക്കലുമായി മുമ്പോട്ടു് പോകണോ?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"ഇപ്പോള്‍ പ്രവര്‍ത്തിച്ചു് കൊണ്ടിരിയ്ക്കുന്ന കെര്‍ണല്‍ പതിപ്പുമായി പൊരുത്തമില്ലാത്ത യുഡെവിന്റെ ഒരു " +"പതിപ്പിലേയ്ക്കാണു് നിങ്ങളിപ്പോള്‍ പുതുക്കിക്കൊണ്ടിരിയ്ക്കുന്നതു്." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"പുതുക്കുന്നതിനു് മുമ്പു് പൊരുത്തമുള്ളൊരു കെര്‍ണല്‍ പതിപ്പു് (2.6.26 അല്ലെങ്കില്‍ പുതിയതു്) ഇന്‍സ്റ്റോള്‍ " +"ചെയ്തിരിയ്ക്കണം, അല്ലായെങ്കില്‍ സിസ്റ്റം ഉപയോഗിയ്ക്കാന്‍ പറ്റാത്തതായേയ്ക്കാം. \"linux-image-" +"2.6-\" എന്നു് തുടങ്ങുന്ന പേരുള്ള പൊതികള്‍ ഈ പുതിയ യുഡെവ് പതിപ്പുമായി ഉപയോഗിയ്ക്കാന്‍ പറ്റുന്ന കെര്‍ണല്‍ " +"നല്‍കുന്നുണ്ടു്." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"ഇതെല്ലാം അവഗണിച്ചു് നിങ്ങള്‍ യുഡെവ് പുതുക്കാന്‍ തന്നെ തീരുമാനിച്ചെങ്കില്‍ നിങ്ങള്‍ പൊരുത്തമുള്ളൊരു കെര്‍ണല്‍ " +"ഇന്‍സ്റ്റോള്‍ ചെയ്തു് എത്രയും പെട്ടെന്നു് വീണ്ടും തുടങ്ങേണ്ടതാണു്." --- udev-154.orig/debian/po/lt.po +++ udev-154/debian/po/lt.po @@ -0,0 +1,91 @@ +# Lithuanian translation of udev. +# Copyright (C) 2007 THE udev'S COPYRIGHT HOLDER +# This file is distributed under the same license as the udev package. +# Kęstutis Biliūnas , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: udev 0.105-4\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-07 19:58+0300\n" +"Last-Translator: Kęstutis Biliūnas \n" +"Language-Team: Lithuanian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Po šio atnaujinimo reikia pakartotinai įkelti sistemą" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Jūs atnaujinate udev naudodami nesuderinamą branduolio versiją. Suderinama " +"versija jau įdiegta arba bus įdiegta, bet baigus atnaujinimą Jums reikia " +"pakartotinai įkelti sistemą (perkrauti) su nauju branduoliu." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Neperkrovus sistemos su nauja branduolio versija, sistema gali tapti " +"NEDARBINGA." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Ar tęsti udev atnaujinimą, nepaisant nesuderinamumo su branduoliu." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Jūs atnaujinate udev iki versijos, kuri yra nesuderinama su dabartiniu metu " +"veikiančiu branduoliu." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Jūs PRIVALOTE įdiegti suderinamos versijos branduolį (2.6.26 arba " +"aukštesnės) prieš atnaujinimą, nes sistema gali tapti NEDARBINGA. Paketai, " +"kurių vardai prasideda \"linux-image-2.6-\" tiekia branduolius tinkamus šiai " +"naujai udev versijai." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Jei vis dėlto pasirenkate tęsti atnaujinimą, Jūs turite įdiegti suderinamą " +"branduolį ir pakartotinai įkelti (perkrauti) sistemą su nauju branduoliu kai " +"tik galėsite." --- udev-154.orig/debian/po/de.po +++ udev-154/debian/po/de.po @@ -0,0 +1,93 @@ +# translation of po-debconf template to German +# This file is distributed under the same license as the udev package. +# Copyright (C) Matthias Julius , 2006, 2007, +# Chris Leick 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: udev 149-2\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2010-01-07 19:59-0500\n" +"Last-Translator: Chris Leick \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Es wird ein Upgrade von Udev durchgeführt" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Nach diesem Upgrade ist ein Neustart notwendig" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Sie führen gegenwärtig ein Upgrade von Udev unter Verwendung einer " +"inkompatiblen Kernel-Version durch. Eine kompatible Version ist oder wird " +"gerade auf Ihrem System installiert. Sie müssen jedoch Ihren Rechner mit dem " +"neuen Kernel neu starten, sobald das Upgrade beendet ist." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Ohne Neustart mit dieser neuen Kernel-Version könnte Ihr System UNBENUTZBAR " +"werden." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Upgrade trotz der Kernel-Inkompatibilität fortsetzen?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Sie führen gegenwärtig ein Upgrade von Udev auf eine Version durch, die mit " +"dem gegenwärtig laufenden Kernel nicht kompatibel ist." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Sie MÜSSEN eine kompatible Kernel-Version (2.6.26 oder höher) installieren, " +"bevor Sie das Upgrade durchführen. Anderenfalls könnte das System " +"UNBENUTZBAR werden. Pakete, deren Name mit »linux-image-2.6-« beginnt, " +"stellen ein Kernel-Image zu Verfügung, welches mit dieser neuen Udev-Version " +"verwendbar ist." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Falls Sie sich entscheiden, das Upgrade von Udev trotzdem durchzuführen, " +"sollten Sie so bald wie möglich einen kompatiblen Kernel installieren und " +"das System damit neu starten." --- udev-154.orig/debian/po/pt.po +++ udev-154/debian/po/pt.po @@ -0,0 +1,93 @@ +# Portuguese translation for udev's debconf messages +# Copyright (C) 2007 Carlos Lisboa +# This file is distributed under the same license as the udev package. +# Carlos Lisboa , 2007, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2008-04-10 21:08+0100\n" +"Last-Translator: Carlos Lisboa \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Será necessário reiniciar após esta actualização" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Está neste momento a actualizar o udev com uma versão incompatível de " +"kernel. Está instalada ou está a ser instalada uma versão compatível no seu " +"sistema, mas deverá reiniciar usando este novo kernel assim que a " +"actualização termine." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Se não reiniciar com esta nova versão de kernel, o seu sistema poderá ficar " +"INUTILIZÁVEL." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"Continuar com a actualização do udev apesar da incompatibilidade com o " +"kernel?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Está a actualizar o udev para uma versão que não é compatível com o kernel " +"que está a correr actualmente." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"TERÁ de instalar uma versão do kernel compatível (2.6.26 ou superior) antes " +"da actualização continuar, de outra forma o sistema poderá ficar " +"INUTILIZÁVEL. Os pacotes que comecem com \"linux-image-2.6-\" disponibilizam " +"uma imagem de kernel utilizável com esta nova versão do udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Se decidir actualizar o udev de qualquer forma, deverá instalar um kernel " +"compatível e reiniciar com esse kernel o mais rápido possível." --- udev-154.orig/debian/po/nl.po +++ udev-154/debian/po/nl.po @@ -0,0 +1,93 @@ +# Dutch udev po-debconf translation, +# Copyright (C) 2007 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the udev package. +# Vincent Zweije , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: udev 0.105-5\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-02 18:18+0000\n" +"Last-Translator: Vincent Zweije \n" +"Language-Team: Debian-Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Herstart nodig na opwaardering" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Het pakket udev wordt opgewaardeerd, maar uw systeem draait op dit moment " +"met een kernel die niet compatibel is met de nieuwe versie van udev. Wel is " +"of wordt een compatibele versie van de kernel op uw systeem genstalleerd. U " +"wordt geadviseerd om uw systeem zo spoedig mogelijk nadat de opwaardering is " +"voltooid, te herstarten met de nieuwe kernelversie." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Zonder een herstart naar deze nieuwe kernelversie kan het systeem " +"onbruikbaar worden." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Verder gaan met de opwaardering ondanks de kernel-incompatibiliteit?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"U bent momenteel udev aan het opwaarderen naar een versie die niet " +"compatibel is met de huidige kernelversie." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"U moet een compatibele kernelversie (2.6.26 of hoger) installeren voordat u " +"met de opwaardering verder gaat, anders kan uw systeem onbruikbaar worden. " +"Pakketten die beginnen met \"linux-image-2.6-\" voorzien in een kernel die " +"bruikbaar is met deze nieuwe udev-versie." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Indien u er toch voor kiest udev op te waarderen, dient u zo spoedig " +"mogelijk een compatibele kernel te installeren en uw systeem met die kernel " +"opnieuw te starten." --- udev-154.orig/debian/po/ru.po +++ udev-154/debian/po/ru.po @@ -0,0 +1,93 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2006, 2007, 2009. +# Sergey Alyoshin, 2007. +msgid "" +msgstr "" +"Project-Id-Version: udev 149-2\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2009-12-26 20:30+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Обновление udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "После этого обновления требуется перезагрузка" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Вы обновляете udev используя ядро несовместимой версии. Совместимая версия " +"уже установлена или будет установлена в систему, но вам нужно выполнить " +"перезагрузку с новым ядром сразу после завершения обновления." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "Без перезагрузки с ядром новой версии, система может стать НЕРАБОТОСПОСОБНОЙ." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Продолжить обновление udev несмотря на несовместимость ядра?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Вы обновляете udev до версии, которая не совместима с работающим в настоящее " +"время ядром." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Вы ДОЛЖНЫ установить ядро совместимой версии (2.6.26 или выше) перед " +"обновлением, иначе система может стать НЕРАБОТОСПОСОБНОЙ. Пакеты с именами " +"начинающимися с \"linux-image-2.6-\" содержат образы ядра совместимые с " +"новой версией udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Если вы продолжите обновление udev несмотря на это, то вам следует " +"установить совместимое ядро и перезагрузить машину с этим ядром как можно " +"скорее." + --- udev-154.orig/debian/po/cs.po +++ udev-154/debian/po/cs.po @@ -0,0 +1,89 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-01 11:11+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Po této aktualizaci je vyžadován restart" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Momentálně aktualizujete udev a používáte nekompatibilní verzi jádra. Do " +"systému se již nainstalovala, případně se každou chvílí nainstaluje, " +"kompatibilní verze. Po dokončení instalace musíte co nejdříve restartovat " +"systém s tímto novým jádrem." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "Bez restartu do nového jádra se systém může stát NEPOUŽITELNÝM." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Pokračovat v aktualizaci udevu i přes nekompatibilní jádro?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Momentálně aktualizujete udev na verzi, která není kompatibilní s běžícím " +"jádrem." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Před aktualizací MUSÍTE nainstalovat kompatibilní verzi jádra (2.6.26 nebo " +"vyšší). Pokud tak neučiníte, stane se systém NEPOUŽITELNÝM. Balíky, jejichž " +"název začíná na \"linux-image-2.6-\", poskytují jádra, která jsou vhodná pro " +"tuto verzi udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Budete-li přesto pokračovat v aktualizaci balíku udev, měli byste " +"nainstalovat kompatibilní verzi jádra a co nejrychleji do něj restartovat." --- udev-154.orig/debian/po/nb.po +++ udev-154/debian/po/nb.po @@ -0,0 +1,92 @@ +# translation of nb.po to Norwegian Bokmål +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Bjørn Steensrud , 2007. +# Bjørn Steensrud , 2009. +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2009-12-26 18:34+0100\n" +"Last-Translator: Bjørn Steensrud \n" +"Language-Team: Norwegian Bokmål \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.0\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Oppgraderer udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Omstart er nødvendig etter denne oppgraderingen" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Udev blir nå oppgradert ved hjelp av en kjerneversjon som ikke er kompatibel " +"med udev. En kompatibel kjerneversjon er installert eller under installasjon " +"på systemet, men maskinen må startes på nytt med denne nye kjernen så snart " +"oppgraderingen er fullført." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "Uten omstart med denne nye kjerneversjonen kan systemet bli UBRUKELIG." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Fortsette med oppgraderingen likevel, trass i ukompatibel kjerne?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Udev er i ferd med å bli oppgradert til en versjon som ikke er kompatibel " +"med den kjernen som nå kjører." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"En kompatibel kjerneversjon (2.6.26 eller senere) MÅ installeres før udev " +"oppgraderes, ellers kan systemet bli UBRUKELIG. Pakker med navn som begynner " +"med «linux-image-2.6-» inneholder kjernebilder som kan brukes med denne nye " +"udev-versjonen." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Hvis du velger å oppgradere udev likevel, bør du installere en kompatibel " +"kjerne og starte maskinen med den så snart som mulig." + --- udev-154.orig/debian/po/fr.po +++ udev-154/debian/po/fr.po @@ -0,0 +1,96 @@ +# udev French debconf templates translation. +# Copyright (C) 2006 +# This file is distributed under the same license as the udev package. +# Jean-Luc Coulon (f5ibh) , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2009-12-27 11:53+0100\n" +"Last-Translator: Jean-Luc Coulon (f5ibh) \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: French\n" +"X-Poedit-Country: FRANCE\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Mise à jour de udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Redémarrage nécessaire après cette mise à jour" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Vous êtes en train de mettre à jour udev en utilisant une version du noyau " +"incompatible. Une version compatible est installée ou en cours " +"d'installation sur le système, mais il faudra redémarrer en utilisant ce " +"nouveau noyau dès la fin de cette mise à jour." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Sans redémarrage en utilisant cette nouvelle version du noyau, votre système " +"peut devenir INUTILISABLE." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"Voulez-vous poursuivre la mise à jour bien que le noyau soit incompatible ?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Vous êtes actuellement en train de mettre à jour udev vers une version qui " +"pas compatible avec le noyau actuellement utilisé." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Vous DEVEZ installer une version du noyau compatible (c'est-à-dire 2.6.26 ou " +"plus récente) avant de procéder à cette mise à jour, sinon votre système " +"peut devenir INUTILISABLE. Les paquets dont le nom commence par « linux-image-" +"2.6- » fournissent une image du noyau utilisable avec cette nouvelle version " +"du paquet udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Si, malgré tout, vous choisissez de mettre à jour udev, vous devriez " +"installer une version du noyau compatible et redémarrer dès que possible. " + --- udev-154.orig/debian/po/pt_BR.po +++ udev-154/debian/po/pt_BR.po @@ -0,0 +1,97 @@ +# udev Brazilian Portuguese translation +# Copyright (C) 2006 André Luís Lopes +# This file is distributed under the same license as the udev package. +# André Luís Lopes , 2006. +# Eder L. Marques (frolic) , 2008. +# Flamarion Jorge , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2010-04-03 10:06-0300\n" +"Last-Translator: Flamarion Jorge \n" +"Language-Team: l10n portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Atualizando udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Reinicialização necessária após esta atualização" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Você está atualmente atualizando o udev utilizando uma versão de kernel " +"incompatível. Uma versão compatível está instalada ou sendo instalada em seu " +"sistema, mas você precisa reinicializar usando esse novo kernel assim que a " +"atualização estiver completa." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Sem uma reinicialização usando esta nova versão de kernel, o sistema pode " +"tornar-se INUTILIZÁVEL." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"Proceder com a atualização do udev apesar da incompatibilidade de kernel?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Você está atualmente atualizando o udev para uma versão que não é compatível " +"com o kernel atualmente em execução." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Você DEVE instalar uma versão de kernel compatível (2.6.26 ou posterior) " +"antes de atualizar, caso contrário o sistema pode tornar-se INUTILIZÁVEL. " +"Pacotes com um nome iniciando com \"linux-image-2.6-\" fornecem uma imagem " +"de kernel usável com esta nova versão do udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Se você escolher atualizar o udev de qualquer forma, você deverá instalar um " +"kernel compatível e reinicializar com este kernel o mais rápido possível." --- udev-154.orig/debian/po/fi.po +++ udev-154/debian/po/fi.po @@ -0,0 +1,90 @@ +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-10-17 23:44+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Tämän päivityksen jälkeen tietokone on käynnistettävä uudelleen" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Ohjelmaa udev päivitetään käyttäen yhteensopimatonta ytimen versiota. " +"Yhteensopiva versio on asennettuna tai asennetaan järjestelmään, mutta " +"tietokone tulee käynnistää uudelleen käyttämään tätä uutta ydintä heti, kun " +"päivitys on valmis." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Jos konetta ei käynnistetä uudelleen käyttäen uutta ytimen versiota, " +"järjestelmä saattaa muuttua käyttökelvottomaksi." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"Jatketaanko udevin päivitystä huolimatta ytimen yhteensopimattomuudesta?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Ohjelmaa udev päivitetään versioon, joka ei ole yhteensopiva käytössä olevan " +"ytimen kanssa." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Sinun TÄYTYY asentaa yhteensopiva ytimen versio (2.6.26 tai uudempi) ennen " +"päivitystä. Muussa tapauksessa järjestelmä saattaa muuttua " +"käyttökelvottomaksi. Paketit, joiden nimi alkaa ”linux-image-2.6-” tarjoavat " +"tämän uuden udevin version kanssa käyttökelpoisia ytimiä." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Jos päätät päivittää udevin kaikesta huolimatta, sinun tulisi asentaa " +"yhteensopiva ydin ja käynnistää tietokone uudelleen käyttäen tuota ydintä " +"mahdollisimman pian." --- udev-154.orig/debian/po/ko.po +++ udev-154/debian/po/ko.po @@ -0,0 +1,91 @@ +# Korean translations for udev package +# udev 패키지에 대한 한국어 번역문. +# Copyright (C) 2007 THE udev'S COPYRIGHT HOLDER +# This file is distributed under the same license as the udev package. +# Sunjae Park , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-15 09:59+0900\n" +"Last-Translator: Sunjae Park \n" +"Language-Team: Korean \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "이번 업그레이드 후 재부팅 필요" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"현재 호환되지 않는 커널 버전을 사용하면서 udev을 업그레이드하고 있습니다. 호" +"환되는 버전이 설치되었든지 설치하는 중이지만, 업그레이드가 끝나자마자 새 커널" +"을 사용하도록 재부팅을 하셔야 합니다." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"새로운 커널 버전로 재부팅하지 않으면 시스템을 사용할 수 없게 될 수도 있습니" +"다." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "커널이 호환되지 않는데도 udev 업그레이드를 계속 진행할까요?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"현재 사용중인 커널과 호환되지 않는 udev 버전으로 업그레이드하는 중입니다." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"업그레이드하기 전에 호환되는 커널 버전(2.6.26 이상)을 반.드.시. 설치하셔야" +"지, 안 그러면 시스템을 사용할 수 없게 될 수도 있습니다. 새로 설치하는 udev 버" +"전과 사용할 수 있는 커널 이미지는 이름이 \"linux-image-2.6-\"로 시작하는 꾸러" +"미에서 찾으실 수 있습니다." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"그래도 udev을 업그레이드하고자 하신다면 최대한 빨리 호환되는 커널을 설치하시" +"고 그 커널로 재부팅하시기 바랍니다." --- udev-154.orig/debian/po/gl.po +++ udev-154/debian/po/gl.po @@ -0,0 +1,91 @@ +# Galician translation of udev's debconf templates. +# This file is distributed under the same license as the udev package. +# Jacobo Tarrio , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-01 18:05+0200\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Hai que reiniciar trala actualización" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Está a actualizar udev mentres emprega unha versión incompatible do núcleo. " +"Hai unha versión compatible instalada ou a se instalar no sistema, pero ha " +"ter que reiniciar para empregar ese novo núcleo o antes posible trala " +"actualización." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Se non reinicia para empregar esta nova versión do núcleo, o sistema pode " +"quedar inutilizable." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"¿Quere continuar a actualización a pesares da incompatibilidade do núcleo?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Está a actualizar udev a unha versión que non é compatible co núcleo que " +"está a executar." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Debe instalar unha versión do núcleo compatible (2.6.26 ou posterior) antes " +"de actualizar; se non, o seu sistema pode quedar inutilizable. Os paquetes " +"que teñen un nome que comeza por \"linux-image-2.6-\" fornecen unha versión " +"do núcleo que se pode empregar con esta nova versión de udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Se decide seguir a actualizar udev, debería instalar un núcleo compatible e " +"reiniciar con ese núcleo o antes posible." --- udev-154.orig/debian/po/es.po +++ udev-154/debian/po/es.po @@ -0,0 +1,90 @@ +# udev po-debconf translation to Spanish +# Copyright (C) 2008, 2009 Software in the Public Interest +# This file is distributed under the same license as the udev package. +# +# Changes: +# - Initial translation +# Felipe Caminos Echeverría , 2006-2008 +# +# - Updates +# Maximiliano Marin Bustos, 2008 +# Francisco Javier Cuadrado , 2009 +# +# Traductores, si no conocen el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: udev 149-2\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2009-12-26 23:31+0100\n" +"Last-Translator: Francisco Javier Cuadrado \n" +"Language-Team: Debian l10n Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Actualizando udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Es necesario reiniciar después de esta actualización" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "You are currently upgrading udev using an incompatible kernel version. A compatible version is installed or being installed on the system, but you need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "Está actualizando udev utilizando una versión incompatible del núcleo. Se está instalando o será instalada en su sistema una versión compatible, pero tiene que reiniciar utilizando este nuevo núcleo en cuanto haya terminado esta actualización." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Without a reboot with this new kernel version, the system may become UNUSABLE." +msgstr "Su sistema puede volverse INUTILIZABLE si no reinicia con esta nueva versión del núcleo." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "¿Desea continuar con la actualización de udev a pesar de la incompatibilidad del núcleo?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "You are currently upgrading udev to a version that is not compatible with the currently running kernel." +msgstr "Está actualizando udev a una versión que no es compatible con el núcleo que actualmente se ejecuta." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "You MUST install a compatible kernel version (2.6.26 or newer) before upgrading, otherwise the system may become UNUSABLE. Packages with a name starting with \"linux-image-2.6-\" provide a kernel image usable with this new udev version." +msgstr "DEBE instalar una versión del núcleo compatible (2.6.26 o superior) antes de continuar con la actualización, de otro modo el sistema puede volverse INUTILIZABLE. Los paquetes que comienzan con «linux-image-2.6-» proporcionan una imagen del núcleo compatible con esta nueva versión de udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "If you choose to upgrade udev nevertheless, you should install a compatible kernel and reboot with that kernel as soon as possible." +msgstr "Si escoge actualizar udev, debe instalar un núcleo compatible y reiniciar con él lo antes posible." + --- udev-154.orig/debian/po/templates.pot +++ udev-154/debian/po/templates.pot @@ -0,0 +1,78 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" --- udev-154.orig/debian/po/POTFILES.in +++ udev-154/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] udev.templates + --- udev-154.orig/debian/po/sk.po +++ udev-154/debian/po/sk.po @@ -0,0 +1,65 @@ +# Slovak translation of udev. +# Copyright (C) 2005 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the udev package. +# Ivan Masár , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2009-12-26 20:06+0100\n" +"Last-Translator: Ivan Masár \n" +"Language-Team: Slovak \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Aktualizácia udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Po tejto aktualizácii bude potrebný reštart." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "You are currently upgrading udev using an incompatible kernel version. A compatible version is installed or being installed on the system, but you need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "Momentálne aktualizujete udev, pričom používate nekompatibilnú verziu jadra. Na systéme je nainštalovaná alebo sa inštaluje kompatibilná verzia, ale hneď po dokončení inštalácie budete musieť čo najskôr reštartovať systém s novým jadrom." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Without a reboot with this new kernel version, the system may become UNUSABLE." +msgstr "Ak nevykonáte reštart s touto novou verziou jadra, systém sa môže stať NEPOUŽITEĽNÝM." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Pokračovať v aktualizácii udev napriek nekompatibilite jadra?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "You are currently upgrading udev to a version that is not compatible with the currently running kernel." +msgstr "Momentálne aktualizujete udev na verziu, ktorá nie je kompatibilná s verziou jadra, ktoré práve používate nekompatibilnú." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "You MUST install a compatible kernel version (2.6.26 or newer) before upgrading, otherwise the system may become UNUSABLE. Packages with a name starting with \"linux-image-2.6-\" provide a kernel image usable with this new udev version." +msgstr "MUSÍTE si pred aktualizáciou nainštalovať kompatibilnú verziu jadra (2.6.26 alebo vyššiu), inak sa váš systém môže stať NEPOUŽITEĽNÝM. Balíky, ktorých názov začína „linux-image-2.6-” poskytujú jadro kompatibilné s touto novou verziou udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "If you choose to upgrade udev nevertheless, you should install a compatible kernel and reboot with that kernel as soon as possible." +msgstr "Ak sa rozhodnete napriek tomu aktualizovať udev, mali by ste si nainštalovať kompatibilnú verziu jadra a čo najskôr reštartovať." + --- udev-154.orig/debian/po/it.po +++ udev-154/debian/po/it.po @@ -0,0 +1,93 @@ +# Italian (it) translation of debconf templates for udev +# Copyright (C) 2006 Software in the Public Interest +# This file is distributed under the same license as the udev package. +# Luca Monducci , 2006,2007. +# +msgid "" +msgstr "" +"Project-Id-Version: udev 149\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-05 12:09+0200\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "Aggiornamento di udev" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Dopo questo aggiornamento è necessario riavviare il sistema" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Si sta aggiornando udev mentre è in uso una versione del kernel " +"incompatibile. Sul sistema è installata o sta per essere installata una " +"versione compatibile, però al termine dell'aggiornamento sarà necessario " +"riavviare il sistema per usare il nuovo kernel." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Il sistema potrebbe diventare INUTILIZZABILE se non lo si riavvia con la " +"nuova versione del kernel." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "" +"Procedere con l'aggiornamento di udev nonostante l'incompatibilità con il " +"kernel?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Si sta aggiornando udev a una versione che non è compatibile con il kernel " +"attualmente in uso." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Si DEVE installare una versione del kernel compatibile (2.6.26 o successiva) " +"prima dell'aggiornamento, altrimenti il sistema potrebbe diventare " +"INUTILIZZABILE. I pacchetti il cui nome inizia con \"linux-image-2.6-\" " +"forniscono un'immagine del kernel adatta a questa nuova versione di udev." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Se si sceglie comunque di aggiornare udev, si deve installare un kernel " +"compatibile e riavviare con il nuovo kernel il prima possibile." --- udev-154.orig/debian/po/ta.po +++ udev-154/debian/po/ta.po @@ -0,0 +1,88 @@ +# translation of fontconfig.po to TAMIL +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Dr.T.Vasudevan , 2009. +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-01 17:40+0530\n" +"Last-Translator: Dr.T.Vasudevan \n" +"Language-Team: TAMIL \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "யூடெவ் ஐ மேம்படுத்தல்" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "இந்த மேம்படுத்தலுக்குப்பின் மீள்துவக்கம் தேவை" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"இசைவில்லாத ஒரு உட்கூறு பதிப்புடன் நீங்கள் யூடெவ் ஐ மேம்படுத்துகிறீர்கள். ஒரு இசைவான " +"பதிப்பு நிறுவப்பட்டுள்ளது அல்லது நிறுவப்படுகிறது ஆனால் மேம்படுத்தல் முடிந்ததும் இந்த " +"புதிய உட்கூறை பயன்படுத்தி நீங்கள் மீள்துவக்கம் செய்ய வேண்டும். " + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "அத்தகைய மீள்துவக்கம் இல்லாது போனால் கணினி பயன்படுத்த இயலாத நிலைக்கு ஆளாக்கப்படும்." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "உட்கூறு இசைவில்லாது யூடெவ் ஐ மேம்படுத்தலை தொடரலாமா?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"நீங்கள் யூடெவ் பதிப்பை ஐ மேம்படுத்துகிறீர்கள். அது இப்போதுள்ள உட்கூறு பதிப்புடன் " +"இசைவில்லாதது. " + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"நீங்கள் மேம்படுத்து முன் அவசியமாக இசைவுள்ள உட்கூறு பதிப்பு (2.6.26 அல்லது மேல்) ஒன்றை " +"நிறுவியாக வேண்டும். இல்லாவிட்டால் கணினி பயன்படுத்த முடியாத நிலைக்கு போகும். இந்த புதிய " +"யூடெவ் பதிப்புடன் \"linux-image-2.6-\" என பெயர் துவங்கும் பொதிகள் இசைவுள்ளவை." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"அப்படியும் யூடெவ் ஐ மேம்படுத்த நினைத்தால் இசைவுள்ள உட்கூறு பதிப்புஒன்றை நிறுவியாக " +"வேண்டும். உடனேயே அந்த உட்கூறுடன் மீள்துவக்கம் செய்ய வேண்டும்." --- udev-154.orig/debian/po/hu.po +++ udev-154/debian/po/hu.po @@ -0,0 +1,85 @@ +msgid "" +msgstr "" +"Project-Id-Version: udev\n" +"Report-Msgid-Bugs-To: udev@packages.debian.org\n" +"POT-Creation-Date: 2009-12-26 14:30+0100\n" +"PO-Revision-Date: 2007-05-01 09:45+0100\n" +"Last-Translator: SZERVÁC Attila \n" +"Language-Team: Hungarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Hungarian\n" +"X-Poedit-Country: HUNGARY\n" + +#. Type: title +#. Description +#: ../udev.templates:2001 +msgid "Upgrading udev" +msgstr "" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "Reboot needed after this upgrade" +msgstr "Újraindítás szükséges e frissítés után" + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"You are currently upgrading udev using an incompatible kernel version. A " +"compatible version is installed or being installed on the system, but you " +"need to reboot using this new kernel as soon as the upgrade is complete." +msgstr "" +"Az udev rendszert egy inkompatibilis kernel jelenlegi használatával " +"frissíted. Egy kompatibilis verzió is telepítésre kerül, és ennek " +"használatához újra kell majd indítani a rendszert a frissítés után." + +#. Type: error +#. Description +#: ../udev.templates:3001 +msgid "" +"Without a reboot with this new kernel version, the system may become " +"UNUSABLE." +msgstr "" +"Az új kernellel való újraindítás nélkül a rendszer HASZNÁLHATATLANNÁ válhat." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "Proceed with the udev upgrade despite the kernel incompatibility?" +msgstr "Folytatod az udev frissítést a kernel inkompatibilitás tudtával?" + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You are currently upgrading udev to a version that is not compatible with " +"the currently running kernel." +msgstr "" +"Az udev rendszert a jelenlegi kernellel nem kompatibilis verzióra frissíted." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"You MUST install a compatible kernel version (2.6.26 or newer) before " +"upgrading, otherwise the system may become UNUSABLE. Packages with a name " +"starting with \"linux-image-2.6-\" provide a kernel image usable with this " +"new udev version." +msgstr "" +"Telepítened KELL egy kompatibilis kernel verziót (2.6.26 vagy újabb) a " +"frissítés előtt, különben a rendszer HASZNÁLHATATLANNÁ válhat. A \"linux-" +"image-2.6-\" kezdetű csomagok egy ezen új udev verzióval használható kernel " +"képet adnak." + +#. Type: boolean +#. Description +#: ../udev.templates:4001 +msgid "" +"If you choose to upgrade udev nevertheless, you should install a compatible " +"kernel and reboot with that kernel as soon as possible." +msgstr "" +"Ha frissíted az udev rendszert, telepítened kell egy kompatibilis kernelt és " +"ajánlott mielőbb indítani vele." --- udev-154.orig/debian/patches/test_for_glib +++ udev-154/debian/patches/test_for_glib @@ -0,0 +1,20 @@ +--- a/extras/udev-acl/70-acl.rules ++++ b/extras/udev-acl/70-acl.rules +@@ -70,8 +70,16 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4" + # color measurement devices + ENV{COLOR_MEASUREMENT_DEVICE}=="*?", TAG+="udev-acl" + ++LABEL="acl_apply" ++ ++ENV{ACL_MANAGE}!="1", GOTO="acl_end" ++ ++# Glib is not declared as a package dependency, so check that it is actually ++# installed before running udev-acl. ++TEST!="@GLIB_PATH@", GOTO="acl_end" ++ + # apply ACL for all locally logged in users +-LABEL="acl_apply", TAG=="udev-acl", TEST=="/var/run/ConsoleKit/database", \ ++TEST=="/var/run/ConsoleKit/database", \ + RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}" + + LABEL="acl_end" --- udev-154.orig/debian/patches/fix_gtkdoc_oot +++ udev-154/debian/patches/fix_gtkdoc_oot @@ -0,0 +1,22 @@ +--- a/extras/gudev/docs/Makefile.am ++++ b/extras/gudev/docs/Makefile.am +@@ -21,7 +21,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xm + # gtk-doc will search all .c & .h files beneath here for inline comments + # documenting the functions and macros. + # e.g. DOC_SOURCE_DIR=../../../gtk +-DOC_SOURCE_DIR=.. ++DOC_SOURCE_DIR=$(abs_srcdir) + + # Extra options to pass to gtkdoc-scangobj. Not normally needed. + SCANGOBJ_OPTIONS= +--- a/libudev/docs/Makefile.am ++++ b/libudev/docs/Makefile.am +@@ -21,7 +21,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xm + # gtk-doc will search all .c & .h files beneath here for inline comments + # documenting the functions and macros. + # e.g. DOC_SOURCE_DIR=../../../gtk +-DOC_SOURCE_DIR=.. ++DOC_SOURCE_DIR=$(abs_srcdir) + + # Extra options to pass to gtkdoc-scangobj. Not normally needed. + SCANGOBJ_OPTIONS= --- udev-154.orig/debian/patches/old_cloexec +++ udev-154/debian/patches/old_cloexec @@ -0,0 +1,104 @@ +--- a/libudev/libudev-monitor.c ++++ b/libudev/libudev-monitor.c +@@ -144,12 +144,13 @@ struct udev_monitor *udev_monitor_new_fr + util_strscpy(&udev_monitor->sun.sun_path[1], sizeof(udev_monitor->sun.sun_path)-1, socket_path); + udev_monitor->addrlen = offsetof(struct sockaddr_un, sun_path) + strlen(socket_path)+1; + } +- udev_monitor->sock = socket(AF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0); ++ udev_monitor->sock = socket(AF_LOCAL, SOCK_DGRAM, 0); + if (udev_monitor->sock == -1) { + err(udev, "error getting socket: %m\n"); + free(udev_monitor); + return NULL; + } ++ util_set_fd_cloexec(udev_monitor->sock); + + dbg(udev, "monitor %p created with '%s'\n", udev_monitor, socket_path); + return udev_monitor; +@@ -201,12 +202,13 @@ struct udev_monitor *udev_monitor_new_fr + if (udev_monitor == NULL) + return NULL; + +- udev_monitor->sock = socket(PF_NETLINK, SOCK_DGRAM|SOCK_CLOEXEC, NETLINK_KOBJECT_UEVENT); ++ udev_monitor->sock = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); + if (udev_monitor->sock == -1) { + err(udev, "error getting socket: %m\n"); + free(udev_monitor); + return NULL; + } ++ util_set_fd_cloexec(udev_monitor->sock); + + udev_monitor->snl.nl_family = AF_NETLINK; + udev_monitor->snl.nl_groups = group; +--- a/libudev/libudev-private.h ++++ b/libudev/libudev-private.h +@@ -206,6 +206,7 @@ size_t util_strscpyl(char *dest, size_t + int udev_util_replace_whitespace(const char *str, char *to, size_t len); + int udev_util_replace_chars(char *str, const char *white); + int udev_util_encode_string(const char *str, char *str_enc, size_t len); ++void util_set_fd_cloexec(int fd); + unsigned int util_string_hash32(const char *key); + uint64_t util_string_bloom64(const char *str); + +--- a/libudev/libudev-util.c ++++ b/libudev/libudev-util.c +@@ -535,6 +535,18 @@ static unsigned int murmur_hash2(const c + return h; + } + ++void util_set_fd_cloexec(int fd) ++{ ++ int flags; ++ ++ flags = fcntl(fd, F_GETFD); ++ if (flags < 0) ++ flags = FD_CLOEXEC; ++ else ++ flags |= FD_CLOEXEC; ++ fcntl(fd, F_SETFD, flags); ++} ++ + unsigned int util_string_hash32(const char *str) + { + return murmur_hash2(str, strlen(str), 0); +--- a/udev/udev-watch.c ++++ b/udev/udev-watch.c +@@ -38,8 +38,10 @@ static int inotify_fd = -1; + */ + int udev_watch_init(struct udev *udev) + { +- inotify_fd = inotify_init1(IN_CLOEXEC); +- if (inotify_fd < 0) ++ inotify_fd = inotify_init(); ++ if (inotify_fd >= 0) ++ util_set_fd_cloexec(inotify_fd); ++ else + err(udev, "inotify_init failed: %m\n"); + return inotify_fd; + } +--- a/udev/udevd.c ++++ b/udev/udevd.c +@@ -223,6 +223,7 @@ static void worker_new(struct event *eve + /* allow the main daemon netlink address to send devices to the worker */ + udev_monitor_allow_unicast_sender(worker_monitor, monitor); + udev_monitor_enable_receiving(worker_monitor); ++ util_set_fd_cloexec(udev_monitor_get_fd(worker_monitor)); + + worker = calloc(1, sizeof(struct worker)); + if (worker == NULL) +@@ -929,13 +930,14 @@ int main(int argc, char *argv[]) + } + + /* unnamed socket from workers to the main daemon */ +- if (socketpair(AF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0, worker_watch) < 0) { ++ if (socketpair(AF_LOCAL, SOCK_DGRAM, 0, worker_watch) < 0) { + fprintf(stderr, "error getting socketpair\n"); + err(udev, "error getting socketpair\n"); + rc = 6; + goto exit; + } + pfd[FD_WORKER].fd = worker_watch[READ_END]; ++ util_set_fd_cloexec(worker_watch[WRITE_END]); + + rules = udev_rules_new(udev, resolve_names); + if (rules == NULL) { --- udev-154.orig/debian/patches/dont-build-some-helpers +++ udev-154/debian/patches/dont-build-some-helpers @@ -0,0 +1,26 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -192,11 +192,8 @@ dist_udevrules_DATA += \ + # ------------------------------------------------------------------------------ + # firmware - firmware loading + # ------------------------------------------------------------------------------ +-extras_firmware_firmware_SOURCES = extras/firmware/firmware.c +-extras_firmware_firmware_LDADD = libudev/libudev-private.la + extras_firmware_firmware_CPPFLAGS = $(AM_CPPFLAGS) -DFIRMWARE_PATH="$(FIRMWARE_PATH)" +-dist_udevrules_DATA += extras/firmware/50-firmware.rules +-libexec_PROGRAMS = extras/firmware/firmware ++libexec_PROGRAMS = + + # ------------------------------------------------------------------------------ + # ata_id - ATA identify +@@ -231,10 +228,6 @@ dist_udevrules_DATA += extras/edd_id/61- + # ------------------------------------------------------------------------------ + # create_floppy_devices - historical floppy kernel device nodes (/dev/fd0h1440, ...) + # ------------------------------------------------------------------------------ +-extras_floppy_create_floppy_devices_SOURCES = extras/floppy/create_floppy_devices.c +-extras_floppy_create_floppy_devices_LDADD = libudev/libudev-private.la +-libexec_PROGRAMS += extras/floppy/create_floppy_devices +-dist_udevrules_DATA += extras/floppy/60-floppy.rules + + # ------------------------------------------------------------------------------ + # input_id - import input device class --- udev-154.orig/debian/patches/series +++ udev-154/debian/patches/series @@ -0,0 +1,11 @@ +reset_process_priority + +# fixes to be pushed upstream +fix_gtkdoc_oot + +# features to be pushed upstream + +# Debian integration +test_for_glib +dont-build-some-helpers +old_cloexec --- udev-154.orig/debian/patches/reset_process_priority +++ udev-154/debian/patches/reset_process_priority @@ -0,0 +1,70 @@ +diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h +index 7132357..3758c5b 100644 +--- a/libudev/libudev-private.h ++++ b/libudev/libudev-private.h +@@ -217,7 +217,7 @@ uid_t util_lookup_user(struct udev *udev, const char *user); + gid_t util_lookup_group(struct udev *udev, const char *group); + int util_run_program(struct udev *udev, const char *command, char **envp, + char *result, size_t ressize, size_t *reslen, +- const sigset_t *sigmask); ++ const sigset_t *sigmask, bool reset_prio); + int util_resolve_subsys_kernel(struct udev *udev, const char *string, + char *result, size_t maxsize, int read_value); + +diff --git a/libudev/libudev-util-private.c b/libudev/libudev-util-private.c +index c05c157..8c53512 100644 +--- a/libudev/libudev-util-private.c ++++ b/libudev/libudev-util-private.c +@@ -254,7 +254,7 @@ int util_resolve_subsys_kernel(struct udev *udev, const char *string, + + int util_run_program(struct udev *udev, const char *command, char **envp, + char *result, size_t ressize, size_t *reslen, +- const sigset_t *sigmask) ++ const sigset_t *sigmask, bool reset_prio) + { + int status; + int outpipe[2] = {-1, -1}; +@@ -349,6 +349,8 @@ int util_run_program(struct udev *udev, const char *command, char **envp, + + if (sigmask) + sigprocmask(SIG_SETMASK, sigmask, NULL); ++ if (reset_prio) ++ setpriority(PRIO_PROCESS, 0, 0); + + execve(argv[0], argv, envp); + if (errno == ENOENT || errno == ENOTDIR) { +diff --git a/udev/udev-event.c b/udev/udev-event.c +index 1be3f74..bcd0a8f 100644 +--- a/udev/udev-event.c ++++ b/udev/udev-event.c +@@ -677,7 +677,7 @@ int udev_event_execute_run(struct udev_event *event, const sigset_t *sigmask) + + udev_event_apply_format(event, cmd, program, sizeof(program)); + envp = udev_device_get_properties_envp(event->dev); +- if (util_run_program(event->udev, program, envp, NULL, 0, NULL, sigmask) != 0) { ++ if (util_run_program(event->udev, program, envp, NULL, 0, NULL, sigmask, true) != 0) { + if (udev_list_entry_get_flags(list_entry)) + err = -1; + } +diff --git a/udev/udev-rules.c b/udev/udev-rules.c +index b58ea8c..8fc804a 100644 +--- a/udev/udev-rules.c ++++ b/udev/udev-rules.c +@@ -747,7 +747,7 @@ static int import_program_into_properties(struct udev_device *dev, const char *p + char *line; + + envp = udev_device_get_properties_envp(dev); +- if (util_run_program(udev, program, envp, result, sizeof(result), &reslen, NULL) != 0) ++ if (util_run_program(udev, program, envp, result, sizeof(result), &reslen, NULL, false) != 0) + return -1; + + line = result; +@@ -2255,7 +2255,7 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event + program, + &rules->buf[rule->rule.filename_off], + rule->rule.filename_line); +- if (util_run_program(event->udev, program, envp, result, sizeof(result), NULL, NULL) != 0) { ++ if (util_run_program(event->udev, program, envp, result, sizeof(result), NULL, NULL, false) != 0) { + if (cur->key.op != OP_NOMATCH) + goto nomatch; + } else { --- udev-154.orig/rules/debian/80-drivers.rules +++ udev-154/rules/debian/80-drivers.rules @@ -0,0 +1,46 @@ +ACTION=="remove", GOTO="drivers_end" + +# check if the device has already been claimed by a driver +ENV{DRIVER}=="?*", SUBSYSTEM!="input", GOTO="hotplug_driver_loaded" + +# load the drivers +ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe -b $env{MODALIAS}" + +# workaround for kernels < 2.6.27-rc5 +SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", \ + RUN+="/bin/sh -c '/sbin/modprobe --use-blacklist --all $$(while read id; do echo pnp:d$$id; done < /sys$devpath/id)'" + +SUBSYSTEM=="pcmcia_socket", RUN+="/sbin/modprobe -b pcmcia" + +# rules for subsystems which lack proper hotplug support +SUBSYSTEM=="i2o", RUN+="/sbin/modprobe -b i2o_block" +# workaround for kernels < 2.6.30 +SUBSYSTEM=="mmc", RUN+="/sbin/modprobe -b mmc_block" +SUBSYSTEM=="memstick", RUN+="/sbin/modprobe -b --all ms_block mspro_block" +SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", \ + RUN+="/sbin/modprobe -b tifm_sd" +SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", \ + RUN+="/sbin/modprobe -b tifm_ms" + +SUBSYSTEM=="scsi_device", ATTRS{type}=="[235689]", TEST!="[module/sg]", \ + RUN+="/sbin/modprobe -b sg" + +SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe -b ide-scsi" + +ENV{VIO_TYPE}=="vdisk", RUN+="/sbin/modprobe -b sunvdc" +ENV{VIO_TYPE}=="vnet", RUN+="/sbin/modprobe -b sunvnet" + +# From here on follows the hotplug agents which do not load modules +LABEL="hotplug_driver_loaded" + +SUBSYSTEM=="firmware", RUN+="firmware.agent" + +LABEL="drivers_end" + +SUBSYSTEM=="net", RUN+="net.agent" + +SUBSYSTEM=="atm", RUN+="dsl-modem.agent" + +# Log every event to /dev/hotplug.log (for debugging). +#SUBSYSTEM!="uids", RUN+="logger.agent" + --- udev-154.orig/rules/debian/75-cd-aliases-generator.rules +++ udev-154/rules/debian/75-cd-aliases-generator.rules @@ -0,0 +1,11 @@ +# These rules generate rules for the /dev/{cdrom,dvd,...} symlinks and +# write them to /etc/udev/rules.d/70-persistent-cd.rules. + +ACTION=="add", SUBSYSTEM=="block", ENV{GENERATED}!="?*", ENV{ID_CDROM}=="?*", \ + SUBSYSTEMS!="usb|ieee1394", \ + PROGRAM="write_cd_rules", SYMLINK+="$result" + +ACTION=="add", SUBSYSTEM=="block", ENV{GENERATED}!="?*", ENV{ID_CDROM}=="?*", \ + SUBSYSTEMS=="usb|ieee1394", \ + PROGRAM="write_cd_rules by-id", SYMLINK+="$result" + --- udev-154.orig/rules/debian/91-permissions.rules +++ udev-154/rules/debian/91-permissions.rules @@ -0,0 +1,127 @@ +ACTION=="remove", GOTO="permissions_end" + +# devices needed to load the drivers providing them +KERNEL=="tun", OPTIONS+="ignore_remove" +KERNEL=="ppp", OPTIONS+="ignore_remove" +KERNEL=="loop[0-9]*", OPTIONS+="ignore_remove" + +# default permissions for block devices +SUBSYSTEM=="block", GROUP="disk" +SUBSYSTEM=="block", ATTRS{removable}=="1", GROUP="floppy" +# the aacraid driver is broken and reports the disks as removable (see #404927) +SUBSYSTEM=="block", DRIVERS=="aacraid", GROUP="disk" +# all block devices on these buses are "removable" +SUBSYSTEM=="block", SUBSYSTEMS=="usb|ieee1394|mmc|pcmcia", GROUP="floppy" + +KERNEL=="cbm", GROUP="floppy" + +# IDE devices +ENV{ID_CDROM}=="?*", GROUP="cdrom" +KERNEL=="ht[0-9]*", GROUP="tape" +KERNEL=="nht[0-9]*", GROUP="tape" + +# SCSI devices +SUBSYSTEM=="scsi_generic|scsi_tape", \ +SUBSYSTEMS=="scsi", ATTRS{type}=="1|8", GROUP="tape" +SUBSYSTEM=="scsi_generic", \ +SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom" + +# USB devices +KERNEL=="legousbtower*", MODE="0666" +KERNEL=="lp[0-9]*", SUBSYSTEMS=="usb", GROUP="lp" +# hplip and cups 1.4+ use raw USB devices, so permissions should be similar to +# the ones from the old usblp kernel module +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \ + ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \ + ENV{ID_USB_INTERFACES}==":0701*:", GROUP="lp" + +# usbfs-like devices +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \ + MODE="0664" + +# serial devices +SUBSYSTEM=="tty", GROUP="dialout" +SUBSYSTEM=="capi", GROUP="dialout" +SUBSYSTEM=="slamr", GROUP="dialout" +SUBSYSTEM=="zaptel", GROUP="dialout" +KERNEL=="mISDNtimer", GROUP="dialout" +KERNEL=="mwave", GROUP="dialout" +KERNEL=="hvc*|hvsi*", GROUP="dialout" + +# vc devices (all members of the tty subsystem) +KERNEL=="ptmx", MODE="0666", GROUP="root" +KERNEL=="console", MODE="0600", GROUP="root" +KERNEL=="tty", MODE="0666", GROUP="root" +KERNEL=="tty[0-9]*", GROUP="root" +KERNEL=="pty*", MODE="0666", GROUP="tty" + +# video devices +SUBSYSTEM=="video4linux", GROUP="video" +SUBSYSTEM=="drm", GROUP="video" +SUBSYSTEM=="dvb", GROUP="video" +SUBSYSTEM=="em8300", GROUP="video" +SUBSYSTEM=="graphics", GROUP="video" +SUBSYSTEM=="nvidia", GROUP="video" + +# misc devices +KERNEL=="random", MODE="0666" +KERNEL=="urandom", MODE="0666" +KERNEL=="mem", MODE="0640", GROUP="kmem" +KERNEL=="kmem", MODE="0640", GROUP="kmem" +KERNEL=="port", MODE="0640", GROUP="kmem" +KERNEL=="nvram", MODE="0640", GROUP="kmem" +KERNEL=="full", MODE="0666" +KERNEL=="null", MODE="0666" +KERNEL=="zero", MODE="0666" +KERNEL=="inotify", MODE="0666" +KERNEL=="sonypi", MODE="0666" +KERNEL=="cpu[0-9]*", MODE="0444" +KERNEL=="agpgart", GROUP="video" +KERNEL=="pmu", GROUP="video" +KERNEL=="kqemu", MODE="0666" +KERNEL=="tun", MODE="0666" +KERNEL=="rfkill", MODE="0644" + +KERNEL=="cdemu[0-9]*", GROUP="cdrom" +KERNEL=="pktcdvd[0-9]*", GROUP="cdrom" +KERNEL=="pktcdvd", MODE="0644" + +# printers and parallel devices +SUBSYSTEM=="printer", GROUP="lp" +SUBSYSTEM=="ppdev", GROUP="lp" +KERNEL=="irlpt[0-9]*", GROUP="lp" +KERNEL=="pt[0-9]*", GROUP="tape" +KERNEL=="pht[0-9]*", GROUP="tape" + +# sound devices +SUBSYSTEM=="sound", GROUP="audio" + +# ieee1394 devices +SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*", GROUP="video" +SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video" +KERNEL=="raw1394", GROUP="disk" +KERNEL=="dv1394-[0-9]*", GROUP="video" +KERNEL=="video1394-[0-9]*", GROUP="video" + +# input devices +KERNEL=="event[0-9]*", ATTRS{name}=="*dvb*|*DVB*|* IR *" \ + MODE="0664", GROUP="video" +KERNEL=="js[0-9]*", MODE="0664" +KERNEL=="event[0-9]*", ENV{ID_CLASS}=="joystick", \ + MODE="0664", GROUP="audio" +KERNEL=="lirc[0-9]*", GROUP="video" + +KERNEL=="sgi_*", MODE="0666" +KERNEL=="z90crypt", MODE="0666" +KERNEL=="iseries/ibmsis*", GROUP="disk" +KERNEL=="iseries/nvt*", GROUP="disk" +KERNEL=="iseries/vt*", GROUP="disk" +KERNEL=="iseries/vtty*", GROUP="dialout" + +# AOE character devices +SUBSYSTEM=="aoe", MODE="0220", GROUP="disk" +SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440", GROUP="disk" + +LABEL="permissions_end" + --- udev-154.orig/rules/debian/60-persistent-storage.rules +++ udev-154/rules/debian/60-persistent-storage.rules @@ -0,0 +1,146 @@ +# This file contains the rules needed to create persistent device names. + +# forward scsi device events to the corresponding block device +ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", \ + TEST=="block", ATTR{block/*/uevent}="change" + +# we are only interested in add and change actions for block devices +ACTION=="remove", GOTO="persistent_storage_end" +SUBSYSTEM!="block", GOTO="persistent_storage_end" + +# and we can safely ignore these kinds of devices +KERNEL=="fd[0-9]*|mtd[0-9]*|mtdblock[0-9]*|nbd[0-9]*|gnbd[0-9]*|dm-[0-9]*|md[0-9]*|btibm[0-9]*", \ + GOTO="persistent_storage_end" + +# skip removable ide devices, because open(2) on them causes an events loop +KERNEL=="hd*[!0-9]", ATTR{removable}=="1", \ + SUBSYSTEMS=="ide", ATTRS{media}=="disk|floppy", \ + GOTO="persistent_storage_end" +KERNEL=="hd*[0-9]", ATTRS{removable}=="1", \ + GOTO="persistent_storage_end" + +# ignore partitions that span the entire disk +TEST=="whole_disk", GOTO="persistent_storage_end" + +# workaround for kernels < 2.6.25-rc1 +ENV{DEVTYPE}!="?*", ATTR{range}=="?*", ENV{DEVTYPE}="disk" +ENV{DEVTYPE}!="?*", ATTR{start}=="?*", ENV{DEVTYPE}="partition" + +# partitions do not have hardware identificators +ENV{DEVTYPE}!="disk", GOTO="persistent_storage_not_a_disk" +# nor do paravirtualized hard disks +KERNEL=="vd*", GOTO="persistent_storage_not_a_disk" + +# look for different kinds of unique identificators +KERNEL=="hd*", \ + IMPORT{program}="ata_id --export $tempnode" + +KERNEL=="mmcblk[0-9]", ATTRS{name}=="?*", ATTRS{serial}=="?*", \ + ENV{ID_BUS}="memstick", ENV{ID_SERIAL}="$attr{name}_$attr{serial}" +KERNEL=="mspblk[0-9]", ATTRS{name}=="?*", ATTRS{serial}=="?*", \ + ENV{ID_BUS}="mmc", ENV{ID_SERIAL}="$attr{name}_$attr{serial}" + +KERNEL=="sd*|sr*", ATTRS{ieee1394_id}=="?*", \ + ENV{ID_BUS}="ieee1394", ENV{ID_SERIAL}="$attr{ieee1394_id}" + +# USB devices use their own serial number +KERNEL=="sd*|sr*", ENV{ID_SERIAL}!="?*", \ + SUBSYSTEMS=="usb", \ + IMPORT{program}="usb_id --export $devpath" +# ATA devices with their own "ata" kernel subsystem +KERNEL=="sd*|sr*", ENV{ID_SERIAL}!="?*", \ + SUBSYSTEMS=="ata", \ + IMPORT{program}="ata_id --export $tempnode" +# ATA devices using the "scsi" subsystem +KERNEL=="sd*|sr*", ENV{ID_SERIAL}!="?*", \ + SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA", \ + IMPORT{program}="ata_id --export $tempnode" +# scsi devices +KERNEL=="sd*|sr*", ENV{ID_SERIAL}!="?*", \ + ENV{ID_BUS}="scsi", \ + IMPORT{program}="scsi_id --export --whitelisted --device=$tempnode" + +KERNEL=="cciss*", ENV{ID_SERIAL}!="?*", \ + ENV{ID_BUS}="cciss", \ + IMPORT{program}="scsi_id --export --whitelisted --device=$tempnode" + +KERNEL=="dasd*", \ + IMPORT{program}="dasd_id --export $tempnode" + +KERNEL=="sd*|hd*|cciss*", \ + IMPORT{program}="edd_id --export $tempnode" + +# scsi compat links for ATA devices +KERNEL=="sd*", ENV{ID_BUS}=="ata", \ + PROGRAM="scsi_id --whitelisted --replace-whitespace -p0x80 -d$tempnode", \ + RESULT=="?*", ENV{ID_SCSI_COMPAT}="$result" + +# find the physical path of the device +ENV{ID_PATH}=="", DEVPATH!="*/virtual/*", \ + IMPORT{program}="path_id $devpath" + +LABEL="persistent_storage_not_a_disk" + +# import the variables of partitions from the parent disks +ENV{DEVTYPE}=="partition", IMPORT{parent}="ID_*" + +# by-id (hardware serial number) +KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", \ + SYMLINK+="disk/by-id/ata-$env{ID_SERIAL}" +KERNEL=="hd*[0-9]", ENV{ID_SERIAL}=="?*", \ + SYMLINK+="disk/by-id/ata-$env{ID_SERIAL}-part%n" + +KERNEL=="sd*[!0-9]", ENV{ID_SCSI_COMPAT}=="?*", \ + SYMLINK+="disk/by-id/scsi-$env{ID_SCSI_COMPAT}" +KERNEL=="sd*[0-9]", ENV{ID_SCSI_COMPAT}=="?*", \ + SYMLINK+="disk/by-id/scsi-$env{ID_SCSI_COMPAT}-part%n" + +ENV{DEVTYPE}=="disk", ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="?*", \ + SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}" +ENV{DEVTYPE}=="partition", ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="?*", \ + SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n" + +ENV{DEVTYPE}=="disk", ENV{ID_EDD}=="?*", \ + SYMLINK+="disk/by-id/edd-$env{ID_EDD}" +ENV{DEVTYPE}=="partition", ENV{ID_EDD}=="?*", \ + SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n" + +ENV{DEVTYPE}=="disk", ENV{ID_WWN}=="?*", \ + SYMLINK+="disk/by-id/wwn-$env{ID_WWN}" +ENV{DEVTYPE}=="partition", ENV{ID_WWN}=="?*", \ + SYMLINK+="disk/by-id/wwn-$env{ID_WWN}-part%n" + +# by-path (parent device path) +ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", \ + SYMLINK+="disk/by-path/$env{ID_PATH}" +ENV{DEVTYPE}=="partition", ENV{ID_PATH}=="?*", \ + SYMLINK+="disk/by-path/$env{ID_PATH}-part%n" + +# skip unpartitioned removable media devices from drivers which do not send +# "change" events +ENV{DEVTYPE}=="disk", KERNEL!="sd*|sr*", ATTR{removable}=="1", \ + GOTO="persistent_storage_end" + +# probe filesystem metadata of optical drives which have a media inserted +KERNEL=="sr*", ENV{ID_CDROM_MEDIA}=="?*", \ + ENV{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}=="?*", \ + IMPORT{program}="/sbin/blkid -o udev -p -u noraid -O $env{ID_CDROM_MEDIA_SESSION_LAST_OFFSET} $tempnode" +# single-session CDs do not have ID_CDROM_MEDIA_SESSION_LAST_OFFSET +KERNEL=="sr*", ENV{ID_CDROM_MEDIA}=="?*", \ + ENV{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}=="", \ + IMPORT{program}="/sbin/blkid -o udev -p -u noraid $tempnode" + +# probe filesystem metadata of disks +KERNEL!="sr*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode" + +# watch for future changes +KERNEL!="sr*", OPTIONS+="watch" + +# by-label/by-uuid links (filesystem metadata) +ENV{ID_FS_UUID_ENC}=="?*", ENV{ID_FS_USAGE}=="filesystem|other|crypto", \ + SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}" +ENV{ID_FS_LABEL_ENC}=="?*", ENV{ID_FS_USAGE}=="filesystem|other", \ + SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}" + +LABEL="persistent_storage_end" + --- udev-154.orig/rules/debian/60-persistent-storage-tape.rules +++ udev-154/rules/debian/60-persistent-storage-tape.rules @@ -0,0 +1,41 @@ +# This file contains the rules needed to create persistent device names. + +# we are only interested in add and change actions for block devices +ACTION=="remove", GOTO="persistent_storage_tape_end" + +# "Medium Changers" +SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="8", \ + IMPORT{program}="scsi_id --export --sg-version=3 --whitelisted --device=$tempnode" + +KERNEL=="sg[0-9]*", ATTRS{type}=="8", ENV{ID_SERIAL}=="?*", \ + SYMLINK+="tape/by-id/scsi-$env{ID_SERIAL}" + +SUBSYSTEM!="scsi_tape", GOTO="persistent_storage_tape_end" + +KERNEL=="st*[0-9]|nst*[0-9]", ATTRS{ieee1394_id}=="?*", \ + ENV{ID_BUS}="ieee1394", ENV{ID_SERIAL}="$attr{ieee1394_id}" +KERNEL=="st*[0-9]|nst*[0-9]", ENV{ID_SERIAL}!="?*", \ + SUBSYSTEMS=="usb", \ + IMPORT{program}="usb_id --export $devpath" + +KERNEL=="st*[0-9]|nst*[0-9]", ENV{ID_SERIAL}!="?*", \ + SUBSYSTEMS=="scsi", KERNELS=="[0-9]*:*[0-9]", \ + ENV{BSG_DEV}="$root/bsg/$id" +KERNEL=="st*[0-9]|nst*[0-9]", ENV{ID_SERIAL}!="?*", \ + WAIT_FOR="$env{BSG_DEV}", \ + ENV{ID_BUS}="scsi", \ + IMPORT{program}="scsi_id --export --device=$env{BSG_DEV}" + +KERNEL=="st*[0-9]|nst*[0-9]", ENV{ID_SERIAL}=="?*", \ + SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}" + +KERNEL=="st*[0-9]|nst*[0-9]", \ + IMPORT{program}="path_id $devpath" +KERNEL=="st*[0-9]", ENV{ID_PATH}=="?*", \ + SYMLINK+="tape/by-path/$env{ID_PATH}" +KERNEL=="nst*[0-9]", ENV{ID_PATH}=="?*", \ + SYMLINK+="tape/by-path/$env{ID_PATH}-nst" + +# end of processing +LABEL="persistent_storage_tape_end" + --- udev-154.orig/rules/debian/75-persistent-net-generator.rules +++ udev-154/rules/debian/75-persistent-net-generator.rules @@ -0,0 +1,115 @@ +# These rules generate rules to keep network interface names unchanged +# across reboots and write them to /etc/udev/rules.d/70-persistent-net.rules. + +# variables used to communicate: +# MATCHADDR MAC address used for the match +# MATCHID bus_id used for the match +# MATCHDRV driver name used for the match +# MATCHIFTYPE interface type match +# COMMENT comment to add to the generated rule +# INTERFACE_NAME requested name supplied by external tool +# INTERFACE_NEW new interface name returned by rule writer + +ACTION!="add", GOTO="persistent_net_generator_end" +SUBSYSTEM!="net", GOTO="persistent_net_generator_end" + +# ignore the interface if a name has already been set +NAME=="?*", GOTO="persistent_net_generator_end" + +# device name whitelist +KERNEL!="eth*|ath*|wlan*[0-9]|msh*|ra*|sta*|ctc*|lcs*|hsi*", \ + GOTO="persistent_net_generator_end" + +# ignore Xen virtual interfaces +SUBSYSTEMS=="xen", GOTO="persistent_net_generator_end" + +# ignore UML virtual interfaces +DRIVERS=="uml-netdev", GOTO="persistent_net_generator_end" + +# ignore "secondary" raw interfaces of the madwifi driver +KERNEL=="ath*", ATTRS{type}=="802", GOTO="persistent_net_generator_end" + +# ignore "secondary" monitor interfaces of mac80211 drivers +KERNEL=="wlan*", ATTRS{type}=="803", GOTO="persistent_net_generator_end" + +# by default match on the MAC address and interface type +ENV{MATCHADDR}="$attr{address}" +ENV{MATCHIFTYPE}="$attr{type}" + +# match interface dev_id +ATTR{dev_id}=="?*", ENV{MATCHDEVID}="$attr{dev_id}" + +# These vendors are known to violate the local MAC address assignment scheme +# Interlan, DEC (UNIBUS or QBUS), Apollo, Cisco, Racal-Datacom +ENV{MATCHADDR}=="02:07:01:*", GOTO="globally_administered_whitelist" +# 3Com +ENV{MATCHADDR}=="02:60:60:*", GOTO="globally_administered_whitelist" +# 3Com IBM PC; Imagen; Valid; Cisco; Apple +ENV{MATCHADDR}=="02:60:8c:*", GOTO="globally_administered_whitelist" +# Intel +ENV{MATCHADDR}=="02:a0:c9:*", GOTO="globally_administered_whitelist" +# Olivetti +ENV{MATCHADDR}=="02:aa:3c:*", GOTO="globally_administered_whitelist" +# CMC Masscomp; Silicon Graphics; Prime EXL +ENV{MATCHADDR}=="02:cf:1f:*", GOTO="globally_administered_whitelist" +# Prominet Corporation Gigabit Ethernet Switch +ENV{MATCHADDR}=="02:e0:3b:*", GOTO="globally_administered_whitelist" +# BTI (Bus-Tech, Inc.) IBM Mainframes +ENV{MATCHADDR}=="02:e6:d3:*", GOTO="globally_administered_whitelist" +# Realtek +ENV{MATCHADDR}=="52:54:00:*", GOTO="globally_administered_whitelist" +# Novell 2000 +ENV{MATCHADDR}=="52:54:4c:*", GOTO="globally_administered_whitelist" +# Realtec +ENV{MATCHADDR}=="52:54:ab:*", GOTO="globally_administered_whitelist" +# Kingston Technologies +ENV{MATCHADDR}=="e2:0c:0f:*", GOTO="globally_administered_whitelist" + +# ignore interfaces with locally administered or null MAC addresses +# and VMWare virtual interfaces +ENV{MATCHADDR}=="?[2367abef]:*", ENV{MATCHADDR}="" +ENV{MATCHADDR}=="00:00:00:00:00:00", ENV{MATCHADDR}="" +ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*", ENV{MATCHADDR}="" + +LABEL="globally_administered_whitelist" + +# ibmveth interfaces have stable locally administered MAC addresses +SUBSYSTEMS=="ibmveth", ENV{MATCHADDR}="$attr{address}" + +# S/390 interfaces are matched only by id +#SUBSYSTEMS=="ccwgroup", \ +# ENV{MATCHDRV}="$driver", ENV{MATCHID}="$id", ENV{MATCHADDR}="" + +# terminate processing if there are not enough conditions to create a rule +ENV{MATCHADDR}=="", ENV{MATCHID}=="", ENV{INTERFACE_NAME}=="", \ + GOTO="persistent_net_generator_end" + + +# provide nice comments for the generated rules +SUBSYSTEMS=="pci", \ + ENV{COMMENT}="PCI device $attr{vendor}:$attr{device}" +SUBSYSTEMS=="pcmcia", \ + ENV{COMMENT}="PCMCIA device $attr{card_id}:$attr{manf_id}" +SUBSYSTEMS=="usb", \ + ENV{COMMENT}="USB device 0x$attr{idVendor}:0x$attr{idProduct}" +SUBSYSTEMS=="ccwgroup", \ + ENV{COMMENT}="S/390 device at $id" +SUBSYSTEMS=="ibmveth", \ + ENV{COMMENT}="LPAR virtual device at $id" +SUBSYSTEMS=="ieee1394", \ + ENV{COMMENT}="Firewire device $attr{host_id}" +ENV{COMMENT}=="", \ + ENV{COMMENT}="Unknown $env{SUBSYSTEM} device ($env{DEVPATH})" +ATTRS{driver}=="?*", \ + ENV{COMMENT}="$env{COMMENT} ($attr{driver})" + + +# ignore interfaces without a driver link like bridges and VLANs, otherwise +# generate and write the rule +DRIVERS=="?*", IMPORT{program}="write_net_rules" + +# rename the interface if requested +ENV{INTERFACE_NEW}=="?*", NAME="$env{INTERFACE_NEW}" + +LABEL="persistent_net_generator_end" + --- udev-154.orig/rules/debian/50-udev-default.rules +++ udev-154/rules/debian/50-udev-default.rules @@ -0,0 +1,104 @@ +SUBSYSTEM=="block", SYMLINK{unique}+="block/%M:%m" +SUBSYSTEM!="block", SYMLINK{unique}+="char/%M:%m" + +# import the properties of optical drives +ACTION!="remove", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", \ + KERNEL=="sr[0-9]*|hd[a-z]|pcd[0-9]|xvd*", \ + IMPORT{program}="cdrom_id --export $tempnode" + +# SCSI devices +SUBSYSTEMS=="scsi", KERNEL=="sr[0-9]*", SYMLINK+="scd%n" +SUBSYSTEM=="bsg", NAME="bsg/%k" + +# workaround for kernels < 2.6.30 +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", WAIT_FOR_SYSFS="descriptors" + +# USB devices +SUBSYSTEMS=="usb", KERNEL=="auer[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="cpad[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="dabusb[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="hiddev[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="legousbtower[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="iowarrior[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", \ + ATTRS{product}=="[Hh]andspring*Treo*|[Hh]andspring*Visor*|[Pp]alm*Handheld*", \ + SYMLINK+="pilot" + +# usbfs-like devices +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}" + +# serial devices +KERNEL=="capi", NAME="capi20", +KERNEL=="capi[0-9]*", NAME="capi/%n" + +# video devices +KERNEL=="dvb*", ENV{DVB_ADAPTER_NUM}=="?*", NAME="dvb/adapter$env{DVB_ADAPTER_NUM}/$env{DVB_DEVICE_TYPE}$env{DVB_DEVICE_NUM}" +# workaround for kernels < 2.6.29 +KERNEL=="dvb*", ENV{DVB_ADAPTER_NUM}=="", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}", ACTION!="remove", \ + NAME="$result" +KERNEL=="card[0-9]*", NAME="dri/%k" + +# virtio serial / console ports +KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}" + +# misc devices +KERNEL=="hw_random", NAME="hwrng" +KERNEL=="tun", NAME="net/%k" +KERNEL=="evtchn", NAME="xen/%k" +SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc" + +KERNEL=="rawctl", NAME="raw/rawctl" +KERNEL=="cdemu[0-9]*", NAME="cdemu/%n" +KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%n" +KERNEL=="pktcdvd", NAME="pktcdvd/control" + +KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid" +KERNEL=="msr[0-9]*", NAME="cpu/%n/msr" +KERNEL=="microcode", NAME="cpu/microcode" + +KERNEL=="umad*", NAME="infiniband/%k" +KERNEL=="issm*", NAME="infiniband/%k" +KERNEL=="uverbs*", NAME="infiniband/%k" +KERNEL=="ucm*", NAME="infiniband/%k" +KERNEL=="uat", NAME="infiniband/%k" +KERNEL=="ucma", NAME="infiniband/%k" +KERNEL=="rdma_cm", NAME="infiniband/%k" + +# ALSA devices +KERNEL=="controlC[0-9]*", NAME="snd/%k" +KERNEL=="hwC[D0-9]*", NAME="snd/%k" +KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k" +KERNEL=="midiC[D0-9]*", NAME="snd/%k" +KERNEL=="timer", NAME="snd/%k" +KERNEL=="seq", NAME="snd/%k" + +KERNEL=="snd", SUBSYSTEM=="module", ACTION=="add", \ + RUN+="/bin/ln -sf /proc/asound/oss/sndstat $root/sndstat" + + +# ieee1394 devices +KERNEL=="dv1394*", NAME="dv1394/%n" +KERNEL=="video1394*", NAME="video1394/%n" + +# input devices +KERNEL=="mice", NAME="input/%k" +KERNEL=="mouse[0-9]*", NAME="input/%k" +KERNEL=="event[0-9]*", NAME="input/%k" +KERNEL=="js[0-9]*", NAME="input/%k" +KERNEL=="ts[0-9]*", NAME="input/%k" +KERNEL=="uinput", NAME="input/%k" + +# Zaptel +KERNEL=="zapctl", NAME="zap/ctl" +KERNEL=="zapchannel", NAME="zap/channel" +KERNEL=="zappseudo", NAME="zap/pseudo" +KERNEL=="zaptimer", NAME="zap/timer" +KERNEL=="transcode", NAME="zap/transcode" +KERNEL=="zap[0-9]*", NAME="zap/%n" + +# AOE character devices +SUBSYSTEM=="aoe", NAME="etherd/%k" + +KERNEL=="device-mapper", NAME="mapper/control" +