diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-04 17:01:47 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-04 17:01:47 +0100 |
commit | 1aa8fdf779219d953633323b4206acadc8b8e37b (patch) | |
tree | bdb0c0915edd9dbe56eef59fd1152f1e02aec672 | |
parent | e1cc6b6a81f9ed64e29eea5ccbe79616a220ee9f (diff) |
rules: Ubuntu merge - s/uucp/dialout/
-rw-r--r-- | NEWS | 11 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | rules/packages/40-isdn.rules | 2 | ||||
-rw-r--r-- | rules/packages/40-ppc.rules | 2 | ||||
-rw-r--r-- | rules/rules.d/50-udev-default.rules | 6 |
5 files changed, 12 insertions, 11 deletions
@@ -9,11 +9,12 @@ nodes should be reliably created, but some rules and libudev will not work correctly because the old kernels do not provide the expected information or interfaces. -We are currently merging the Ubuntu rules in the udev default rules, and -get one step closer to provide a common Linux /dev setup regarding device -names, symlinks, and default device permissions. On udev startup, we now -expect the following groups to be resolvable to their ids by glibc's -getgrnam(): "disk cdrom floppy tape audio video lp tty kmem". +We are currently merging the Ubuntu rules in the udev default rules, +and get one step closer to provide a common Linux /dev setup regarding +device names, symlinks, and default device permissions. On udev startup, +we now expect the following groups to be resolvable to their ids by +glibc's getgrnam(): + disk, cdrom, floppy, tape, audio, video, lp, tty, dialout, kmem. /dev/serial/by-{id,path}/ now contains links for ttyUSB devices, which do not depend on the kernel device name. As usual, unique @@ -20,7 +20,7 @@ Requirements: be mounted at /sys/. No other locations are supported by udev. - The system must have the following group names resolvable at udev startup: - disk cdrom floppy tape audio video lp tty kmem + disk, cdrom, floppy, tape, audio, video, lp, tty, dialout, kmem Especially in LDAP setups, it is required, that getgrnam() is able to resolve these group names while no network is available. diff --git a/rules/packages/40-isdn.rules b/rules/packages/40-isdn.rules index 22d9fe691b..1a31cb6c98 100644 --- a/rules/packages/40-isdn.rules +++ b/rules/packages/40-isdn.rules @@ -1,4 +1,4 @@ # do not edit this file, it will be overwritten on update -SUBSYSTEM=="capi", KERNEL=="capi", NAME="capi20", GROUP="uucp" +SUBSYSTEM=="capi", KERNEL=="capi", NAME="capi20", GROUP="dialout" SUBSYSTEM=="tty", KERNEL=="capi[0-9]*", NAME="capi/%n" diff --git a/rules/packages/40-ppc.rules b/rules/packages/40-ppc.rules index 8b62d79e0c..47ecdd0027 100644 --- a/rules/packages/40-ppc.rules +++ b/rules/packages/40-ppc.rules @@ -3,4 +3,4 @@ KERNEL=="iseries/ibmsis*", NAME="%k", GROUP="disk" KERNEL=="iseries/nvt*", NAME="%k", GROUP="disk" KERNEL=="iseries/vt*", NAME="%k", GROUP="disk" -KERNEL=="iseries/vtty*", GROUP="uucp" +KERNEL=="iseries/vtty*", GROUP="dialout" diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index 38e1aa6b15..120c58152d 100644 --- a/rules/rules.d/50-udev-default.rules +++ b/rules/rules.d/50-udev-default.rules @@ -12,10 +12,10 @@ KERNEL=="vcs|vcs[0-9]*|vcsa|vcsa[0-9]*", GROUP="tty" KERNEL=="console", MODE="0600" # serial -KERNEL=="tty[A-Z]*|pppox*|ircomm*|noz*", GROUP="uucp" +KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*", GROUP="dialout" KERNEL=="ppp", MODE="0600" -KERNEL=="mwave", NAME="modems/mwave", GROUP="uucp" -KERNEL=="hvc*|hvsi*", GROUP="uucp" +KERNEL=="mwave", NAME="modems/mwave", GROUP="dialout" +KERNEL=="hvc*|hvsi*", GROUP="dialout" # mem KERNEL=="null|zero|full|random|urandom", MODE="0666" |