From: Kay Sievers Date: Wed, 6 Sep 2006 20:18:04 +0000 (+0200) Subject: release 099 X-Git-Tag: 174~2141 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a51530993e28c9a689be535fd1d34b259b39f2a;p=systemd release 099 --- diff --git a/ChangeLog b/ChangeLog index 080c91b6..cf0a398f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,81 @@ +Summary of changes from v097 to v098 +============================================ + +Alex Merry: + udevtest: allow /sys in the devpath paramter + +Greg KH: + update Gentoo rules + +Harald Hoyer: + selinux: init once in the daemon, not in every event process + +Kay Sievers: + udevd: remove huge socket buffer on the control socket + man page: fix typo + rename udev_libc_wrapper -> udev_sysdeps + db: store devpath - node relationship for all devices + udevinfo: allow -a -n + udevinfo, udevtest: simplify '/sys' stripping from devpath argument + lookup_user, lookup_group: report "unknown user" and "lookup failed" + consistent key naming to match only the event device or include all parent devices + skip rule, if too may keys of the same type are used + introduce ATTR{file}="value" to set sysfs attributes + update SUSE rules + update default rules + export DRIVER for older kernels as a replacement for PHYSDEVDRIVER + fix typo in SUBSYSTEMS key parsing + udevtrigger: add --retry-failed + volume_id: add suspend partition detection + vol_id: use primary group of 'nobody' instead of 'nogroup' + remove built-in /etc/passwd /etc/group parser + always expect KEY{value} on ATTR, ATTRS, ENV keys + use new key names in test programs + cleanup commandline argument handling + db: don't create a db file for only a node name to store + man: add ATTR{file}="value" assignment + 098 release + udev_db.c: include + use fnmatch() instead of our own pattern match code + rename major/minor variable to maj/min to avoid warning + update source file headers + udevtest: print header that ENV{} can't work + update TODO + udevtrigger: options to filter by subsystem and sysfs attribute + udevtrigger: remove unused longindex + udevinfo: use long options + udevd: use files instead of symlinks for /dev/.udev/queue,failed + udevtrigger: fix pattern match + reorder options in udevinfo man page + udevinfo: fix SUBSYTEMS spelling error + fix ENV{TEST}="Test: $env{TEST}" + let $attr{symlink} return the last element of the path + cdrom_id: add rules file to call cdrom_id + udevinfo: do not show symlinks as attributes in --attribute-walk + remove broken name_cdrom.pl + +Lennart Poettering: + volume_id: fix fat32 cluster chain traversal + +Marco d'Itri: + fix 'unknow user' error from getpwnam/getgrnam + fix rc when using udev --daemon + update Debian rules + update Debian rules + run_program: close pipe fd's which are connected to child process + add persistent rules generator for net devices and optical drives + +Michał Bartoszkiewicz: + man pages: fix typos + +MUNEDA Takahiro: + changes rules for ata disk from '_' to '-' + +Sergey Vlasov: + make struct option arrays static const + fix "subsytem" typo + + Summary of changes from v096 to v097 ============================================ diff --git a/Makefile b/Makefile index 0027421d..18de4219 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION = 098 +VERSION = 099 # set this to make use of syslog USE_LOG = true diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9fe4542d..c7e7a053 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,3 +1,24 @@ +udev 099 +======== +Bugfixes. + +Udevtrigger can now filter the list of devices to be triggered. Matches +for subsystems or sysfs attributes can be specified. + +The entries in /dev/.udev/queue and /dev/.udev/failed have changed to +zero-sized files to avoid pointing to /sys and confuse broken tools which +scan the /dev directory. To retry failed events, udevtrigger --retry-failed +should be used now. + +The rules and scripts to create udev rules for persistent network +devices and optical drives are in the extras/rules_generator directory +now. If you use something similar, please consider replacing your own +version with this, to share the support effort. The rule_generator +installs its own rules into /etc/udev/rules.d. + +The cdrom_id tool installs its own rule now in /etc/udev/rules.d, cause +the rule_generator depends on cdrom_id to be called in an earlier rule. + udev 098 ======== Bugfixes. diff --git a/TODO b/TODO index 8667b87e..58d9c1ef 100644 --- a/TODO +++ b/TODO @@ -11,10 +11,11 @@ These things will change in future udev versions: o warn if PHYSDEV* keys are used in ENV keys (they are deprecated and will be removed from a future kernel) - o warn if "device/" is used in a ATTR{}, ATTRS{}, $attr{} key - (the device link must not be used in rules or tools, udev resolves - the link and makes the devices available as parents, which can - be matched with the normal keys) + o warn if any path component is used in a ATTR{}, ATTRS{}, + $attr{} key, like ATTR{device/}== + (parent attributes must not referenced directly in rules or tools, + udev finds the parents and makes them available, which can be matched + with the normal keys) o warn if BUS, ID, SYSFS are used as keys (they are SUBSYSTEMS, KERNELS, ATTRS now)