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

1681 Commits

Author SHA1 Message Date
Kay Sievers
1aa1e24848 replace libsysfs
We never used any of the libsysfs convenience features. Here we replace
it completely with 300 lines of code, which are much simpler and a bit
faster cause udev(d) does not open any syfs file for a simple event which
does not need any parent device information.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09 21:18:00 +01:00
Kay Sievers
47fbf3c582 path_id: fix invalid character class
Thanks to Marco for the _right_ fix.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09 21:17:24 +01:00
coly
309d6fd302 fix man page typos 2006-01-09 20:58:20 +01:00
Kay Sievers
33d062d746 update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29 04:25:49 +01:00
Kay Sievers
22f29307ff update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29 04:24:15 +01:00
Kay Sievers
fabd8709fb fix typo in man page
Thanks to Frans Pop for the "patch".
2005-12-29 04:02:24 +01:00
Kay Sievers
3e0f8812f8 update RELEASE-NOTES + TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29 03:51:24 +01:00
Brent Cook
a5e551b996 fix dependency for make -j2 2005-12-29 03:42:38 +01:00
Marco d'Itri
68cfe3b5c8 udev_selinux.c: include udev.h 2005-12-26 17:21:25 +01:00
Kay Sievers
e2e8e5ce96 079 release 2005-12-23 00:51:30 +01:00
Kay Sievers
c082b99acb remove %e from man page
Simple %e enumerations never worked reliably outside of udevstart and
udevstart is no longer recommended to use.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-23 00:49:02 +01:00
Kay Sievers
d69b2203c3 update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-23 00:13:34 +01:00
Kay Sievers
892532a939 scsi_id: read page 0x80 with libata drives
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-23 00:06:54 +01:00
Kay Sievers
1698d39857 use udev_root instead of "/dev"in selinux matchpathcon_init_prefix()
Taken from Red Hat CVS:
  udev-075-selinux.patch
2005-12-22 17:29:20 +01:00
Kay Sievers
caa4fd85ae don't log error if database does not exist
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-20 11:23:08 +01:00
Kay Sievers
ba65db20cf 078 release 2005-12-17 16:40:29 +01:00
Kay Sievers
fb6e4c2824 add DEVLINKS to the event environment
Multiple symlinks are separated by a space character.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-17 16:20:51 +01:00
Kay Sievers
d2e7c6bf67 clearenv() is now part of klibc
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-17 00:27:19 +01:00
Kay Sievers
c602535043 remove default settings in udev.conf
Changing the default values in udev.conf will render allmost
all current systems unusable. So just remove the settings that
can't be changed anyway.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-16 21:16:32 +01:00
Kay Sievers
632b682b2a remove unused variables
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-16 21:00:14 +01:00
Kay Sievers
6317c213d0 update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-15 16:05:37 +01:00
Kay Sievers
89a8f4e75e fix segfaulting create_floppy_devices
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-15 15:56:50 +01:00
Kurt Garloff
cbba4a5446 support pre-SPC3 page 83 format 2005-12-15 13:01:01 +01:00
Kay Sievers
c756114f8e allow C99 statements
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-15 12:30:25 +01:00
Hannes Reinecke
d313632b04 fold multiple consecutive whitespace chars into single '_' 2005-12-15 12:22:42 +01:00
Kay Sievers
0105b9330c Merge master.kernel.org:/pub/scm/linux/hotplug/udev 2005-12-07 23:25:51 +01:00
Greg Kroah-Hartman
f3aef1a78e add parisc support to path_id
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379 path_id
doesn't work too well for parisc boxes.  This patch from Jeroen Roovers
<jer@gentoo.org> fixes that.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-12-07 14:00:05 -08:00
Greg Kroah-Hartman
ca93c2c6c4 Update Gentoo udev main rule file. 2005-12-07 13:59:32 -08:00
Kay Sievers
d992629180 update README
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-07 20:40:38 +01:00
Harald Hoyer
65e63a710e optimize SELinux path match 2005-12-06 19:00:40 +01:00
Kay Sievers
731a7d6d75 077 release 2005-12-04 03:01:48 +01:00
Kay Sievers
4d1f4aa957 update Red Hat rules 2005-12-04 02:52:57 +01:00
Kay Sievers
ed0e3cbd6d add target to to generate ChangeLog section
I can't remember that magic sequence...

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-04 02:31:38 +01:00
Kay Sievers
a2f87fddbf update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-04 01:48:53 +01:00
Kay Sievers
aab4c0eebe allow programs in /lib/udev called without the path
RUN="firmware.sh" should work like RUN="/lib/udev/firmware.sh"

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-03 18:55:51 +01:00
Marco d'Itri
6acd81c898 update Debian rules 2005-11-25 19:35:26 +01:00
Kay Sievers
de34dc2b06 update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-25 19:30:33 +01:00
Kay Sievers
7403f98b53 update RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-25 19:13:28 +01:00
Kay Sievers
997b164d56 move SEQNUM event skipping to udevsend
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-25 19:03:16 +01:00
Marco d'Itri
13141b9a6a let udevsend ignore events with SEQNUM set
Using syslog from udevsend for error logging when the daemon is not
running, causes vc events and an udev event loop.
2005-11-25 19:02:25 +01:00
Marco d'Itri
2796c47b5c allow to overwrite the configured udev_root by exporting UDEV_ROOT 2005-11-25 18:56:06 +01:00
Kay Sievers
a8a614a701 remove outdated and misleading stuff
Packagers who still need this, should carry it in their own
package. It just causes too much trouble to users to have it
in the tree and expect that it's needed or the way to do it.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-25 18:50:42 +01:00
Kay Sievers
8d1425d547 don't return an error, if "ignore_device" is used
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-24 20:06:51 +01:00
Kay Sievers
30473427e8 merge two consecutive static strlcat's
Thanks for Marco, who noticed it.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-24 20:06:22 +01:00
Kay Sievers
4a924f0a58 076 release 2005-11-22 17:34:55 +01:00
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