summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-20Allow user and group lookup to be disabled.Scott James Remnant
In certain cut-down situations such as an installer or inside the initramfs, we simply don't have any kind of name service. While we could use rules without OWNER or GROUP, it's better to have the same rules as a full system and have udevd ignore those parts of the rules. Adds a --resolve-names=never switch to udevd that has this effect.
2009-01-16cleanup old names before creating the new namesKay Sievers
Scott found that the node /dev/pktcdvd can not be replaced by /dev/pktcdvd/control by changing the rules, and re-trigger the event. We used to create the new names before we cleaned up the old ones, which can not work if we need to create subdir with the same name.
2009-01-16remove name from index if the node name has changedKay Sievers
Scott discovered that a changed rule, which renames a device node leaves the old node name around as a symlink. So drop the reference to the old name.
2009-01-16update NEWSKay Sievers
2009-01-15udevadm: test - remove --force optionKay Sievers
Since a while we change the database with a "test" run, but do not update the node and symlinks. We need to "force" all the time, to keep things in sync.
2009-01-15volume_id: support via raid version 2Sven Jost
2009-01-15do not complain about a missing /etc/udev/rules.d/Kay Sievers
Scott mentioned that initramfs does not neccessarily have that directory, so do not log an error.
2009-01-15rules: add drm devices to group "video"Kay Sievers
https://bugs.launchpad.net/bugs/317430
2009-01-14libudev: use 4096 bytes buffer for attribute readingKay Sievers
2009-01-10rules: fix typo in ide cd ruleKay Sievers
Thanks to Scott, who found that.
2009-01-10fix naming for tape nst devices in /dev/tape/by-path/Lennart Poettering
$env{ID_PATH} includes the "-nst" suffix anyway, so we shouldn't append it a second time as part of the rule creating the device file symlink. Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-10version bumpKay Sievers
2009-01-06release 136Kay Sievers
2009-01-06extras: fix mis-spelling of "environment"Adam Buchbinder
2009-01-06libudev: test - add udev_device_get_property_value()Kay Sievers
2009-01-06libudev: device - add udev_device_get_property_value()Kay Sievers
2009-01-05rules: zaptel - add "dialout" groupKay Sievers
2009-01-05rules: reorder block rulesKay Sievers
2009-01-05udevadm: s/udevinfo/udevadm info/Kay Sievers
2009-01-05usb_id: s/image/media/Kay Sievers
2009-01-05enable skipping of "naming-only" rulesKay Sievers
2009-01-05update NEWSKay Sievers
2009-01-04update NEWSKay 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
2009-01-03require 2.6.22+ kernelKay Sievers
2009-01-03usb_id: use devtype lookupKay Sievers
2009-01-03libudev: bump revisionKay Sievers
2009-01-03libudev: subsytem -> subsystemKay Sievers
2009-01-03libudev: device - remove udev_device_get_parent_with_subsystemMarcel Holtmann
2009-01-03libudev: device - lookup subsystem and devtype togetherMarcel Holtmann
2009-01-03libudev: device - read "uevent" only if info is not already loadedKay Sievers
2009-01-02man: udev - update NAME assignmentMichal Soltys
2009-01-02libudev: device - add devtype supportMarcel Holtmann
2009-01-02rules: input - make sure needed variables are setKay Sievers
2008-12-29libudev: enumerate - add lookup by propertyKay Sievers
2008-12-29build: default to --prefix=/usr --exec-prefix=""Kay Sievers
2008-12-29require non-SYSFS_DEPRECATED 2.6.20+ kernelKay Sievers
2008-12-29usb_id: add "image" classKay Sievers
2008-12-29build: use autoreconf --symlinkKay Sievers
2008-12-28if needed, store database entries also for devices which do not have a ↵Kay Sievers
device node
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: isdn - remove /dev/isdn/capi20 symlinkKay Sievers
2008-12-22rules: put alsa in group "audio"Kay Sievers
2008-12-22rules: remove /dev/dsp /dev/audioKay Sievers
2008-12-22rules: second round merging with Ubuntu rulesKay Sievers
2008-12-22rule_generator: fix enumeration for write_cd_rulesHarald Hoyer
quote +, as it would be taken as a part of the regexp otherwise https://bugzilla.redhat.com/show_bug.cgi?id=477535
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