summaryrefslogtreecommitdiff
path: root/udev
AgeCommit message (Collapse)Author
2010-08-11do not rename the database on device renameKay Sievers
Harald Hoyer discovered some incorrect behavior while debugging problems with network interface renaming: Udev events might be queued for devices which are renamed. A new device registered the same time may claime the old name and create a database entry for it. The current rename logic would move over this databse entry to the wrong device.
2010-08-11always log error when renaming a network interface failsKay Sievers
2010-08-10udev-event.c: rename interface to <src>-<dest>, if <dest> takenHarald Hoyer
e.g. if eth0 should be eth3 and eth3 is waiting to be renamed, eth0 was renamed to eth0_rename. The kernel would take eth0 as the name for a new interface and this new eth0 could also become eth0_rename, if the target name is also taken. To prevent this name clash, the interfaces are now renamed to <src>-<dest> and the rename is logged.
2010-08-08udevd: create static device links only when the target existsYin Kangkai
For example, not all systems have PROC_KCORE enabled. Avoid a broken symbolic link in those cases. Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08udevd: fix unref'ing of device in error pathYin Kangkai
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-03call util_delete_path() only when we actually deleted stuffKay Sievers
2010-08-03udevd: fix short options in getopt()Yin Kangkai
2010-08-03malloc()+memset() -> calloc()Yin Kangkai
2010-08-02udevd: fix some memory leaks in error pathYin Kangkai
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2010-07-28udevadm: fix short options in getopt()Yin Kangkai
2010-07-11udevd: init_notify() fix abstract namespace name handlingKay Sievers
2010-07-07allow final assignment for OPTIONS:="nowatch"Kay Sievers
A final assignemnt operator will disable any device watching by inotify, and any possible later rules setting "watch" again will be ignored.
2010-06-17udevd: in case we don't daemonize, send READY message to /sbin/initKay Sievers
2010-05-31IMPORT{cmdline}: start at first char after '='Kay Sievers
2010-05-31add IMPORT{cmdline}Kay Sievers
2010-05-30udevd: set umask before creating files/directoriesKay Sievers
2010-05-29man: udevd - update introKay Sievers
2010-05-29man: add kernel command line parametersKay Sievers
2010-05-28man: add static device nodes and udevd debug optionsKay Sievers
2010-05-28udevd: read debug settings from kernel commandlineKay Sievers
2010-05-27udevd: fix commentsKay Sievers
2010-05-27udevd: replace --debug-trace with --children-maxKay Sievers
2010-05-27childs -> childrenKay Sievers
2010-05-27while (1) -> for (;;)Kay Sievers
2010-05-25fix compilation with --enable-debugKay Sievers
2010-05-25udevd: fix typo /proc/fd -> /proc/self/fdBryan Kadzban
2010-05-24man: directly use 'refentry'Kay Sievers
And make Lennart happy! :)
2010-05-20create static nodes provided by kernel modules to allow module autoloadingKay Sievers
2010-05-20fix tests and allow MODE=000Kay Sievers
2010-05-20udevd: create standard symlinks and handle /lib/udev/devicesKay Sievers
2010-05-20use default mode of 0600 for nodes if gid == 0Kay Sievers
2010-05-12reset process priority before executing RUN+=Kay Sievers
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581235
2010-05-11udevd: reload config only for *.rules filesKay Sievers
2010-05-07add info message when empty NAME is givenKay Sievers
2010-05-05man: udevadm trigger - the default is "change" not "add"Kay Sievers
2010-05-05warn when renaming kernel-provided nodes instead of adding symlinksKay Sievers
2010-05-03remove debug output during rules parsingKay Sievers
2010-05-03remove unused parameter from udev_node_mknod()Kay Sievers
2010-05-01fix device node deletionMichael Thayer
Signed-off-by: Michael Thayer <michael.thayer@sun.com>
2010-04-26udevd: always try to find an idle worker instead of forking a new oneKay Sievers
We special-handle events with a TIMEOUT= set, so they don't get queued or wait for parent events to finish, to make sure we can handle them as fast as possible. With this change we first try to find an idle worker process before forking a new one.
2010-04-23delete old tags when configuration changesKay Sievers
2010-04-22use the usual TAG+=, TAG= logicKay Sievers
2010-04-22all to match against a given TAG==Kay Sievers
2010-04-22add TAG= to improve event filtering and device enumerationKay Sievers
2010-04-22udevadm: info --export-db -- remove watch handle exportKay Sievers
2010-04-21fix previous commitKay Sievers
2010-04-21remove left-over from ignore_remove and all_partitionsKay Sievers
2010-04-21more readlink buffer size handlingKay Sievers
2010-04-21remove buffer-overrun risk in readlink callMathias Nyman
readlink does not write a nul character to the end of the string it returns. Therefore ask for one fewer character than the buffer size so there's always room for an extra \0. Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com> Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-20doc: add section about how *not* to rename device nodesKay Sievers
Thanks to Mario 'BitKoenig' Holbe <Mario.Holbe@tu-ilmenau.de>.