Product SiteDocumentation Site

1.284. udev

1.284.1. RHBA-2011:0525: bug fix and enhancement update

New udev packages that fix a number of bugs and adds an enhancement, are now available for Red Hat Enterprise Linux 6.
The udev packages implement a dynamic device-directory, providing only the devices present on the system. This dynamic directory runs in userspace, dynamically creates and removes devices, provides consistent naming, and a userspace API. udev replaces devfs, providing greater hot plug functionality.
Bug fixes:
BZ#617572
The kernel recognizes key press events that tell it that a key has been pressed, and key release events that tell it that the key has been released and that the user is not holding the key down. Previously, keyboard keys for advanced functions, like volume control would sometimes produce key press events without corresponding key release events, which the kernel interpreted as the key being held down, even though the user had released the key. This update sets the force key release for these advanced function keys so that the keys behave as expected and unwanted key repeats no longer occur.
BZ#644902
In previous versions of udev, the scsi_id command only queried one sort of page id and returned either the id of page 0x80 or 0x83 was used for ID_SERIAL_RAW. To query the other id, another run of scsi_id was needed. This update adds two new options to the --page= page code argument: 0x80-0x83 and 0x83-0x80. Both export ID_SERIAL_80 and ID_SERIAL_83:
  • For 0x80-0x83, ID_SERIAL_SHORT always equals ID_SERIAL_80.
    For 0x83-0x80, ID_SERIAL_SHORT always equals ID_SERIAL_83.
You must modify /etc/scsi_id.config to change the default page code.
Example usage:
# scsi_id --export --page=0x80-0x83 --whitelisted /dev/sdc|grep ID_SERIAL_
ID_SERIAL_RAW="SATA     SAMSUNG HD400LDS0AXJ1LL903246      "
ID_SERIAL_80=SATA_SAMSUNG_HD400LDS0AXJ1LL903246
ID_SERIAL_SHORT=S0AXJ1LL903246
ID_SERIAL_83=1ATA_SAMSUNG_HD400LD_S0AXJ1LL903246
BZ#647794
In a virtual machine with an iDRAC virtual CDROM, the CDROM could not be mounted from the desktop, because /lib/udev/cdrom_id failed to get the correct information about the drive and medium. In this update, /lib/udev/cdrom_id has been fixed to correctly read information about the drive and medium of an iDRAC virtual drive.
BZ#656059
Previously, some dynamic ethernet interfaces with zero MAC addresses were erroneously added to the list of persistent interfaces in /etc/udev/rules.d/70-persistent-net.rules. This resulted network interfaces being named incorrectly. In this updated package, these interfaces are no longer listed as persistent, which corrects the naming problem.
BZ#657360
Previously, the option udevadm trigger caused a segmentation fault when udevadm if debugging was turned on in /etc/udev.conf. With this update, this option udevadm trigger behaves as expected and the segmentation fault does not occur.
BZ#660367
Virtual CDROM or DVD media presented through an iDRAC card were not recognized correctly by udev helpers. As a result, attempts to install from such a medium would fail. This updated udev package provides a corrected cdrom_id which now works with iDRAC cards.
BZ#663064
Previously, the autosuspend feature of qemu virtual mouse, tablet and keyboard devices were not available in the sysfs representation of these devices. It was not therefore possible to detect when such devices were not in use and to autosuspend the virtual machines to which they were attached. This release of udev turns on the autosuspend feature of these devices to reduce load on virtual machines without the need for manual interaction by the sysadmin.
BZ#667750
In previous releases, /dev/hugepages was not created by udev and therefore could not be mounted automatically. This directory is now created in the start_udev script after /dev is mounted.
BZ#674168
In previous versions of the udev rules it was not possible to turn off console user ownership of certain devices. For example, if you want to remove console ownership of the CDROM device in a udev rule with:
SUBSYSTEM=="block", ENV{ID_CDROM}=="1", ENV{ACL_MANAGE}="0"
the ENV{ACL_MANAGE}="0" was not completly honored.
This update fixes udev-acl tool, which is part of udev, to honor 0 as a setting
BZ#676004
Previously, the udevd daemon was not compiled with the PIE and RELRO flags, so the daemon was missing some security mechanisms available. This update release fixes the issue.
BZ#677857
A memory allocation issue could cause previous versions of udevadm trigger to fail with a segmentation fault when a device was delayed. In this release, the memory allocation issue is corrected, and udevadm trigger does not fail when devices are delayed.
BZ#687956
Some virtual machines do not properly implement the READ TOC SCSI command. On such virtual machgines, the Red Hat Enterprise Linux installer (anaconda) could not recognize the DVD medium properly. These updated udev packages include a workaround in cdrom_id which allow virtual machines with faulty implementations of the READ TOC SCSI command to recognize DVDs.
Enhancements:
BZ#644330
Previously, the output of the command udevadm info --query=property could not be used as input to shell interpreters. This update adds an --export argument so that the output of udevadm info --query=property --option is parsable by the shell.
Users of udev should upgrade to these updated packages, which fix these bugs and add this enhancement.