summaryrefslogtreecommitdiff
path: root/udev
AgeCommit message (Collapse)Author
2010-10-13udevd: do not wrongly delay events for devices with swapped namesKay Sievers
Renaming network devices might delay events for the other device, which has the same devpath in the meantime as the original event. Causing a delay until the timout of the event is reached. Look at the ifindex/devnum of the devices to check if they are really the same devices.
2010-10-07udevd: add sd-daemon.cKay Sievers
2010-09-21Clarify WAIT_FOR documentationMartin Pitt
The path is relative to the sysfs device, so this provides an easy way to wait for an attribute to appear.
2010-08-31set SELinux context on 'add' but not on 'change' eventsKay Sievers
2010-08-27udev(7) manpage: Fix description of $attrMartin Pitt
Fix the manpage to describe the real behaviour of $attr: It doesn't search all parent devices any more, just the one selected by KERNELS etc. https://launchpad.net/bugs/348513
2010-08-25Add support for oom_score_adjLuca Tettamanti
/proc/<pid>/oom_adj has been deprecated (kernel v2.6.36) due to the rework of the badness heuristic; oom_score_adj is the replacement. Keep a fallback to the old interface for compatibility with older kernels. See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a63d83f427fbce97a6cea0db2e64b0eb8435cd10 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-25udevd: remove unneeded credential passing from init_notify()Kay Sievers
2010-08-20udev(7): Point out required extension, and remove some confusionMartin Pitt
Rules files must end in .rules. Also drop the redundant and confusing sentence about "file names must be unique". What is really meant is explained in a better way in the paragraph above. https://launchpad.net/bugs/616108
2010-08-19udevd: add pid to kmsg logsKay Sievers
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