1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
Commit Graph

1625 Commits

Author SHA1 Message Date
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
Kay Sievers
833b3c680b udevd: don't daemonize before initialization
Move socket init and rule parsing before forking, so we can start
emitting event immediately after udevd has started.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2005-11-04 05:25:15 +01:00
Kay Sievers
ce364175b2 update RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-02 05:47:18 +01:00
Kay Sievers
6d33ed7374 test: add "driver" and "bus" links to test sysfs tree
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-02 05:08:22 +01:00
Kay Sievers
8687cbfffb libsysfs: remove brute-force "bus", "driver" searching for old kernels
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-02 04:58:59 +01:00
Kay Sievers
0747dd884a use libsysfs to translate the class linke to the device path
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-02 04:05:06 +01:00
Kay Sievers
8ebe9547a8 revert the "read symlink as device patch"
It's covered by libsysfs now.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-02 04:04:19 +01:00
Ananth N Mavinakayanahalli
7a551dc355 libsysfs: translate devpath of the symlinked class devices to its real path 2005-11-02 04:02:33 +01:00
Jan Luebbe
0c25d156b0 add man pages for *_id programs
I've written manpages for the *_id binaries, which are attached to this
mail.
2005-10-31 02:10:56 +01:00
Kay Sievers
2a4ce70925 remove no longer needed waiting for "dev" file
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2005-10-29 21:13:43 +02:00
Kay Sievers
29ed5bf414 add dummy inotify syscalls on unsupported architecture
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2005-10-28 02:29:38 +02:00
Kay Sievers
c1bf1edeb7 "STRIPCMD=" for the EXTRAS
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-28 01:49:22 +02:00