summaryrefslogtreecommitdiff
path: root/udev
AgeCommit message (Collapse)Author
2011-04-14udevd: get netlink socket from systemdKay Sievers
2011-04-14require explicit "db_persist" to exclude device info from --db-cleanupKay Sievers
2011-04-14udevd: move OOM disable into --daemon optionKay Sievers
2011-04-14"db_persist=" -> "db_persist"Kay Sievers
2011-04-14udevd: do not nice processesKay Sievers
2011-04-13udevadm: info --cleanup-dbKay Sievers
Most of the udev database from initramfs should be deleted before starting udev in the real root. udevadm: info --cleanup-db deletes all database entries in /run/udev. Events that processed IMPORT{db}, or mark devices explicitely as persistent, will be excluded.
2011-04-13udevadm: settle - watch queue fileKay Sievers
2011-04-13udevd: log warning if /run is not writableKay Sievers
2011-04-13trivial cleanupsKay Sievers
2011-04-13udevadm: control - add --exitKay Sievers
2011-04-08selinux: do not label files in runtime dirKay Sievers
Do not label any files in the udev runtime directory, but only nodes, links and directories below /dev. In case the runtime directory falls back to /dev/.udev, label this directory once at udevd startup, but never anything below it.
2011-03-31udevd: add 'N:' to optstring in getopt_longThomas Egerer
2011-03-23man: remove trigger --type=failed handlingKay Sievers
2011-03-23systemd: bind udev control socket in systemd and split udev.serviceKay Sievers
We should bind the udev socket from systemd, so we are sure that the abstract namespace socket is always bound by a root process and there is never a window during an update where an untrusted process can steal our socket. Also split the udev.service file, so that the daemon can be updated/restarted without triggering any coldplug events.
2011-03-23use /run/udev/ if possible and fall back to /dev/.udev/Kay Sievers
2011-03-23udevd: initialize fds, for proper close() on exitKay Sievers
2011-03-23udevd: use facility == LOG_DAEMON when writing to /dev/kmsgKay Sievers
Syslog wants to distinguish the sorce of messages. We should indicate that this is a userspace message (LOG_DAEMON) and not a kernel message (LOG_KERNEL).
2011-03-23update sd-daemon.[ch]Kay Sievers
2011-03-15move /dev/.udev/ to /dev/.run/udev/ and convert old udev database at udevd ↵Kay Sievers
startup
2011-03-08udevadm: info - make attribute array static and constThomas Egerer
2011-03-04libudev: udev_device_get_sysattr_list_entry() updateKay Sievers
2011-03-04libudev: use sysfs attr ilist interface for attribute walkThomas Egerer
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
2011-02-15update some commentsKay Sievers
2011-02-09update gitignoreKay Sievers
2011-01-04man: fix typoKay Sievers
Found by: Minh Ha-Duong.
2010-12-15libudev: record and export "age" of device recordKay Sievers
2010-12-14libudev: enumerate - allow to filter-out not-already-initialized devicesKay Sievers
2010-12-14check ifindex > 0 instead of subsystem == "net"Kay Sievers
2010-12-12udevd: switch to common id_filename functionsKay Sievers
2010-12-11udevd: simplify udev database and fix DEVNAME handlingKay Sievers
2010-12-10udevd: always create /dev/{char,block}/$major:$minorKay Sievers
2010-12-10udevd: use dev_t or netif ifindex as database keyKay Sievers
We need to preserve the database of network interfaces while we rename them. Use the kernel's numbers wherever possible, instead of the device names. Fix wrong database filenames which contain a '/', translated from '!' in the kernel name. Fix segfault for kobject pathes where the subsystem can not be determined from sysfs.
2010-12-10udevadm: info - honor --export, --export-prefix=Kay Sievers
2010-12-10udevadm: info - honor --export and --export-prefix for property queryKay Sievers
The output will always be quoted: $ udevadm info --export --export-prefix=MY_ --query=property --name=sda MY_UDEV_LOG='3' MY_DEVPATH='/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' MY_MAJOR='259' MY_MINOR='0' MY_DEVNAME='sda' MY_DEVTYPE='disk' MY_SUBSYSTEM='block'
2010-11-22udevd: create static nodes before /dev/null is neededMichal Soltys
2010-11-12udev-rules.c: change import property buffer to 16384 bytesHarald Hoyer
import_program_into_properties() should have the same line length as import_file_into_properties() see also https://bugzilla.redhat.com/show_bug.cgi?id=652318
2010-11-10man: udev - workaraound -> workaroundJakub Wilk
2010-10-18return proper error code in rename_netif()Kay Sievers
<Md> kay: can you look at rename_netif()? it returns -errno in a place, but I think that it may by changed by err() (at least) <kay> Md: yeah, that doesn't look correct
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.