1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00
Commit Graph

1636 Commits

Author SHA1 Message Date
Kay Sievers
e0dc4f00ba move some helpers from extras to /lib/udev
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-22 17:31:38 +01:00
Scott James Remnant
c699bc48e1 Makefile: fail, if submake fails 2005-11-22 16:33:25 +01:00
Scott James Remnant
1b75f1096e clean-up empty queue directories
This allows scripts to do:
  while test -d /dev/.udev/queue; do sleep 0.1; done

And don't create a failed symlink if there is another event
for the same devpath in the queue.
2005-11-22 15:49:49 +01:00
Scott James Remnant
0da0efb2b6 move delete_path() to utils 2005-11-22 15:44:02 +01:00
Kay Sievers
cfd0fc6605 libvolume_id: fix weird fat volume recognition
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-21 18:28:56 +01:00
Kay Sievers
8813e55c74 udevd: add a missing return
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-17 18:53:53 +01:00
Kay Sievers
4389ec08fb don't start udevd from udevsend
Doesn't make any sense these days to let the kernel start
the daemon.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-17 18:50:47 +01:00
Kay Sievers
dfc9761d88 update README
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-17 18:05:29 +01:00
Kay Sievers
82de5983ab udevd: track killed event processes as failed
Thanks to Marco for catching this.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-17 16:34:37 +01:00
Kay Sievers
c249f66a70 update README and RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 05:22:31 +01:00
Kay Sievers
d7363ee14c Makefile: remove exec_prefix and srcdir
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 04:35:37 +01:00
Kay Sievers
fc55cf68ca remove "udev_db" option from config file
All udev state is kept in /$udev_root/.udev/ now. No option to
configure that anymore, it will always be there.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 04:14:15 +01:00
Kay Sievers
7a77025092 udevd: export event queue and event state
All pending and running events can be found as symlinks to the actual
device in /dev/.udev/queue/ now. This way we can lookup if specific events
are still in the queue, before doing actions which require events to have
finished.

All failed event processes can be found in /dev/.udev/failed/. This makes
it possible to retry a failed event process at a later time in the boot
process.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 04:12:53 +01:00
Kay Sievers
f4fc013652 udevd: track exit status of event process
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 02:06:46 +01:00
Kay Sievers
e825b59b07 udevd: ignore all messages without DEVPATH
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 00:13:28 +01:00
Kay Sievers
88be7e8887 volume_id: use glibc's byteswap
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12 14:28:22 +01:00
Kay Sievers
62821d0de1 add linux/types.h back, old glibc-kernel-headers want it
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12 05:09:34 +01:00
Kay Sievers
c86be870ce remove all built-in wait_for_sysfs logic
Most of the issues are fixed with the kernel we depend on, for the
remaing ones see the RELEASE-NOTES for a special rule to add.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12 04:17:48 +01:00
Kay Sievers
e24b218ad7 remove misleading install instructions
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12 04:11:48 +01:00
Kay Sievers
009364eef9 volume_id: include stddef.h header
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12 04:11:08 +01:00
Kay Sievers
08f403cc37 fix typo in eventrecorder
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10 04:35:35 +01:00
Kay Sievers
ef0cd1ac93 075 release 2005-11-10 02:20:25 +01:00
Kay Sievers
a8d141a3c1 replace udeveventrecorder by a shell script
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10 02:06:43 +01:00
Kay Sievers
53899a171e fix tests and remove no longer useful stuff
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10 01:50:06 +01:00
Kay Sievers
f5f8f316aa remove completely useless start script
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10 01:11:03 +01:00
Kay Sievers
efbd13e838 update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10 01:07:51 +01:00
Greg Kroah-Hartman
f054627f50 Merge branch 'master' of gregkh@master.kernel.org:/pub/scm/linux/hotplug/udev 2005-11-09 09:53:53 -08:00
Greg Kroah-Hartman
54eb6a122f Make run_directory.c stat the place it is going to try to run.
This should remove a lot of error messages that people are seeing.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-11-09 09:53:32 -08:00
Kay Sievers
e5bdb75a10 update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09 15:47:47 +01:00
Kay Sievers
fd15e02dbb remove outdated HOWTO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09 15:46:25 +01:00
Kay Sievers
a8349b33e5 remove our own copy of klibc
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09 15:42:07 +01:00
Kay Sievers
accff72685 volume_id: provide libvolume_id.a file
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09 15:08:45 +01:00
Kay Sievers
09c2bab517 forgot the ChangeLog for 074 2005-11-08 03:07:04 +01:00
Kay Sievers
bc48bbd9cd 074 release 2005-11-07 18:52:26 +01:00
Marco d'Itri
df4e89bfa6 move some logging from dbg() to info() 2005-11-07 18:52:03 +01:00
Marco d'Itri
ff3e4bed21 add strerror() to error logs 2005-11-07 18:44:18 +01:00
Kay Sievers
b6d474506f update .gitignore
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07 17:16:33 +01:00
Kay Sievers
e07a3d79ba remove udevinitsend
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07 17:14:38 +01:00
Kay Sievers
271c2d7d26 let NAME="" supress node creation, but do RUN keys
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07 16:00:41 +01:00
Kay Sievers
fc465079ca never queue events with TIMEOUT set
With removing the event reorder queue, we can fix the TIMEOUT events
like firmware loading proper, and never delay any of these events.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07 14:10:09 +01:00
Kay Sievers
8f528042ca 073 release 2005-11-07 02:44:34 +01:00
Kay Sievers
9092f7edcf add .gitignore
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07 02:40:09 +01:00
Kay Sievers
38ff77b80b print useconds in udevmonitor
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07 02:23:06 +01:00
Kay Sievers
0b3dfb3d72 udevd: depend on netlink and remove all sequence reorder logic
Netlink will never get out-of-order and we just depend on it from
now on. Udevsend messages will have no effect if they contain a
sequence number (SEQNUM).

Thanks to Bastian Blank <waldi@debian.org>, for the debugging session
which identified a bug where the timeouts are not working if
inotify was not available. All the timeout handling is removed
now and this issue should be solved.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07 02:22:44 +01:00
Kay Sievers
1ad45a47ca 072 release 2005-11-05 22:05:35 +01:00
Kay Sievers
74adec7d97 fix typo in umask()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-05 22:02:21 +01:00
Kay Sievers
31819a1e32 export DEVNAME on "remove" only if we really got a node to remove
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-05 20:32:20 +01:00
Kay Sievers
287814b23c remove precompiled rules option
It was a workaround for speed up udev "coldplug", where ~800 events
happened a second time during bootup. No need for it with the rules
aleady parsed in the daemon.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-05 20:00:31 +01:00
Kay Sievers
3904a75817 udevd: disable OOM
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-05 19:41:00 +01:00
Kay Sievers
57d782bf1e log to console if syslog is not available
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2005-11-05 16:22:14 +01:00