1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

670 Commits

Author SHA1 Message Date
Kay Sievers
54da62909f udevd: add missing braces
David: uh, don't you need curly braces in the udevd.c part at the bottom?
2011-10-11 13:25:44 +02:00
Kay Sievers
29282732bd udev_ctrl_cleanup()- accept NULL as argument 2011-10-10 02:30:42 +02:00
Kay Sievers
1f5a5100f3 udevd: control - no not delete socket file when --daemon is used 2011-10-10 00:38:56 +02:00
Kay Sievers
5cc4112e6d udevadm: control - use /run/udev/control socket instead of abstract namespace one 2011-10-09 22:52:03 +02:00
Steve Langasek
7944a13a2b udevd: exit - process events before signals in worker
When a worker receives both a signal and a udev event in the same epoll_wait
run, the event must be processed first because the udev parent considers the
event already dispatched.  If we process the signal first and exit, udevd
times out after 60 seconds waiting for a response from an already-dead
worker.

Ref: https://bugs.launchpad.net/bugs/818177
Signed-off-by: Steve Langasek <steve.langasek@canonical.com>
2011-10-08 15:02:38 +02:00
Kay Sievers
dd2247464f systemd: update drop-in sd-daemon files 2011-10-06 03:14:50 +02:00
Kay Sievers
0bbe8838e7 libudev: export udev_util_encode_string() 2011-10-06 01:10:59 +02:00
Kay Sievers
289a1821a4 remove 'udevadm trigger --type=failed' and SYSFS, ID, BUS keys 2011-10-06 00:45:06 +02:00
Kay Sievers
a13d90aec6 usb_id: can't use global variables when used as built-in 2011-10-05 14:57:21 +02:00
Petr Uzel
d800e8688a udevadm: settle - return failure if unknown option is given
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2011-10-03 13:57:18 +02:00
Kay Sievers
4fd394c34b mknod: do not complain about existing node 2011-09-01 21:14:54 +02:00
Kay Sievers
2fdaa983a9 libudev: udev_device_get_sysattr_value() return syspath of custom links 2011-08-17 21:07:09 +02:00
Kay Sievers
a20a57a7bf export USEC_INITIALIZED= and take timestamp on message receive time 2011-08-17 21:05:18 +02:00
Kay Sievers
b3e44c5291 preserve 'sticky bit' on 'add/change' events 2011-08-14 19:04:16 +02:00
Kay Sievers
79449642eb do not remove static nodes on module unload 2011-08-11 20:37:49 +02:00
Kay Sievers
d7867b3183 implement path_id, usb_id, input_id as built-in command 2011-08-05 02:00:30 +02:00
Kay Sievers
869c903160 libudev: list - use binary search for list lookup 2011-08-04 22:59:58 +02:00
Kay Sievers
2dd7eed2eb udevd: debug - put timestamp in [] 2011-07-30 23:16:43 +02:00
Kay Sievers
05b74d8563 udevadm: trigger --type=failed - log deprecation warning 2011-07-30 23:01:28 +02:00
Kay Sievers
ace6bfa725 do not allow kernel properties to be set by udev rules 2011-07-18 21:19:00 +02:00
Kay Sievers
52dd9ef2ef do not delete database when renaming netif, the db name does not change anymore 2011-07-15 02:18:50 +02:00
Kay Sievers
1985c76e48 udevadm: move udevadm command descriptions into their files 2011-07-14 01:53:23 +02:00
Kay Sievers
36acdbcc77 udevd: fix (recently) broken static node permission setting
Many thanks to Tom Gundersen for identifying the issue.
2011-07-11 22:56:37 +02:00
Kay Sievers
29bbefe428 udevd: use 'uptime' in debug timestamp 2011-07-11 22:56:07 +02:00
Kay Sievers
39b3b6ea85 update sd-daemon.[ch] 2011-07-11 01:22:20 +02:00
Kay Sievers
c15d02e570 libudev: ctrl - move code to udev directory 2011-07-11 01:16:32 +02:00
Kay Sievers
2315e57070 udevadm: monitor - use uptime to match the kernel's timestamp 2011-07-11 01:03:14 +02:00
Kay Sievers
b05211fa3e libudev: enumerate - add udev_enumerate_add_match_parent() 2011-07-08 00:42:35 +02:00
Kay Sievers
705a165d4d enforce valid TAG+= names 2011-07-07 20:02:41 +02:00
Harald Hoyer
d971228752 udev/udevadm-monitor.c: fixed misplaced brace 2011-06-30 15:19:38 +02:00
Harald Hoyer
e261c5f619 udevadm-*.c: return != 0, if unknown option given 2011-06-30 15:17:09 +02:00
Kay Sievers
c112873b5b rules: static_node - use 0660 if group is given to get the cigar
>> On Tue, May 24, 2011 at 15:33, Tom Gundersen <teg@jklm.no> wrote:
>
> Close, but no cigar. Looks like the static nodes are not assigned
> permissions 0660 even if a gid is set (the nodes have perms 0600).
>
> Cheers,
>
> Tom
2011-05-30 02:12:02 +02:00
Kay Sievers
1eb037a7bf rules: support substitutions in TAG= 2011-05-26 14:46:12 +02:00
Kay Sievers
7df0ed83c1 rules: implement TAGS== match 2011-05-25 21:08:52 +02:00
Kay Sievers
38932b9fba rules: fix whitespace 2011-05-25 20:07:34 +02:00
Kay Sievers
2661ff2117 release 169 2011-05-18 19:05:06 +02:00
Kay Sievers
bd8e0e387d udevadm: settle: wake up more often if --seq-start= or --exit-if-exists= is used 2011-05-18 18:58:04 +02:00
Kay Sievers
cbfad6af1f Merge branch 'docs/udev.xml' of git://github.com/mfwitten/udev 2011-05-18 00:59:37 +02:00
Kay Sievers
3cf1a8e36e libudev: device - use DEVMODE from kernel as the default mode 2011-05-16 22:04:02 +02:00
Kay Sievers
4b718be86d libudev: queue - always rebuild queue file when nothing is queued anymore 2011-05-16 19:13:42 +02:00
Kay Sievers
f0fa13d7f7 udevd: remove left-over SIGALRM 2011-05-16 13:18:28 +02:00
Kay Sievers
2738ec2cf7 udevd: create queue file before daemonizing to reliably block 'settle' 2011-05-16 13:17:48 +02:00
Kay Sievers
829f6902fe udevd: improve error message in case exec() fails 2011-04-28 14:58:06 +02:00
Kay Sievers
d2f4a3464d set event timeout to 60 sec and settle timeout to 120 2011-04-28 00:04:17 +02:00
Kay Sievers
8958da13c7 libudev: list - use bit flags for 'sort' and 'unique' 2011-04-24 00:22:23 +02:00
Kay Sievers
c7c32e9c98 simplify rules file overwrite logic
The udev list already provides all we need, if we use the basename
as the key, and request sorting and uniqueness.
2011-04-23 23:33:11 +02:00
Kay Sievers
a95f038521 udevd, udev-event: sync waitpid() error handling 2011-04-21 14:05:34 +02:00
Harald Hoyer
b466e9ab39 udevd: clarify worker exit status 2011-04-21 10:09:41 +02:00
Kay Sievers
c7be212dbd udevd: log signal number when spawned processes fail 2011-04-20 18:36:01 +02:00
Kay Sievers
a178e7fe90 udevd: rules files - accept empty or /dev/null links 2011-04-20 17:58:58 +02:00