chiark / gitweb /
reserve child slot 0
[elogind.git] / NEWS
1 udev 132
2 ========
3
4 Fix segfault if compiled without optimization and dbg() does not get
5 compiled out and uses variables which are not available.
6
7 udev 131
8 ========
9 Bugfixes. (And maybe new bugs. :))
10
11 The rule matching engine got converted from a rule list to a token
12 array which reduced the in-memory rules representation of a full
13 featured distros with thousends of udev rules from 1.2MB to 0.12 MB.
14 Limits like 5 ENV and ATTR matches, and one single instance for most
15 other keys per rule are gone.
16
17 The NAME assignment is no longer special cased. If later rules assign
18 a NAME value again, the former value will be overwritten. As usual
19 for most other keys, the NAME value can be protected by doing a final
20 assignment with NAME:="<value>".
21
22 All udev code now uses libudev, which is also exported. The library
23 is still under development, marked as experimental, and its interface
24 may change as long as the DeviceKit integration is not finished.
25
26 Many thanks to Alan Jenkins for his continuous help, and finding and
27 optimizing some of the computing expensive parts.
28
29 udev 130
30 ========
31 Bugfixes.
32
33 Kernel devices and device nodes are connected now by reverse indizes in
34 /sys and /dev. A device number retrieved by a stat() or similar, the
35 kernel device directory can be found by looking up:
36   /sys/dev/{block,char}/<maj>:<min>
37 and the device node of the same device by looking up:
38   /dev/{block,char}/<maj>:<min>
39
40 udev 129
41 ========
42 Fix recently introduced bug, which caused a compilation without large
43 file support, where vol_id does not recognize raid signatures at the end
44 of a volume.
45
46 Firewire disks now create both, by-id/scsi-* and by-id/ieee-* links.
47 Seems some kernel versions prevent the creation of the ieee-* links,
48 so people used the scsi-* link which disappeared now.
49
50 More libudev work. Almost all udevadm functionality comes from libudev
51 now.
52
53 udevadm trigger has a new option --type, which allows to trigger events
54 for "devices", for "subsystems", or "failed" devices. The old option
55 --retry-failed" still works, but is no longer mentioned in the man page.
56
57 udev 128
58 ========
59 Bugfixes.
60
61 The udevadm info --device-id-of-file= output has changed to use
62 the obvious format. Possible current users should use the --export
63 option which is not affected.
64
65 The old udev commands symlinks to udevadm are not installed, if
66 these symlinks are used, a warning is printed.
67
68 udev 127
69 ========
70 Bugfixes.
71
72 Optical drive's media is no longer probed for raid signatures,
73 reading the end of the device causes some devices to malfunction.
74 Also the offset of the last session found is used now to probe
75 for the filesystem.
76
77 The volume_id library got a major version number update to 1,
78 some deprecated functions are removed.
79
80 A shared library "libudev" gets installed now to provide access
81 to udev device information. DeviceKit, the successor of HAL, will
82 need this library to access the udev database and search sysfs for
83 devices.
84 The library is currently in an experimental state, also the API is
85 expected to change, as long as the DeviceKit integration is not
86 finished.
87
88 udev 126
89 ========
90 We use ./configure now. See INSTALL for details. Current
91 options are:
92     --prefix=
93         "/usr" - prefix for man pages, include files
94     --exec-prefix=
95         "" - the root filesystem, prefix for libs and binaries
96     --sysconfdir=
97         "/etc"
98     --with-libdir-name=
99         "lib" - directory name for libraries, not a path name
100         multilib 64bit systems may use "lib64" instead of "lib"
101     --enable-debug
102         compile-in verbose debug messages
103     --disable-logging
104         disable all logging and compile-out all log strings
105     --with-selinux
106         link against SELInux libraries, to set the expected context
107         for created files
108
109 In the default rules, the group "disk" gets permissions 0660 instead
110 of 0640. One small step closer to unify distro rules. Some day, all
111 distros hopefully end up with the same set of rules.
112
113 No symlinks to udevadm are installed anymore, if they are still needed,
114 they should be provided by the package.
115
116 udev 125
117 ========
118 Bugfixes.
119
120 Default udev rules, which are not supposed to be edited by the user, should
121 be placed in /lib/udev/rules.d/ now, to make it clear that they are private to
122 the udev package and will be replaced with an update. Udev will pick up rule
123 files from:
124   /lib/udev/rules.d/  - default installed rules
125   /etc/udev/rules.d/  - user rules + on-the-fly generated rules
126   /dev/.udev/rules.d/ - temporary non-persistent rules created after bootup
127 It does not matter in which directory a rule file lives, all files are sorted
128 in lexical order.
129
130 To help creating /dev/root, we have now:
131   $ udevadm info --export --export-prefix="ROOT_" --device-id-of-file=/
132   ROOT_MAJOR=8
133   ROOT_MINOR=5
134 In case the current --device-id-of-file is already used, please switch to
135 the --export format version, it saves the output parsing and the old
136 format will be changed to use ':' as a separator, like the format in the
137 sysfs 'dev' file.
138
139 udev 124
140 ========
141 Fix cdrom_id to properly recognize blank media.
142
143 udev 123
144 ========
145 Bugfixes.
146
147 Tape drive id-data is queried from /dev/bsg/* instead of the tape
148 nodes. This avoids rewinding tapes on open().
149
150 udev 122
151 ========
152 Bugfixes.
153
154 The symlinks udevcontrol and udevtrigger are no longer installed by
155 the Makefile.
156
157 The scsi_id program does not depend on sysfs anymore. It can speak
158 SGv4 now, so /dev/bsg/* device nodes can be used, to query SCSI device
159 data, which should solve some old problems with tape devices, where
160 we better do not open all tape device nodes to identify the device.
161
162 udev 121
163 ========
164 Many bugfixes.
165
166 The cdrom_id program is replaced by an advanced version, which can
167 detect most common device types, and also properties of the inserted
168 media. This is part of moving some basic functionality from HAL into
169 udev (and the kernel).
170
171 udev 120
172 ========
173 Bugfixes.
174
175 The last WAIT_FOR_SYSFS rule is removed from the default rules.
176
177 The symlinks to udevadm for the debugging tools: udevmonitor and
178 udevtest are no longer created.
179
180 The symlinks to the udevadm man page for the old tool names are
181 no longer created.
182
183 Abstract namespace sockets paths in RUN+="socket:@<path>" rules,
184 should be prefixed with '@' to indicate that the path is not a
185 real file.
186
187 udev 119
188 ========
189 Bugfixes.
190
191 udev 118
192 ========
193 Bugfixes.
194
195 Udevstart is removed from the tree, it did not get installed for
196 a long time now, and is long replaced by trigger and settle.
197
198 udev 117
199 ========
200 Bugfixes.
201
202 All udev tools are merged into a single binary called udevadm.
203 The old names of the tools are built-in commands in udevadm now.
204 Symlinks to udevadm, with the names of the old tools, provide
205 the same functionality as the standalone tools. There is also
206 only a single udevadm.8 man page left for all tools.
207
208 Tools like mkinitramfs should be checked, if they need to include
209 udevadm in the list of files.
210
211 udev 116
212 ========
213 Bugfixes.
214
215 udev 115
216 ========
217 Bugfixes.
218
219 The etc/udev/rules.d/ directory now contains a default set of basic
220 udev rules. This initial version is the result of a rules file merge
221 of Fedora and openSUSE. For these both distros only a few specific
222 rules are left in their own file, named after the distro. Rules which
223 are optionally installed, because they are only valid for a specific
224 architecture, or rules for subsystems which are not always used are
225 in etc/udev/packages/.
226
227 udev 114
228 ========
229 Bugfixes.
230
231 Dynamic rules can be created in /dev/.udev/rules.d/ to trigger
232 actions by dynamically created rules.
233
234 SYMLINK=="<value>" matches agains the entries in the list of
235 currently defined symlinks. The links are not created in the
236 filesystem at that point in time, but the values can be matched.
237
238 RUN{ignore_error}+="<program>" will ignore any exit code from the
239 program and not record as a failed event.
240
241 udev 113
242 ========
243 Bugfixes.
244
245 Final merge of patches/features from the Ubuntu package.
246
247 udev 112
248 ========
249 Bugfixes.
250
251 Control characters in filesystem label strings are no longer silenty
252 removed, but hex-encoded, to be able to uniquely identify the device
253 by its symlink in /dev/disk/by-label/.
254 If libvolume_id is used by mount(8), LABEL= will work as expected,
255 if slashes or other characters are used in the label string.
256
257 To test the existence of a file, TEST=="<file>" and TEST!="<file>"
258 can be specified now. The TEST key accepts an optional mode mask
259 TEST{0100}=="<is executable file>".
260
261 Scsi_id now supports a mode without expecting scsi-specific sysfs
262 entries to allow the extraction of cciss-device persistent properties.
263
264 udev 111
265 ========
266 Bugfixes.
267
268 In the future, we may see uuid's which are just simple character
269 strings (see the DDF Raid Specification). For that reason vol_id now
270 exports ID_FS_UUID_SAFE, just like ID_FS_LABEL_SAFE. For things like
271 the creation of symlinks, the *_SAFE values ensure, that no control
272 or whitespace characters are used in the filename.
273
274 Possible users of libvolume_id, please use the volume_id_get_* functions.
275 The public struct will go away in a future release of the library.
276
277 udev 110
278 ========
279 Bugfixes.
280
281 Removal of useless extras/eventrecorder.sh.
282
283 udev 109
284 ========
285 Bugfixes.
286
287 udev 108
288 ========
289 Bugfixes.
290
291 The directory multiplexer for dev.d/ and hotplug.d are finally removed
292 from the udev package.
293
294 udev 107
295 ========
296 Bugfixes.
297
298 Symlinks can have priorities now, the priority is assigned to the device
299 and specified with OPTIONS="link_priority=100". Devices with higher
300 priorities overwrite the symlinks of devices with lower priorities.
301 If the device that currently owns the link, goes away, the symlink
302 will be removed, and recreated, pointing to the next device with the
303 highest actual priority. This should make /dev/disk/by-{label,uuid,id}
304 more reliable, if multiple devices contain the same metadata and overwrite
305 these symlinks.
306
307 The dasd_id program is removed from the udev tree, and dasdinfo, with the
308 needed rules, are part of the s390-tools now.
309
310 Please add KERNEL=="[0-9]*:[0-9]*" to the scsi wait-for-sysfs rule,
311 we may get the scsi sysfs mess fixed some day, and this will only catch
312 the devices we are looking for.
313
314 USB serial numbers for storage devices have the target:lun now appended,
315 to make it possibble to distinguish broken multi-lun devices with all
316 the same SCSI identifiers.
317
318 Note: The extra "run_directory" which searches and executes stuff in
319 /etc/hotplug.d/ and /etc/dev.d/ is long deprecated, and will be removed
320 with the next release. Make sure, that you don't use it anymore, or
321 provides your own implementation of that inefficient stuff.
322 We are tired of reports about a "slow udev", because these directories
323 contain stuff, that runs with _every_ event, instead of using rules,
324 that run programs only for the matching events.
325
326 udev 106
327 ========
328 Bugfixes.
329
330 udev 105
331 ========
332 Bugfixes.
333
334 DRIVER== will match only for devices that actually have a real
335 driver. DRIVERS== must be used, if parent devices should be
336 included in the match.
337
338 Libvolume_id's "linux_raid" detection needed another fix.
339
340 udev 104
341 ========
342 Bugfixes.
343
344 udev 103
345 ========
346 Add additional check to volume_id detection of via_raid, cause
347 some company decided to put a matching pattern all over the empty
348 storage area of their music players.
349
350 udev 102
351 ========
352 Fix path_id for SAS devices.
353
354 udev 101
355 ========
356 The udev daemon can be started with --debug-trace now, which will
357 execute all events serialized to get a chance to catch a possible
358 action that crashes the box.
359
360 A warning is logged, if PHYSDEV* keys, the "device" link, or a parent
361 device attribute like $attr{../file} is used, only WAIT_FOR_SYSFS rules
362 are excluded from the warning. Referencing parent attributes directly
363 may break when something in the kernel driver model changes. Udev will
364 just find the attribute by walking up the parent chain.
365
366 Udevtrigger now sorts the list of devices depending on the device
367 dependency, so a "usb" device is triggered after the parent "pci"
368 device.
369
370 udev 100
371 ========
372 Revert persistent-storage ata-serial '_' '-' replacement.
373
374 udev 099
375 ========
376 Bugfixes.
377
378 Udevtrigger can now filter the list of devices to be triggered. Matches
379 for subsystems or sysfs attributes can be specified.
380
381 The entries in /dev/.udev/queue and /dev/.udev/failed have changed to
382 zero-sized files to avoid pointing to /sys and confuse broken tools which
383 scan the /dev directory. To retry failed events, udevtrigger --retry-failed
384 should be used now.
385
386 The rules and scripts to create udev rules for persistent network
387 devices and optical drives are in the extras/rules_generator directory
388 now. If you use something similar, please consider replacing your own
389 version with this, to share the support effort. The rule_generator
390 installs its own rules into /etc/udev/rules.d.
391
392 The cdrom_id tool installs its own rule now in /etc/udev/rules.d, cause
393 the rule_generator depends on cdrom_id to be called in an earlier rule.
394
395 udev 098
396 ========
397 Bugfixes.
398
399 Renaming of some key names (the old names still work):
400 BUS -> SUBSYSTEMS, ID -> KERNELS, SYSFS -> ATTRS, DRIVER -> DRIVERS.
401 (The behavior of the key DRIVER will change soon in one of the next
402 releases, to match only the event device, please switch to DRIVERS
403 instead. If DRIVER is used, it will behave like DRIVERS, but an error
404 is logged.
405 With the new key names, we have a more consistent and simpler scheme.
406 We can match the properties of the event device only, with: KERNEL,
407 SUBSYSTEM, ATTR, DRIVER. Or include all the parent devices in the match,
408 with: KERNELS, SUBSYSTEMS, ATTRS, DRIVERS. ID, BUS, SYSFS, DRIVER are no
409 longer mentioned in the man page and should be switched in the rule
410 files.
411
412 ATTR{file}="value" can be used now, to write to a sysfs file of the
413 event device. Instead of:
414   ..., SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys$$DEVPATH/timeout'"
415 we now can do:
416   ..., ATTR{type}=="0|7|14", ATTR{timeout}="60"
417
418 All the PHYSDEV* keys are deprecated and will be removed from a
419 future kernel:
420   PHYDEVPATH -    is the path of a parent device and should not be
421                   needed at all.
422   PHYSDEVBUS -    is just a SUBSYSTEM value of a parent, and can be
423                   matched with SUBSYSTEMS==
424   PHYSDEVDRIVER - for bus devices it is available as ENV{DRIVER}.
425                   Newer kernels will have DRIVER in the environment,
426                   for older kernels udev puts in. Class device will
427                   no longer carry this property of a parent and
428                   DRIVERS== can be used to match such a parent value.
429 Note that ENV{DRIVER} is only available for a few bus devices, where
430 the driver is already bound at device event time. On coldplug, the
431 events for a lot devices are already bound to a driver, and they will have
432 that value set. But on hotplug, at the time the kernel creates the device,
433 it can't know what driver may claim the device after that, therefore
434 in most cases it will be empty.
435
436 Failed events should now be re-triggered with:
437    udevtrigger --retry-failed.
438 Please switch to this command, so we keep the details of the /dev/.udev/failed/
439 files private to the udev tools. We may need to switch the current symlink
440 target, cause some obviously broken tools try to scan all files in /dev
441 including /dev/.udev/, find the links to /sys and end up stat()'ing sysfs files
442 million times. This takes ages on slow boxes.
443
444 The udevinfo attribute walk (-a) now works with giving a device node
445 name (-n) instead of a devpath (-p). The query now always works, also when
446 no database file was created by udev.
447
448 The built-in /etc/passwd /etc/group parser is removed, we always depend on
449 getpwnam() and getgrnam() now. One of the next releases will depend on
450 fnmatch() and may use getopt_long().
451
452 udev 097
453 ========
454 Bugfixes and small improvements.
455
456 udev 096
457 ========
458 Fix path_id for recent kernels.
459
460 udev 095
461 ========
462 %e is finally gone.
463
464 Added support for swapping network interface names, by temporarily
465 renaming the device and wait for the target name to become free.
466
467 udev 094
468 ========
469 The built-in MODALIAS key and substitution is removed.
470
471 udev 093
472 ========
473 The binary firmware helper is replaced by the usual simple
474 shell script. Udevsend is removed from the tree.
475
476 udev 092
477 ========
478 Bugfix release.
479
480 udev 091
481 ========
482 Some more keys require the correct use of '==' and '=' depending
483 on the kind of operation beeing an assignment or a match. Rules
484 with invalid operations are skipped and logged to syslog. Please
485 test with udevtest if the parsing of your rules throws errors and
486 fix possibly broken rules.
487
488 udev 090
489 ========
490 Provide "udevsettle" to wait for all current udev events to finish.
491 It also watches the current kernel netlink queue by comparing the
492 even sequence number to make sure that there are no current pending
493 events that have not already arrived in the daemon.
494
495 udev 089
496 ========
497 Fix rule to skip persistent rules for removable IDE devices, which
498 also skipped optical IDE drives.
499
500 All *_id program are installed in /lib/udev/ by default now.
501
502 No binary is stripped anymore as this should be done in the
503 packaging process and not at build time.
504
505 libvolume_id is provided as a shared library now and vol_id is
506 linked against it. Also one of the next HAL versions will require
507 this library, and the HAL build process will also require the
508 header file to be installed. The copy of the same code in HAL will
509 be removed to have only a single copy left on the system.
510
511 udev 088
512 ========
513 Add persistent links for SCSI tapes. The rules file is renamed
514 to 60-persistent-storage.rules.
515
516 Create persistent path for usb devices. Can be used for all sorts
517 of devices that can't be distinguished by other properties like
518 multiple identical keyboards and mice connected to the same box.
519
520 Provide "udevtrigger" program to request events on coldplug. The
521 shell script is much too slow with thousends of devices.
522
523 udev 087
524 ========
525 Fix persistent disk rules to exclude removable IDE drives.
526
527 Warn if %e, $modalias or MODALIAS is used.
528
529 udev 086
530 ========
531 Fix queue export, which wasn't correct for subsequent add/remove
532 events for the same device.
533
534 udev 085
535 ========
536 Fix cramfs detection on big endian.
537
538 Make WAIT_FOR_SYSFS usable in "normal" rules and silent if the whole
539 device goes away.
540
541 udev 084
542 ========
543 If BUS== and SYSFS{}== have been used in the same rule, the sysfs
544 attributes were only checked at the parent device that matched the
545 by BUS requested subsystem. Fix it to also look at the device we
546 received the event for.
547
548 Build variable CROSS has changed to CROSS_COMPILE to match the kernel
549 build name.
550
551 udev 083
552 ========
553 Fix a bug where NAME="" would prevent RUN from beeing executed.
554
555 RUN="/bin/program" does not longer automatically add the subsystem
556 as the first parameter. This is from the days of /sbin/hotplug
557 which is dead now and it's just confusing to need to add a space at
558 the end of the program name to prevent this.
559 If you use rules that need the subsystem as the first parameter,
560 like the old "udev_run_hotlugd" and "udev_run_devd", add the subsystem
561 to the key like RUN+="/bin/program $env{SUBSYSTEM}".
562
563 udev 082
564 ========
565 The udev man page has moved to udev(7) as it does not describe a command
566 anymore. The programs udev, udevstart and udevsend are no longer installed
567 by default and must be copied manually, if they should be installed or
568 included in a package.
569
570 Fix a bug where "ignore_device" could run earlier collected RUN keys before
571 the ignore rule was applied.
572
573 More preparation for future sysfs changes. usb_id and scsi_id no longer
574 depend on a magic order of devices in the /devices chain. Specific devices
575 should be requested by their subsytem.
576
577 This will always find the scsi parent device without depending on a specific
578 path position:
579   dev = sysfs_device_get(devpath);
580   dev_usb = sysfs_device_get_parent_with_subsystem(dev, "scsi");
581
582 The "device" link in the current sysfs layout will be automatically
583 _resolved_ as a parent and in the new sysfs layout it will just _be_ the
584 parent in the devpath. If a device is requested by it's symlink, like all
585 class devices in the new sysfs layout will look like, it gets automatically
586 resolved and substituted with the real devpath and not the symlink path.
587
588 Note:
589 A similar logic must be applied to _all_ sysfs users, including
590 scripts, that search along parent devices in sysfs. The explicit use of
591 the "device" link must be avoided. With the future sysfs layout all
592 DEVPATH's will start with /devices/ and have a "subsystem" symlink poiting
593 back to the "class" or the "bus". The layout of the parent devices in
594 /devices is not necessarily expected to be stable across kernel releases and
595 searching for parents by their subsystem should make sysfs users tolerant
596 for changed parent chains.
597
598 udev 081
599 ========
600 Prepare udev to work with the experimental kernel patch, that moves
601 /sys/class devices to /sys/devices and /sys/block to /sys/class/block.
602
603 Clarify BUS, ID, $id usage and fix $id behavior. This prepares for
604 moving the class devices to /sys/devices.
605
606 Thanks again to Marco for help finding a hopefully nice compromise
607 to make %b simpler and working again.
608
609 udev 080
610 ========
611 Complete removal of libsysfs, replaced by simple helper functions
612 which are much simpler and a bit faster. The udev daemon operatesentirely
613 on event parameters and does not use sysfs for simple rules anymore.
614 Please report any new bugs/problems, that may be caused by this big
615 change. They will be fixed immediately.
616
617 The enumeration format character '%e' is deprecated and will be
618 removed sometimes from a future udev version. It never worked correctly
619 outside of udevstart, so we can't use it with the new parallel
620 coldplug. A simple enumeration is as useless as the devfs naming
621 scheme, just get rid of both if you still use it.
622
623 MODALIAS and $modalias is not needed and will be removed from one of
624 the next udev versions, replace it in all rules with ENV{MODALIAS} or
625 the sysfs "modalias" value.
626
627 Thanks a lot to Marco for all his help on finding and fixing bugs.
628
629 udev 079
630 ========
631 Let scsi_id request libata drive serial numbers from page 0x80.
632
633 Renamed etc/udev/persistent.rules to persistent-disk.rules and
634 added /dev/disk/by-name/* for device mapper device names.
635
636 Removed %e from the man page. It never worked reliably outside
637 of udevstart and udevstart is no longer recommended to use.
638
639 udev 078
640 ========
641 Symlinks are now exported to the event environment. Hopefully it's no
642 longer needed to run udevinfo from an event process, like it was
643 mentioned on the hotplug list:
644   UDEV  [1134776873.702967] add@/block/sdb
645   ...
646   DEVNAME=/dev/sdb
647   DEVLINKS=/dev/disk/by-id/usb-IBM_Memory_Key_0218B301030027E8 /dev/disk/by-path/usb-0218B301030027E8:0:0:0
648
649 udev 077
650 ========
651 Fix a problem if udevsend is used as the hotplug handler and tries to use
652 syslog, which causes a "vc" event loop. 2.6.15 will make udevsend obsolete
653 and this kind of problems will hopefully go away soon.
654
655 udev 076
656 ========
657 All built-in logic to work around bad sysfs timing is removed with this
658 version. The need to wait for sysfs files is almost fixed with a kernel
659 version that doesn't work with this udev version anyway. Until we fix
660 the timing of the "bus" link creation, the former integrated logic should
661 be emulated by a rule placed before all other rules:
662   ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
663
664 The option "udev_db" does no longer exist. All udev state will be in
665 /$udev_root/.udev/ now, there is no longer an option to set this
666 to anything else.
667 If the init script or something else used this value, just depend on
668 this hardcoded path. But remember _all_content_ of this directory is
669 still private to udev and can change at any time.
670
671 Default location for rule sripts and helper programs is now: /lib/udev/.
672 Everything that is not useful on the commandline should go into this
673 directory. Some of the helpers in the extras folder are installed there
674 now. The rules need to be changed, to find the helpers there.
675
676 Also /lib/udev/devices is recommended as a directory where packages or
677 the user can place real device nodes, which get copied over to /dev at
678 every boot. This should replace the various solutions with custom config
679 files.
680
681 Udevsend does no longer start the udev daemon. This must be done with
682 the init script that prepares /dev on tmpfs and creates the initial nodes,
683 before starting the daemon.
684
685 udev 075
686 ========
687 Silent a too verbose error logging for the old hotplug.d/ dev.d/
688 emulation.
689
690 The copy of klibc is removed. A systemwide installed version of klibc
691 should be used to build a klibc udev now.
692
693 udev 074
694 ========
695 NAME="" will not create any nodes, but execute RUN keys. To completely
696 ignore an event the OPTION "ignore_device" should be used.
697
698 After removal of the reorder queue, events with a TIMEOUT can be executed
699 without any queuing now.
700
701 udev 073
702 ========
703 Fixed bug in udevd, if inotify is not available. We depend on netlink
704 uevents now, kernels without that event source will not work with that
705 version of udev anymore.
706
707 udev 072
708 ========
709 The rule parsing happens now in the daemon once at startup, all udev
710 event processes inherit the already parsed rules from the daemon.
711 It is shipped with SUSE10.0 and reduces heavily the system load at
712 startup. The option to save precompiled rules and let the udev process
713 pick the them up is removed, as it's no longer needed.
714
715 Kernel 2.6.15 will have symlinks at /class/input pointing to the real
716 device. Libsysfs is changed to "translate" the requested link into the
717 real device path, as it would happen with the hotplug event. Otherwise
718 device removal and the udev database will not work.
719
720 Using 'make STRIPCMD=' will leave the binaries unstripped for debugging
721 and packaging.
722
723 A few improvements for vol_id, the filesytem probing code.
724
725 udev 071
726 ========
727 Fix a stupid typo in extras/run_directory for "make install".
728
729 scsi_id creates the temporary devnode now in /dev for usage with a
730 non-writable /tmp directory.
731
732 The uevent kernel socket buffer can carry app. 50.000 events now,
733 let's see who can break this again. :)
734
735 The upcoming kernel will have a new input driver core integration.
736 Some class devices are now symlinks to the real device. libsysfs
737 needs a fix for this to work correctly. Udevstart of older udev
738 versions will _not_ create these devices!
739
740 udev 070
741 ========
742 Fix a 'install' target in the Makefile, that prevents EXTRAS from
743 beeing installed.
744
745 udev 069
746 ========
747 A bunch of mostly trivial bugfixes. From now on no node name or
748 symlink name can contain any character than plain whitelisted ascii
749 characters or validated utf8 byte-streams. This is needed for the
750 /dev/disk/by-label/* links, because we import untrusted data and
751 export it to the filesystem.
752
753 udev 068
754 ========
755 More bugfixes. If udevd was started from the kernel, we don't
756 have stdin/stdout/stderr, which broke the forked tools in some
757 situations.
758
759 udev 067
760 ========
761 Bugfix. udevstart event ordering was broken for a long time.
762 The new run_program() uncovered it, because /dev/null was not
763 available while we try to run external programs.
764 Now udevstart should create it before we run anything.
765
766 udev 066
767 ========
768 Minor bugfixes and some distro rules updates. If you don't have the
769 persistent disk rules in /dev/disk/by-*/* on your distro, just
770 grab it from here. :)
771
772 udev 065
773 ========
774 We can use socket communication now to pass events from udev to
775 other programs:
776   RUN+="socket:/org/freedesktop/hal/udev_event"
777 will pass the whole udev event to the HAL daemon without the need
778 for a forked helper. (See ChangeLog for udevmonitor, as an example)
779
780 udev 064
781 ========
782 Mostly bugfixes and see ChangeLog.
783
784 The test for the existence of an environment value should be
785 switched from:
786   ENV{KEY}=="*" to ENV{KEY}=="?*"
787 because "*" will not fail anymore, if the key does not exist or
788 is empty.
789
790 udev 063
791 ========
792 Bugfixes and a few tweaks described in the ChangeLog.
793
794 udev 062
795 ========
796 Mostly a Bugfix release.
797
798 Added WAIT_FOR_SYSFS="<attribute>" to be able to fight against the sysfs
799 timing with custom rules.
800
801 udev 061
802 ========
803 We changed the  internal rule storage format. Our large rule files took
804 2 MB of RAM, with the change we are down to 99kB.
805
806 If the device-node has been created with default name and no symlink or
807 options are to remenber, it is not longer stored in the udevdb. HAL will
808 need to be updated to work correctly with that change.
809
810 To overrride optimization flags, OPTFLAGS may be used now.
811
812 udev 060
813 ========
814 Bugfix release.
815
816 udev 059
817 ========
818 Major changes happened with this release. The goal is to take over the
819 complete kernel-event handling and provide a more efficient way to dispatch
820 kernel events. Replacing most of the current shell script logic and the
821 kernel forked helper with a netlink-daemon and a rule-based event handling.
822
823 o udevd listens to netlink events now. The first valid netlink event
824   will make udevd ignore any message from udevsend that contains a
825   SEQNUM, to avoid duplicate events. The forked events can be disabled
826   with:
827     echo "" > /proc/sys/kernel/hotplug
828   For full support, the broken input-subsytem needs to be fixed, not to
829   bypass the driver core.
830
831 o /etc/dev.d/ + /etc/hotplug.d/ directory multiplexing is completely
832   removed from udev itself and must be emulated by calling small
833   helper binaries provided in the extras folder:
834     make EXTRAS=extras/run_directory/
835   will build udev_run_devd and udev_run_hotplugd, which can be called
836   from a rule if needed:
837     RUN+="/sbin/udev_run_hotplugd"
838   The recommended way to handle this is to convert all the calls from
839   the directories to explicit udev rules and get completely rid of the
840   multiplexing. (To catch a ttyUSB event, you now no longer need to
841   fork and exit 300 tty script instances you are not interested in, it
842   is just one rule that matches exactly the device.)
843
844 o udev handles now _all_ events not just events for class and block
845   devices, this way it is possible to control the complete event
846   behavior with udev rules. Especially useful for rules like:
847     ACTION="add", DEVPATH="/devices/*", MODALIAS=="?*", RUN+="/sbin/modprobe $modalias"
848
849 o As used in the modalias rule, udev supports now textual
850   substitution placeholder along with the usual format chars. This
851   needs to be documented, for now it's only visible in udev_rules_parse.c.
852
853 o The rule keys support now more operations. This is documented in the
854   man page. It is possible to add values to list-keys like the SYMLINK
855   and RUN list with KEY+="value" and to clear the list by assigning KEY="".
856   Also "final"-assignments are supported by using KEY:="value", which will
857   prevent changing the key by any later rule.
858
859 o kernel 2.6.12 has the "detached_state" attribute removed from
860   sysfs, which was used to recognize sysfs population. We switched that
861   to wait for the "bus" link, which is only available in kernels after 2.6.11.
862   Running this udev version on older kernels may cause a short delay for
863   some events.
864
865 o To provide infrastructure for persistent device naming, the id programs:
866   scsi_id, vol_id (former udev_volume_id), and ata_id (new) are able now
867   to export the probed data in environment key format:
868     pim:~ # /sbin/ata_id --export /dev/hda
869     ID_MODEL=HTS726060M9AT00
870     ID_SERIAL=MRH401M4G6UM9B
871     ID_REVISION=MH4OA6BA
872
873   The following rules:
874     KERNEL="hd*[!0-9]", IMPORT="/sbin/ata_id --export $tempnode"
875     KERNEL="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_MODEL}_$env{ID_SERIAL}"
876
877   Will create:
878     kay@pim:~> tree /dev/disk
879     /dev/disk
880     |-- by-id
881     |   |-- HTS726060M9AT00_MRH401M4G6UM9B -> ../../hda
882     |   `-- IBM-Memory_Key -> ../../sda
883     |-- by-label
884     |   |-- swap -> ../../hda1
885     |   |-- date -> ../../sda1
886     |   `-- home -> ../../hda3
887     `-- by-uuid
888         |-- 2E08712B0870F2E7 -> ../../hda3
889         |-- 9352cfef-7687-47bc-a2a3-34cf136f72e1 -> ../../hda1
890         |-- E845-7A89 -> ../../sda1
891         `-- b2a61681-3812-4f13-a4ff-920d70604299 -> ../../hda2
892
893   The IMPORT= operation will import these keys in the environment and make
894   it available for later PROGRAM= and RUN= executed programs. The keys are
895   also stored in the udevdb and can be queried from there with one of the
896   next udev versions.
897
898 o A few binaries are silently added to the repository, which can be used
899   to replay kernel events from initramfs instead of using coldplug. udevd
900   can be instructed now to queue-up events while the stored events from
901   initramfs are filled into the udevd-queue. This code is still under
902   development and there is no documentation now besides the code itself.
903   The additional binaries get compiled, but are not installed by default.
904
905 o There is also a temporary fix for a performance problem where too many
906   events happen in parallel and every event needs to parse the rules.
907   udev can now read precompiled rules stored on disk. This is likely to be
908   replaced by a more elegant solution in a future udev version.
909
910 udev 058
911 ========
912 With kernel version 2.6.12, the sysfs file "detached_state" was removed.
913 Fix for libsysfs not to expect this file was added.
914
915 udev 057
916 ========
917 All rules are applied now, but only the first matching rule with a NAME-key
918 will be applied. All later rules with NAME-key are completely ignored. This
919 way system supplied symlinks or permissions gets applied to user-defined
920 naming rules.
921
922 Note:
923 Please check your rules setup, if you may need to add OPTIONS="last_rule"
924 to some rules, to keep the old behavior.
925
926 The rules are read on "remove"-events too. That makes is possible to match
927 with keys that are available on remove (KERNEL, SUBSYSTEM, ID, ENV, ...) to
928 instruct udev to ignore an event (OPTIONS="ignore_device").
929 The new ACTION-key may be used to let a rule act only at a "remove"-event.
930
931 The new RUN-key supports rule-based execution of programs after device-node
932 handling. This is meant as a general replacement for the dev.d/-directories
933 to give fine grained control over the execution of programs.
934
935 The %s{}-sysfs format char replacement values are searched at any of the
936 devices in the device chain now, not only at the class-device.
937
938 We support log priority levels now. The value udev_log in udev.conf is used
939 to determine what is printed to syslog. This makes it possible to
940 run a version with compiled-in debug messages in a production environment
941 which is sometimes needed to find a bug.
942 It is still possible to supress the inclusion of _any_ syslog usage with
943 USE_LOG=false to create the smallest possible binaries if needed.
944 The configured udev_log value can be overridden with the environment variable
945 UDEV_LOG.
946
947 udev 056
948 ========
949 Possible use of a system-wide klibc:
950   make USE_KLIBC=true KLCC=/usr/bin/klcc all
951 will link against an external klibc and our own version will be ignored.
952
953 udev 055
954 ========
955 We support an unlimited count of symlinks now.
956
957 If USE_STATIC=true is passed to a glibc build, we link statically and use
958 a built-in userdb parser to resolve user and group names.
959
960 The PLACE= key is gone. It can be replaced by an ID= for a long time, because
961 we walk up the chain of physical devices to find a match.
962
963 The KEY="<value>" format supports '=', '==', '!=,' , '+=' now. This makes it
964 easy to skip certain attribute matches without composing rules with weird
965 character class negations like:
966   KERNEL="[!s][!c][!d]*"
967 this can now be replaced with:
968   KERNEL!="scd*"
969 The current simple '=' is still supported, and should work as it does today,
970 but existing rules should be converted if possible, to be better readable.
971
972 We have new ENV{}== key now, to match against a maximum of 5 environment
973 variables.
974
975 udevstart is its own binary again, because we don't need co carry this araound
976 with every forked event.