Skip to content

Commit

Permalink
rules: Ubuntu merge - s/uucp/dialout/
Browse files Browse the repository at this point in the history
  • Loading branch information
kaysievers committed Jan 4, 2009
1 parent e1cc6b6 commit 1aa8fdf
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
11 changes: 6 additions & 5 deletions NEWS
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion 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"
2 changes: 1 addition & 1 deletion rules/packages/40-ppc.rules
Expand Up @@ -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"
6 changes: 3 additions & 3 deletions rules/rules.d/50-udev-default.rules
Expand Up @@ -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"
Expand Down

0 comments on commit 1aa8fdf

Please sign in to comment.