summaryrefslogtreecommitdiff
path: root/rules/rules.d/50-udev-default.rules
AgeCommit message (Collapse)Author
2009-12-15rules: add "block" match to floppy ruleKay Sievers
2009-12-15floppy: fix rule to create additional floppy device nodesKay Sievers
2009-11-19rules: remove support for IDE (hd*) devicesKay Sievers
The kernel IDE drivers get deprecated now: http://article.gmane.org/gmane.linux.ide/43151 Almost everybody has switched over to libata devices long ago. Recent services do not work with the now deprecated IDE drivers at all and require libata drivers and SCSI infrastructure. Systems who care about the old stuff need to add the rules to the compat rules.
2009-11-12rules: set mode of floppy device nodes to 0660Kay Sievers
2009-10-0550-udev-default.rules: fix printer MODEMartin Pitt
Prefix with a 0 to be consistent with other rules. https://launchpad.net/bugs/438114
2009-09-30make raw USB printer devices world-readable againMartin Pitt
Commit f61e72d8 made raw USB printers accessible for the lp group. However, chmoding them to 0660 is a bit over-zealous, since by default raw USB devices are world-readable. Not being so breaks lsusb unnecessarily. Now set permissions to 0664.
2009-09-16rules: drop almost all NAME= keysKay Sievers
The drivers in kernel 2.6.31 supply the names for custom node names if needed.
2009-09-09simplify "symlink name stack"Kay Sievers
With well defined and kernel-supplied node names, we no longer need to support a possible stack of conflicting symlinks and node names. Only symlinks with identical names can be claimed by multiple devices. This shrinks the former /dev/.udev/names/ significantly. Also the /dev/{block,char}/MAJ:MIN" links are excluded from the name stack - they are unique and can not conflict.
2009-09-04make raw USB printer devices accessible for lpMartin Pitt
Starting from version 1.4, cups now uses libusb and printer USB devices instead of the usblp generated /dev/usb/lpX ones. In order to not require the cups USB backend to run as root now, change raw USB printer devices to be root:lp 0660, similar to usblpX devices. This might also enable the hplip backend to not run as root, since this has always used raw device nodes. https://launchpad.net/bugs/420015
2009-08-16rules: rfkill has no group, so use 0644Kay Sievers
Thanks to Marco d'Itri<md@linux.it> for noticing.
2009-08-08fix spellingAlan Jenkins
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-07-01rules: set group ownership of new firewire driver device filesStefan Richter
The newer firewire-core driver exposes per-device character device files, called /dev/fw[0-9]*, in contrast to the older raw1394, video1394, dv1394 drivers which created one global file or per-controller files. This allows to set ownership, permissions, or/ and access control lists for each device file based on device type markers obtained from sysfs. The "units" attribute which is used for this purpose has become available in Linux 2.6.31(-rc1) by commit 0210b66dd88a2a1e451901b00378a2068b6ccb35. The added rules match identifiers of - IIDC devices: industrial cameras and some webcams, - AV/C devices: camcorders, set-top boxes, TV sets, audio devices, and similar devices. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2009-06-05rules: make RFKILL control device world readableMarcel Holtmann
2009-05-22rules: add SUBSYSTEM match to scsi rulesKay Sievers
On Fri, May 22, 2009 at 16:15, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote: > I've been looking at what is responsible for all the path lookup activity in > coldplug. On my debian stable system, it looks like every device gets its > parent looked up in sysfs. I think this is due to SUBSYSTEMS matches. > > I see the udev default rules are different, but it looks like they still > test for SUBSYSTEMS on every single device. Should we add SUBSYSTEM="scsi_generic" > to these three rules?
2009-05-05rules: fix ieee1394 rulesKay Sievers
2009-05-04oops, removed ppp entry from rules got committedKay Sievers
2009-05-04handle devtmpfs nodesKay Sievers
UDev follows the kernel given name, and re-uses the kernel created device node. If the kernel and spcecified udev rules disagree, the udev specified node node is created and the kernel-created on is deleted.
2009-05-03rules: remove initramfs commentKay Sievers
2009-04-28rules: add rfcomm* to group dialoutKay Sievers
https://bugs.launchpad.net/bugs/368109
2009-04-24rules: create /dev/cpu/<n>/cpuid world readableAndre Przywara
I don't see any security implications, to be actually useful, /dev/cpu/<n>/cpuid should be world readable. The cpuid instruction can be called from userspace anyway, so there is nothing to hide. The device does not support any write operation, so 0444 should suffice. Signed-off-by: Andre Przywara <andre.przywara@amd.com>
2009-04-16rules: remove DVB shell scriptKay Sievers
2009-03-18rules: fix extra quote in 50-udev-default.rulesKay Sievers
Patch from Gerardo Exequiel Pozzi.
2009-03-05udevd: switch watch symlinks to devpathKay Sievers
Some broken tools get confused following links to /sys, switch to link targets carrying the devpath instead of the syspath, like the queue links.
2009-01-15rules: add drm devices to group "video"Kay Sievers
https://bugs.launchpad.net/bugs/317430
2009-01-10rules: fix typo in ide cd ruleKay Sievers
Thanks to Scott, who found that.
2009-01-05rules: reorder block rulesKay Sievers
2009-01-04rules: Ubuntu merge - s/uucp/dialout/Kay Sievers
2009-01-03rules: replace DVB shell script ruleKay Sievers
2009-01-03rules: Ubuntu merge - use group "tape"Kay Sievers
2009-01-03rules: Ubuntu merge - use group "cdrom"Kay Sievers
2008-12-26rules: provide /dev/raw/rawctlKay Sievers
On Fri, Dec 26, 2008 at 01:26, Karel Zak <kzak@redhat.com> wrote: > On Fri, Dec 26, 2008 at 12:39:16AM +0100, Kay Sievers wrote: >> On Fri, Dec 26, 2008 at 00:26, Karel Zak <kzak@redhat.com> wrote: >> > The upstream raw(8) command supports /dev/rawctl and also >> > /dev/raw/rawctl. I think it makes more sense to use raw/rawctl when >> > you have all your raw devices in raw/ subdirectory (e.g. /dev/raw/raw<N>). >> >> The raw tool looks for /dev/rawctl first and the fallback to >> /dev/raw/rawctl is named DEVFS_*. Should we turn that order around and >> remove the devfs notion from the raw tool and let udev create a >> dev/raw/rawctl node? > > Yeah. Fixed, committed and pushed. > > $ strace -e open ./raw > open("/dev/raw/rawctl", O_RDWR) = -1 ENOENT (No such file or directory) > open("/dev/rawctl", O_RDWR) = -1 ENOENT (No such file or directory) > > I have also removed the #ifdef OLD_RAW_DEVS (/dev/raw<N>) junk.
2008-12-22rules: second round merging with Ubuntu rulesKay Sievers
2008-12-22rules: do not put raw1394 in "video" groupKay Sievers
A note on /dev/raw1394's security implications: 1. You cannot access local memory through raw1394, except for ROMs and CSRs that are exposed to other nodes any way. 2. It is extremely hard to manipulate data on attached SBP-2 devices (FireWire storage devices). 3. You can disturb operation of the FireWire bus, e.g. creating a DoS situation for audio/video applications, for SBP-2 devices, or eth1394 network interfaces. 4. If another PC is attached to the FireWire bus, it may be possible to read or overwrite the entire RAM of that remote PC. This depends on the PC's configuration. Most FireWire controllers support this feature (yes, it's not a bug, or at least wasn't intended to be one...) but not all OSs enable the feature. Actually, a cheap setup to achieve #1 by #4 is to have two FireWire controllers in the PC and connect them. https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/comments/21
2008-12-22rules: remove legacy symlinksKay Sievers
2008-12-21rules: rtc - create rtc compat link only for cmos type rtcKay Sievers
2008-12-21rules: remove /dev/raw/raxctl symlink, it's a devfs leftoverKay Sievers
2008-12-21rules: more changes toward Ubuntu rules mergeKay Sievers
dv1394*: no kernel name symlink lp*: no par* symlink hwrng: no kernel name symlink
2008-12-21rules: more changes toward Ubuntu rules mergeKay Sievers
specialix_rioctl: no kernel name symlink specialix_sxctl: no kernel name symlink bus/usb: 0644 -> 0664 ppdev: lp dri: 0666 -> 0660 js: no kernel name symlink
2008-12-19rules: first simple step merging with Ubuntu rulesKay Sievers
2008-12-09rules: move aoe rules to default rules fileKay Sievers
2008-11-28rules: add usb device nodesPiter PUNK
2008-11-28rules: /dev/null -> X0RPiter PUNK
/dev/X0R null symbolic Required by iBCS-2 Note: /dev/X0R is <letter X>-<digit 0>-<letter R>
2008-11-19rules: merge group "video" into default rulesKay Sievers
2008-10-30rules: remove "add" match from usb device node ruleKay Sievers
2008-10-30rules: remove SCSI timeoutsKay Sievers
On Thu, Oct 30, 2008 at 03:55, Tejun Heo <tj@kernel.org> wrote: The appropriate default timeout differs depending on the transport and the type of the attached device, so the above two rules harm more than help. The affect of the above two rules weren't visible for some reason but with recent block layer timeout update, they actually work and cause problems.
2008-10-07connect /sys and /dev with /sys/dev/{block,char}/<maj>:<min> and ↵Kay Sievers
/dev/{block,char}/<maj>:<min>
2008-08-11rules: add nvramKay Sievers
2008-07-30rules: mode 0660 for group "disk"Kay Sievers
2008-07-18move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/Kay Sievers
None of these rules is supposed to be changed by users, so move them out of /etc. Custom rules, and automatically generated rules stay in /etc. All rules are still processed in lexical order, regardless which directory they live in.