ALT Linux repos
5.0: | 141-alt1 |
4.1: | 118-alt1.M41.2 |
4.0: | 108-alt2.M40.1 |
+updates: | 108-alt2.M40.1 |
3.0: | 0.70-alt1 |
+updates: | 0.70-alt2 |
Group :: System/Configuration/Hardware
RPM: udev
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
9 april 2009 Valery Inozemtsev <shrek at altlinux.ru> 108-alt2.M40.1
- fixed CVE-2009-1185
- Applied post-108 upstream changes (0809c264e9878cdd1c61d9fb0e077972bc596ef8):
+ make ACTION!="add|change" working (now "!=" is really the inverse of "==")
+ udevinfo: export all information stored in database
+ udevtest: export ACTION string if given as option
+ udevtest: import uevent variables if possible - Updated udevd initscript:
+ fixed check for /dev/shm entry in fstab - Updated udev rules:
+ added /dev/js* compat symlinks for /dev/input/js* (#7669)
- New upstream release (108).
- Note: udev_run_devd and udev_run_hotplugd utilities were removed from udev
by upstream developers (their usage in rules was removed in 105-alt1). - Reverted create_floppy_devices change from 0.77-alt3 which was adding the
"-g <group>" option (in udev-106 the "-G <group>" option was added). - Updated udevd initscript:
+ added "start_udev_only" action for use during package upgrade;
+ removed setting kernel.hotplug to /sbin/hotplug on stop. - Updated udev rules:
+ updated create_floppy_devices options for new implementation in udev-106;
+ removed useless dasd support (s390 only);
+ added persistent symlinks for SCSI tapes and medium changer devices;
+ fixed WAIT_FOR_SYSFS for SCSI devices;
+ fixed wrong rule for raw devices (/dev/raw/raw[0-9]*);
+ added -b option to all modprobe invocations;
+ disabled MODALIAS autoload for the i82365 module (Debian bug #398962);
+ added SUBSYSTEM and ACTION checks to rules for ALSA devices;
+ added checks to avoid normal rules for net devices (Gentoo bug #166652);
+ added rules to create /dev/disk/{by-uuid,by-label}/* links for md devices
(63-md.rules); these rules are also copied to initramfs (#11190). - Added /usr/sbin/udevconvertdb utility to convert udev database to the new
format used since udev-107; updated %pre and %post scripts to convert the
database during upgrade.
- Added conflicts with old udev packages to the udev-rules subpackage
(prevents attempts to install udev-rules together with old releases of
udev which had rule files in the main package). - Updated udevd initscript:
+ removed broken code which tried to remove old udev database on start;
+ fixed compatibility with startup-0.9.8.9-alt1:
+ pass -n option to mount when running from rc.sysinit;
+ do not try to start another copy of udevd if already running;
+ use $tmpfs_options when mounting /dev initially;
+ do not try to remount /dev when running from rc.sysinit;
+ do not unmount /dev on stop (this time "service udevd umount" added
for use during dev package upgrade).
+ fix double /dev/shm mounting if it is listed in fstab - Updated net.agent:
+ check for ignored interface name first (fixes useless failure during
early startup of interfaces like "lo").
- Fixed net.agent to avoid unwanted dependency on etcnet; now net-scripts
should be usable again. - Moved module-init-tools, dmsetup, libvolume_id from Requires to PreReq
(these packages should be installed before udev to keep rules working). - Moved rule files to a separate udev-rules package; replaced dependency of
udev-initramfs on udev with udev-rules (now installing new mkinitrd with
initramfs support does not require the main udev package). - Added Provides: /etc/udev/rules.d, /etc/udev/initramfs-rules.d to the
udev-rules subpackage to be used by other packages with udev rules. - Updated udevd initscript:
+ do not invoke udevtrigger during restart (avoids bad side effects with
some devices, but events which happen during restart will be lost)
+ unmount /dev on stop again (reverts the change made in 105-alt1;
workaround for upgrading the dev package); unmount is not performed on
restart and condrestart - Updated udev rules:
+ removed rule for loading the pcmcia module (already in pcmciautils)
- New upstream release (105).
- Dropped git-scsi_id-garbage patch (fixed upstream).
- Replaced old package build system with a new one based on the upstream git
repository, rewritten spec file for the new layout:
+ applied all old patches as commits in the package git repository
+ placed udev rules in etc/udev/altlinux/
+ placed udevd initscript in etc/init.d/
+ placed dm_helper in extras/dm_helper/ - Added udev-initramfs subpackage which contains udev built with klibc for
use in initramfs images created by mkinitrd. - Added /etc/udev/initramfs-rules.d directory containing symlinks to rule
files which need to be copied to initramfs. - Disabled recursive substititions in udev_rules_apply_format() (this feature
is dubious, dangerous if used improperly (e.g., there is no protection from
infinite loops) and does not seem to be documented properly). - libvolume_id: Fixed possible buffer overruns when handling romfs and
ntfs filesystems, and other filesystems with too long labels. - Updated udev rules:
+ moved rules for ignoring of "drivers" and "module" events from
20-hotplugd.rules to 05-udev-early.rules
+ fixed rule for removable IDE avoidance to use ATTR{removable} instead of
ATTRS{removable}
+ added rules to create /dev/disk/{by-uuid,by-label}/* links for devices
managed by the device mapper driver (64-device-mapper.rules)
+ added rule to invoke /sbin/pam_console_apply in 94-pam-console.rules
(fixes wrong permissions for devices managed by pam_console if these
devices appeared after login, or if udevtrigger was rerun)
+ removed callouts to the hotplug package - now modprobe by modalias is
used to load kernel modules, and other actions are handled by scripts
included in the udev package (currently net.agent and sound.agent). - Updated udevd initscript:
+ do not unmount /dev on stop (breaks too much to be useful)
+ implement condrestart instead of ignoring it (now udevd will be
restarted during package upgrade, like all other daemons) - Added udevd-final service to perform final steps of udev initialization
when other parts of the system have been initialized.
- Added patches:
+ git-scsi_id-garbage: scsi_id: remove trailing garbage from ID_SERIAL_SHORT - Updated udev rules:
+ restore lost rules for firmware loading
+ kill useless NAME="%k" assignments
+ resync 50-udev-default.rules with SUSE:
+ create /dev/pilot symlink also for Handspring Treo devices
+ create all possible partitions for ide-floppy devices
+ load mmc_block module for MMC devices
+ fix device names for (obsolete) raw devices (/dev/raw/rawN)
+ check for ACTION=="add" when creating /dev/bus/usb/** devices
+ fix permissions for floppy devices (GROUP="floppy", MODE="0660")
+ resync 60-persistent-storage.rules with SUSE:
+ add /dev/disk/by-id/ata-* symlinks for libata and other SAT devices
+ add /dev/disk/by-id/mmc-* symlinks for MMC block devices
+ replace DRIVER key with DRIVERS
- Updated patches to new version
- removed patches:
udev-097-alt-nogroup.patch (included to mainstream)
- Added patches:
+ alt-init-pipe-before-fork: udevd: init signal pipe before forking to
background
+ alt-udevd-pidfile: udevd: add pid file support (/dev/.udev/udevd.pid) - Updated udevd initscript:
+ use pid file in /dev/.udev/udevd.pid
+ daemonize with "udevd --daemon" instead of "start_daemon --make-pidfile"
(should really fix startup race with udevsettle - #9881)
+ revert broken fix for #9881 added in 097-alt1
- New version (097).
- Dropped alt-compile-warnings patch (obsolete).
- Removed obsolete "--with klibc" build support from spec (upstream developers
removed klibc support from udev 097). - Removed obsolete "--with system_sysfs" build support from spec (udev does not
use libsysfs for a long time). - Tightened udev package dependency on libvolume_id due to unstable ABI.
- Removed tmpfs_options example with "helper" from udev.conf (the corresponding
kernel patch was dropped long ago). - Added alt-nogroup patch: vol_id: replace "nogroup" group name with "nobody"
(partially fixes #9871). - Replaced logger-path patch with alt-firmware-initlog patch: use /sbin/initlog
instead of logger (which is in /usr/bin). - Added alt-firmware-dirs patch: add /usr/lib/hotplug/firmware to firmware
search path (to avoid regressions when firmware loading is switched from
hotplug to udev). - Updated udevd initscript:
+ fixed udevsettle race (#9881); removed broken workaround added in 091-alt3
+ add "-n" option to "mount --move" to fix duplication of /etc/mtab entries
(#7758)
+ check that all required kernel features (/sys/class/mem/null/uevent,
/sys/kernel/uevent_seqnum) are present before trying to start udevd
+ removed code for handling udevd started from hotplug (udev does not support
this for a long time)
+ removed useless $mountcmd indirection from attach_pts_filesystem and
attach_shm_filesystem
+ fixed /dev/null redirections in make_extra_nodes, removed /dev/null usage
from places where /dev/null is not yet available - Updated udev rules:
+ moved all WAIT_FOR_SYSFS rules to 05-udev-early.rules
+ moved firmware loading rules to 05-udev-early.rules, so that they are used
before hotplug (previously both hotplug and udev were trying to load
firmware; now all firmware loading is handled through udev)
+ removed useless rule which "renamed" eth* network interfaces to the same
name
+ added joystick support to 60-persistent-input.rules
+ added crypto container support to 60-persistent-storage.rules
+ removed fuse rule (#9871)
+ removed /dev/tpm* rule with "tss" user/group (#9871)
+ removed /dev/ucm*, /dev/uverbs* rules with "rdma" group (#9871)
+ removed rules for SCSI scanners with "scanner" group (#9871)
+ removed /dev/nvram rule with "nvram" group (#9871)
+ replaced "tape" group with "disk", removed some rules which were setting
the "tape" group for devices which already had the "disk" group from other
rules (#9871)
+ removed "video" group from agpgart, DRI and framebuffer devices (now this
group is used only for video capture devices) - Create "video" group in %pre (#9871).
- new version
- new version
- fixed SUBSYSTEM and SYSFS errors in rules
- fixed logger unmet
- new version
- updated rules for new firmware loader
- new version
- added lvm support (#7369, Nick S. Grechukh)
- added workaround (sync) for tmpfs files creation race in initscript
- package adopted to gear
- added patch from mainstream for creating parent directories for seqnum
- new version
- added sleep after udevtrigger
- new version
- updated from git
- added udevsettle to initscript
- path_id added
- new version
- all rules changed for new udev policy
- added rule for floppy devices creation (#9129)
- Zaptel devices removed from rules (#8753)
- Firmware loading fixed (thnx , lioka)
- fixed typo in initscript
- fixed /dev/pts start and restart
- new version
- use new regexp for initscript (#8061)
- fixed /dev premissions
- next version
- new version
- added rule for ttyACM
- fixed rule for /dev/tty (#8026)
- fixed double /dev/pts mounting (#6974)
- new version
- updated to new version
- fixed typo in rules (#7394)
- removed patch1 (included to mainstream)
- removed patch0 (use OPTIONS="ignore_device" for ACTION=="remove")
- requries to udev_static_addon added
- fixed rules for vizor (#7394)
- fixed some bugs in rules
- rules format updated
- added rule for running scripts from hotplug.d and dev.d
- udev initscript remove hotplug execution from /proc/sys/kernel/hotplug
- updated to 062
- Fixes for init script for empty and r/o /dev
- init script fixes
- udev lsb rules fixes (#6232, #6297, #6338, and probably #6337)
- built w/ syslog (#5850)
- possible integration w/ udev_static-*
- fixed typo in udevd.init (now service should start w/o complaining
even if no devices in /etc/udev/devices can be found) - udevd is forced to stop, even if it was launched not by init startup
script - added patch to skip unknown (new) options from udev.conf throughout
C code (udevinfo, udev etc). Bug was reported by vk@.
- Use syslog by default (#5850)
- Added udevinfo prints patch from ML
- Preliminary support of modules_lookup
- Actual use of tmpfs_options
- Added directory /etc/udev/devices as a workaround for
"missing devices" problem. One can create required device inodes
with /sbin/MAKEDEV -d /etc/udev/devices <devname>, and all these
inodes will be copied as is to /dev upon udev startup. - DO_TRADITIONAL and PREFER_TRADITIONAL removed from cd-names.sh
Traditional names if needed now should be specified right in udev rules
- New version (0.50)
- extended modifiers are fixed [hopefully]
- ide-names.sh replaced by drive-names.sh which can be used for SCSI disks (only sd*)
as well as as for IDE drives (either IDE hard disks, CD-ROMs, or IDE floppies)
- Fixed CD-ROMs / CD-RWs etc permissions
- version 0.46 (046)
- service init script greatly improved. Now it passes multiple start/stop etc cycles almost seamlessly
- permissions and device naming rules also improved (mostly taked from Mdk w/ certain Debian stuff
and home-made ide-names.sh and cd-names.sh). Device naming rules are still subject for improvement and
bugfixing though... - Added patches for %N and %U rules keys (see 'man 8 udev' for description)
- Fixes for %e
- TODO: write a SCSI-oriented companion for ide-names.sh. Contrubutors are welcome ;-)
- New version (0.43)
- Spec and patches are re-worked a bit (now it can be correctly build w/ and w/o
system sysfs)
- Initial build for ALT Linux