rules: Ubuntu merge - s/uucp/dialout/

This commit is contained in:
Kay Sievers 2009-01-04 17:01:47 +01:00
parent e1cc6b6a81
commit 1aa8fdf779
5 changed files with 12 additions and 11 deletions

11
NEWS
View file

@ -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

2
README
View file

@ -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.

View file

@ -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"

View file

@ -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"

View file

@ -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"