1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
Commit Graph

1331 Commits

Author SHA1 Message Date
Greg KH
972d318a31 Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay 2005-06-21 16:36:29 -07:00
Kay Sievers
d27d3bb052 fix udevstart and let all events trvel trough udev
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-22 01:31:24 +02:00
Kay Sievers
bf5d296473 prepare for module loading rules and add MODALIAS key
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-20 00:29:38 +02:00
Kay Sievers
57663b364b remove device node, when type block/char has changed
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-18 10:57:10 +02:00
Stefan Schweizer
ae8d5e161f [PATCH] Dialout group fix for capi devices in the gentoo rules file
currently it is not possible to use the capi devices for users even
when the user is in the dialout group. Please apply the attached patch
and fix the issue.

There is also a gentoo bug about this:
http://bugs.gentoo.org/show_bug.cgi?id=92445

diff -ur udev-056.orig/etc/udev/gentoo/udev.rules udev-056/etc/udev/gentoo/udev.rules
2005-06-16 16:23:34 -07:00
Kay Sievers
e33d1515e2 Makefile: remove dev.d/ hotplug.d/ from install target
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 03:26:16 +02:00
Kay Sievers
7628ff6e14 udevcontrol: add max_childs command
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 03:22:27 +02:00
Kay Sievers
8ab44e3fd0 udevd: control log-priority of the running daemon with udevcontrol
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 01:58:47 +02:00
Kay Sievers
3632a36858 udeveventrecorder: add small program that writes an event to disk
Used for debugging and event replay from initramfs.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-15 03:07:14 +02:00
Kay Sievers
e5b7f7b834 klibc: add missing files
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-14 20:27:08 +02:00
Kay Sievers
510de9c9e4 udevinitsend: handle replay messages correctly
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-14 17:02:55 +02:00
Hannes Reinecke
d27d8d6a8d udev: fix netdev RUN handling
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-14 16:12:31 +02:00
Kay Sievers
0fa98832b5 udev man page: add operators
Patch from: Hannes Reinecke <hare@suse.de>

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-14 13:28:24 +02:00
Hannes Reinecke
60d7b20100 udevcontrol: fix exit code
Kay is lazy! :)

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-13 22:38:42 +02:00
Kay Sievers
561d4c5a3a udevd: allow starting of udevd with stopped exec-queue
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-08 11:57:53 +02:00
Greg KH
e2bd03ff63 Fix udevinfo for empty sysfs directories
udevinfo would die if it ran into a sysfs directory with no attributes.
This is valid for a lot of scsi devices, so now we just continue on
up the chain.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-06 13:46:19 -07:00
Kay Sievers
9607c4222c klibc: version 1.0.14
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 17:11:09 +02:00
Kay Sievers
c07669bd66 udev: handle all events - not only class and block devices
Handle all events with rules. If udev is expected to handle hotplug.d/
the exernal helper must be called.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 15:55:29 +02:00
Kay Sievers
c2401132bf volume_id: use udev-provided log-level
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 05:17:21 +02:00
Kay Sievers
995aec8759 udev: clear lists if a new value is assigned
Former values are cleared if SYMLINK=<value> is used. To add a value
SYMLINK+=<value> is now needed.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 05:13:33 +02:00
Kay Sievers
6a522681e1 udev: move dev.d/ handling to external helper
Modern rules are expected to call notification and postprocessing with    
the RUN key. For compatibility the current behavior can be emulated
with an external helper.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 05:11:29 +02:00
Kay Sievers
c974742bf4 udev: allow final assignments :=
The use of KEY:=<value> will make the key unchangeable by later rules.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:57:03 +02:00
Kay Sievers
a15f42c46a udevd: improve timeout handling
Allow to override some parameters by environment keys.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:53:17 +02:00
Kay Sievers
1682c8c4a3 Makefile: fix DESTDIR
Patch from: Vassilis Virvilis <vasvir@iit.demokritos.gr>

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:48:09 +02:00
Kay Sievers
0590abd720 udevd: add initsend
Transfer stored events from initramfs to the running udevd to replay
events after userspace is ready.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:44:07 +02:00
Kay Sievers
3b47c7394d udevd: add udevcontrol
Controls the behavior of the running daemon. Currently only stopping and starting
of the execution queue is supported.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:41:09 +02:00
Kay Sievers
88f4b6485e udevd: listen for netlink events
After the first valid netlink-event all event with a serial number
received on the udevsend socket will be ignored.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:38:10 +02:00
Greg KH
5e65ab9a19 Fix makefile to allow 'make release' to work with git 2005-05-20 13:22:05 -07:00
Greg KH
db60d377b0 058 release 2005-05-20 13:18:28 -07:00
Darren Salt
d514329ee2 [PATCH] update cdsymlinks to latest version
diff -ur udev-057.orig/extras/cdsymlinks.c udev-057/extras/cdsymlinks.c
2005-05-20 12:59:17 -07:00
Greg KH
539876083d add Red Hat/Fedora html documenation
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:37:22 -07:00
Greg KH
8d9e468f12 Update Red Hat default udev rules.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:34:45 -07:00
Greg KH
13ca17798c remove detach_state files from the sysfs test tree.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:33:12 -07:00
Greg KH
b479b4887f Fix libsysfs issue with relying on the detach_state file to be
present in order to traverse the tree properly.

Based on a patch from Daniel Stekloff <dsteklof@us.ibm.com>

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:32:28 -07:00
60f4473352 added translated (jp) version of writing udev rules file.
From Masanao Igarashi <masayuko@alpha.ocn.ne.jp>
2005-05-16 12:26:41 -07:00
Greg KH
1e50c2dee7 Update permissions on test scripts so they will run properly now.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-10 10:22:56 -07:00
Greg KH
49cedafaf8 hopefully fix up the symlinks in the test directory
Thanks to Kay for pointing this out.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-10 10:11:15 -07:00
Greg KH
17f2b1a7e0 Removed klibc/klibc.spec as it is autogenerated 2005-05-10 10:09:29 -07:00
Daniel Drake
0ca6adfed9 [PATCH] Writing udev rules docs update
Here's a long overdue update to the udev rules docs, based on lots of user
feedback from the last few months.

Mostly updates to keep up with the new udev features, some clarifications and
wording improvements. I added a section on rules for palm pilots due to the
excessive amount of mail I get about them. I removed the nvidia stuff because
it's out of date. Added another section about debugging using logs and
udevtest. Removed the thanks list because I haven't been updating it and there
are too many people to name now, sorry..!
2005-05-09 16:14:14 -07:00
Greg KH
27a71e49c2 Added symlinks thanks to Kay's script and git hacking.
Now the tests should work again...
2005-05-05 21:47:57 -07:00
kay.sievers@vrfy.org
024780c2ed [PATCH] selinux: fix handling during creation of symlinks
Patch from: Dan Walsh <dwalsh@redhat.com>
2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
11a598f7ef [PATCH] Fedora udev.rules update 2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
197178360f [PATCH] libsysfs: version 2.0 2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
d4b6114300 [PATCH] klibc: version 1.0.7 2005-04-26 23:55:01 -07:00
gregkh@suse.de
9530f1fe19 [PATCH] 057 relelease 2005-04-26 23:55:01 -07:00
tklauser@access.unizh.ch
15139b8a62 [PATCH] fix stupid all_partitions bug
> On Mon, 2005-04-11 at 14:55 +0200, Norbert Preining wrote:
> > On Mon, 11 Apr 2005, Kay Sievers wrote:
> > > > brw-rw----  1 root root 8, 0 2005-04-10 14:58 /dev/sdcard
> > > > brw-rw----  1 root root 8, 1 2005-04-10 14:58 /dev/sdcard1
> > > > brw-rw----  1 root root 8, 1 2005-04-10 14:58 /dev/sdcard2
> > > > brw-rw----  1 root root 8, 1 2005-04-10 14:58 /dev/sdcard3
> > > 
> > > This looks broken.
> > 
> > Good to hear.

Yeah, I guess it's broken. In create_node() in udev_add.c there is
always added 1 to the minor number, thus the error. The attached patch
should fix this.
2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
05bd6efb41 [PATCH] add test for make -j4 to build-check 2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
d3743cfb3b [PATCH] klibc: version 1.0.6 2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
7ab1623383 [PATCH] update Debian rules 2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
1bbff4f035 [PATCH] apply default permissions only for devices that will need it 2005-04-26 23:55:01 -07:00