From 1aa8fdf779219d953633323b4206acadc8b8e37b Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 4 Jan 2009 17:01:47 +0100 Subject: [PATCH] rules: Ubuntu merge - s/uucp/dialout/ --- NEWS | 11 ++++++----- README | 2 +- rules/packages/40-isdn.rules | 2 +- rules/packages/40-ppc.rules | 2 +- rules/rules.d/50-udev-default.rules | 6 +++--- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/NEWS b/NEWS index 90a68d36..1a1d5fb7 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/README b/README index ecb520b2..cd362873 100644 --- a/README +++ b/README @@ -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 22d9fe69..1a31cb6c 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 8b62d79e..47ecdd00 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 38e1aa6b..120c5815 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" -- 2.39.5