summaryrefslogtreecommitdiff
path: root/src/udev
AgeCommit message (Collapse)Author
2013-02-17udev: expose new ISO9660 properties from libblkidZeeshan Ali (Khattak)
2013-02-14honor SELinux labels, when creating and writing config filesHarald Hoyer
Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577
2013-02-13use streq instead of strcmpThomas Hindoe Paaboel Andersen
2013-02-13util: introduce strcaseeq/strncaseeqThomas Hindoe Paaboel Andersen
2013-02-13use strneq instead of strncmpThomas Hindoe Paaboel Andersen
2013-02-12udev: use unique names for temporary files created in /devKay Sievers
On Tue, Feb 12, 2013 at 2:18 PM, Robert Milasan <rmilasan@suse.com> wrote: > Under some circumstances udev mixed with multipath fails: > > udevd-work[1376]: > symlink(../../sdk, /dev/disk/by-id/scsi-36005076305ffc0670000000000002842.udev-tmp) > failed: File exists udevd-work[1432]: > rename(/dev/disk/by-id/scsi-36005076305ffc0850000000000000a88.udev-tmp, /dev/disk/by-id/scsi-36005076305ffc0850000000000000a88) > failed: No such file or directory > > This is non-fatal, but there is no point of created the symlink or > renaming the symlink if it already exists. > > Reference: https://bugzilla.novell.com/show_bug.cgi?id=791503 It looke like this now: stat("/dev/disk/by-id", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0 symlink("../../sda", "/dev/disk/by-id/ata-INTEL...N.tmp-b8:0") = 0 rename("/dev/disk/by-id/ata-INTEL...N.tmp-b8:0", "/dev/disk/by-id/ata-INTEL...N") = 0
2013-02-12cdrom_id: add data track count for bad virtual drive implementationsHarald Hoyer
/# /lib/udev/cdrom_id --debug /dev/sr0 probing: '/dev/sr0' INQUIRY: [AMI ][Virtual CDROM ][1.00] GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h drive is pre-MMC2 and does not support 46h get configuration command trying to work around the problem READ DISC INFORMATION failed with SK=5h/ASC=20h/ACQ=00h no current profile, but disc is present; assuming CD-ROM READ TOC: len: 12, start track: 1, end track: 1 last track 1 starts at block 0 READ DISC INFORMATION failed with SK=5h/ASC=20h/ACQ=00h ID_CDROM=1 ID_CDROM_MEDIA=1 ID_CDROM_MEDIA_CD=1 What is missing here is ID_CDROM_MEDIA_TRACK_COUNT_DATA to trigger blkid in /lib/udev/rules.d/60-persistent-storage.rules KERNEL=="sr*", ENV{DISK_EJECT_REQUEST}!="?*", ENV{ID_CDROM_MEDIA_TRACK_COUNT_DATA}=="?*", ENV{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}=="", \ IMPORT{builtin}="blkid --noraid"
2013-02-08udev: udevadm hwdb - add --root=Kay Sievers
https://bugs.freedesktop.org/show_bug.cgi?id=60398
2013-02-08shared: conf-files - add root parameterKay Sievers
2013-02-07udev: remove HWDB_BINKay Sievers
2013-01-28keymap: Add HP HDX 9494NRMartin Pitt
Add touchpad and www keys. https://bugzilla.redhat.com/show_bug.cgi?id=757928
2013-01-28keymap: Add support for the brower hotkey on the HP ProBookAyan George
https://bugs.launchpad.net/bugs/1105191
2013-01-27udev: set default rules permissions only at "add" eventsKay Sievers
2013-01-19udev: net_id - add link to the wiki pageKay Sievers
2013-01-17udev: net_id - suppress bcma core == 0Kay Sievers
2013-01-17udev: net_id - handle "bcma" busesKay Sievers
2013-01-17udev: path_id - clarify comment about the kernel ATA naming problemKay Sievers
2013-01-10udev: Fix device matching in the accelerometerBastien Nocera
As we were searching by ID_PATH, it would have been possible for us to find a sibling device instead of the device we were looking for. This fixes device matching on the WeTab with the upstream kernel, as it was trying to use the "Asus Laptop extra buttons" device instead of the accelerometer.
2013-01-09tabs to spacesThomas Hindoe Paaboel Andersen
Skipped bootchart and various files that looked like they should be kept in sync with external sources.
2013-01-09udev: move string copy functions to shared/Kay Sievers
2013-01-09udev: don't call fclose on NULL in is_pci_multifunctionLukas Nykryn
2013-01-08udev: net_id - skip stacked network devicesKay Sievers
2013-01-04udev: net_id - append "dev_id" value if neededKay Sievers
2013-01-04udev: set device node permissions only at "add" eventsKay Sievers
2012-12-31udev: in addition to DEVMODE, honor DEVUID, DEVGID from the ueventKay Sievers
2012-12-22udevd: add missing ':' to getopt_long 'e'Lukas Nykryn
Parameter -e is set without additional argument in getopt and this leads to segfault when calling 'systemd-udevd -e'.
2012-12-17licence: remove references to old FSF addressSami Kerola
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206
2012-12-09udev: net_id: update commentsKay Sievers
2012-12-06udev: net_id - fix OUI handlingKay Sievers
2012-12-06udev: net_id - fix typosKay Sievers
2012-12-06udev: net_id - update examplesKay Sievers
2012-12-06udev: net_id - update examplesKay Sievers
2012-12-06udev: net_id - provide path names for USB devicesKay Sievers
2012-12-04hwdb: add IAB to the OUI databaseTom Gundersen
The individual address block is a poor man's organizationally unique identifier. Perhaps we should change the udev key from ID_OUI_FROM_DATABASE to something like ID_IEEE_VENDOR_FROM_DATABASE? Suggested-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-12-03udev: net_id - clarify commentsKay Sievers
2012-12-02udev: hwdb - fix OUI lookupKay Sievers
2012-11-30udev: net_id - suppress function number for single-function devicesKay Sievers
2012-11-28keymap: Add Samsung 700TMartin Pitt
https://bugzilla.redhat.com/show_bug.cgi?id=879691
2012-11-28keymap: Update the list of Samsung Series 9 modelsAlessandro Crismani
Currently, keymaps are provided only for the NP90X3A laptop. Samsung introduced updated models, codenamed 900X3B, 900X3C, 900X4B, 900X4C, which are currently not matched by udev rules. This patch includes the newer modules in udev rules and move the samsung-n90x3a file defining keys to a more generic samsung-series-9 file. The patch was tested on a 900X4C laptop, and other people reported that the rules also work for 900X3B and 900X3C ones.
2012-11-26udev: net_id - merge properties into the correct deviceKay Sievers
2012-11-26udev: net_id - export PCI hotplug slot namesKay Sievers
2012-11-23udev: net_id - read ACPI _SUN -- slot user numberKay Sievers
2012-11-23udev: path_id - handle Hyper-V devicesHannes Reinecke
Hyper-V has an abstract bus, which gets renumbered on guest startup. So instead of the bus numbers we should be using the device GUIDs, which can be retrieved from the 'device_id' sysfs attribute.
2012-11-21hwdb: fix usageTom Gundersen
--create is not a valid option.
2012-11-20build-sys: make loadable module support optionalTom Gundersen
kmod is unecessary if loadable module support is disabled in the kernel, so make the dependency optional.
2012-11-20udev: net - add device naming propertiesKay Sievers
2012-11-20udev: fix whitespaceKay Sievers
2012-11-16hwdb: use $(localstatedir)/lib/udev/hwdb.bin for the binary databaseZbigniew Jędrzejewski-Szmek
It's not configuration, so it doesn't belong in udev. Also, remove the catalog when uninstalling udev.
2012-11-16udev: firmware - disable firmware loading when firmware file is 0 byteUmut Tezduyar
If firmware file is not found in the file system, udev terminates firmware loading. This is not the case if firmware file exists in the file system but doesn't have any data in it.
2012-11-16udev: make blkid optionalAnders Olofsson
I'm building systemd for an embedded system and we would prefer not having to include the entire util-linux package just to get a libblkid whose functionality we don't need.