]>
err.no Git - systemd/log
kay.sievers@vrfy.org [Fri, 18 Feb 2005 02:30:03 +0000 (03:30 +0100)]
[PATCH] remove the device node only if the major/minor number matches
kay.sievers@vrfy.org [Wed, 16 Feb 2005 22:20:48 +0000 (23:20 +0100)]
[PATCH] libsysfs: work around a klibc bug
kay.sievers@vrfy.org [Mon, 14 Feb 2005 05:03:06 +0000 (06:03 +0100)]
[PATCH] introduce OPTIONS=ignore_device, ignore_remove, all_partitions" key
Here we move all possible options into a own key to make it possible
to have options-only rules.
The options on the NAME key are removed from the man page and will
be removed from a future version of udev.
For ignore rules, OPTIONS="ignore" should be used.
The rule:
SUBSYSTEM="block", SYSFS{removable}="1", OPTIONS="all_partitions"
will create all partitions for a block device which is known to have
removable media (a check for cdrom drives would be needed too).
kay.sievers@vrfy.org [Mon, 14 Feb 2005 00:46:05 +0000 (01:46 +0100)]
[PATCH] namedev: execute PROGRAM only once and not possibly for every physical device
kay.sievers@vrfy.org [Fri, 11 Feb 2005 17:33:40 +0000 (18:33 +0100)]
[PATCH] namedev: move some matches out of the parent loop
kay.sievers@vrfy.org [Fri, 11 Feb 2005 04:21:03 +0000 (05:21 +0100)]
[PATCH] namedev: if SUBSYSTEM or KERNEL key doesn't match, give up immediately
We don't need to look at the parents in the device chain. There
will never be another kernel name or subsystem.
kay.sievers@vrfy.org [Fri, 11 Feb 2005 03:59:28 +0000 (04:59 +0100)]
[PATCH] udevinfo: print SUBSYSTEM and DRIVER
gregkh@suse.de [Sat, 12 Feb 2005 03:55:00 +0000 (19:55 -0800)]
[PATCH] 053 release
gregkh@suse.de [Sat, 12 Feb 2005 03:48:04 +0000 (19:48 -0800)]
[PATCH] fix gentoo fb permission issue.
gregkh@suse.de [Sat, 12 Feb 2005 02:42:03 +0000 (18:42 -0800)]
[PATCH] allow simple-build-check.sh to go faster if MAKEOPTS is set
This lets my multiprocessor boxes do the testing quicker...
gregkh@suse.de [Sat, 12 Feb 2005 02:37:58 +0000 (18:37 -0800)]
[PATCH] make the release tarballs have writable files in them.
patmans@us.ibm.com [Sat, 12 Feb 2005 02:30:01 +0000 (18:30 -0800)]
[PATCH] scsi_id changes for use with udev %N and %p
Changes to scsi_id to support the udev %N and %p substitutions:
- Update version from .7 to .8
- change TMP_DIR back to /tmp
- if DEVPATH is set assume hotplug_mode (use syslog for logging, and does
not output some warnings)
- Always output a newline after the id is printed
- Allow command line options to override settings when hotplug_mode is set
- update man page
- update generator script to use the %N and %p substitutions.
greg@kroah.com [Fri, 11 Feb 2005 02:10:36 +0000 (18:10 -0800)]
[PATCH] remove gentoo permission file as it's not valid anymore.
kay.sievers@vrfy.org [Fri, 11 Feb 2005 02:30:11 +0000 (03:30 +0100)]
[PATCH] udev_volume_id: fix typo
patmans@us.ibm.com [Fri, 11 Feb 2005 02:28:17 +0000 (03:28 +0100)]
[PATCH] fix test for temporary nodes
kay.sievers@vrfy.org [Thu, 10 Feb 2005 18:46:50 +0000 (19:46 +0100)]
[PATCH] fix special file mode mask for temporary device node
kay.sievers@vrfy.org [Thu, 10 Feb 2005 17:26:09 +0000 (18:26 +0100)]
[PATCH] udevstart: simplify "dev" file searching
Just stat() the "dev" file in the device directory instead of
opening the directory and iterating over all entries.
Make udevstart work with the settings in with udev.conf so we can
run a test program.
Add a test for udevstart.
Remove changelog stuff from code. We should never start with this
silly thing.
kay.sievers@vrfy.org [Thu, 10 Feb 2005 08:35:52 +0000 (09:35 +0100)]
[PATCH] udev_volume_id: remove temporary node creation and parent handling
udev can create the temporary node for us now. (On bootup we don't
know where a writable filesystem is mounted). Also the parent handling
is not needed anymore, cause udev is able to pass us the node name
of the parent device.
kay.sievers@vrfy.org [Thu, 10 Feb 2005 08:03:55 +0000 (09:03 +0100)]
[PATCH] add %P modifier to query the node name of the parent device
Events for partition devies may want to read the main block device
name to compose it's own name or read a disklabel from the main device.
SUBSYSTEM="block", KERNEL="*[1-9]", NAME="%P-p%n"
will append the partition number to the name of the main block device.
kay.sievers@vrfy.org [Thu, 10 Feb 2005 04:51:41 +0000 (05:51 +0100)]
[PATCH] udev_volume_id: remove __packed__ from dasd structure as it does not work
greg@kroah.com [Wed, 9 Feb 2005 06:53:37 +0000 (22:53 -0800)]
[PATCH] 052 release
greg@kroah.com [Wed, 9 Feb 2005 05:40:06 +0000 (21:40 -0800)]
[PATCH] fix example comment in ide-devfs.sh
greg@kroah.com [Wed, 9 Feb 2005 05:39:54 +0000 (21:39 -0800)]
[PATCH] Add infiniband to gentoo rules.
greg@kroah.com [Wed, 9 Feb 2005 05:32:55 +0000 (21:32 -0800)]
[PATCH] Another gentoo fix, adding dvb support.
greg@kroah.com [Wed, 9 Feb 2005 05:27:02 +0000 (21:27 -0800)]
[PATCH] Fix gentoo bug #76056 (fb device group permissions.)
greg@kroah.com [Wed, 9 Feb 2005 05:24:29 +0000 (21:24 -0800)]
[PATCH] Fix gentoo bug #81102, device nodes for the pktcdvd device.
kay.sievers@vrfy.org [Wed, 9 Feb 2005 07:43:18 +0000 (08:43 +0100)]
[PATCH] create /block/*/range count of partitons for all_partitions
kay.sievers@vrfy.org [Wed, 9 Feb 2005 03:37:32 +0000 (04:37 +0100)]
[PATCH] provide temporary device node for callouts to access the device
%N will create a temporary node for a callout a be sustituted with the
name of the node.
kay.sievers@vrfy.org [Wed, 9 Feb 2005 00:15:35 +0000 (01:15 +0100)]
[PATCH] udev_volume_id: fix dasd disklabel reading with -l option
kay.sievers@vrfy.org [Wed, 9 Feb 2005 00:02:18 +0000 (01:02 +0100)]
[PATCH] udev_volume_id: volume_id version 034
mbuesch@freenet.de [Sun, 6 Feb 2005 02:23:43 +0000 (03:23 +0100)]
[PATCH] trivial: remove _all_ trailing slashes with no_trailing_slash()
This changes no_trailing_slash() to remove all trailing slashes
and not just the last one.
mbuesch@freenet.de [Sun, 6 Feb 2005 00:39:25 +0000 (01:39 +0100)]
[PATCH] trivial: fix signedness
We are already using %u in the sscanf() format string.
The patch replaces the int for the kernel release number with
unsigned int, as we can never have negative release numbers.
md@Linux.IT [Sun, 6 Feb 2005 00:08:31 +0000 (01:08 +0100)]
[PATCH] debian: update rules files
md@Linux.IT [Sun, 6 Feb 2005 00:07:13 +0000 (01:07 +0100)]
[PATCH] raid-devfs.sh: devfs names for hardware RAID controllers
md@Linux.IT [Sun, 6 Feb 2005 00:01:29 +0000 (01:01 +0100)]
[PATCH] scsi_id: when udevstart is started, /tmp is not writeable.
md@Linux.IT [Sun, 6 Feb 2005 00:00:04 +0000 (01:00 +0100)]
[PATCH] cdsymlinks.sh: trivial fix, the variable is initialized to '', not 0
sschweizer@gmail.com [Sat, 5 Feb 2005 23:41:53 +0000 (00:41 +0100)]
[PATCH] gentoo/udev.rules: add default permissions for sound devices
mbuesch@freenet.de [Sat, 5 Feb 2005 23:13:18 +0000 (00:13 +0100)]
[PATCH] namdev: allow symlink-only rules to specify node permissions
First case without the patch:
KERNEL="hd*", GROUP="disk", MODE="0660"
KERNEL="hdc", SYMLINK="cdrecorder", MODE="0666"
brw-rw---- 1 root disk 22, 0 Feb 5 14:08 /dev/hdc
Second case without the patch:
KERNEL="hd*", GROUP="disk", MODE="0660"
KERNEL="hdc", MODE="0666"
brw-rw-rw- 1 root disk 22, 0 Feb 5 14:08 /dev/hdc
mbuesch@freenet.de [Sat, 5 Feb 2005 23:09:34 +0000 (00:09 +0100)]
[PATCH] udevd: fix valgrind warning
==4304== Syscall param sigaction(act) contains uninitialised or unaddressable byte(s)
==4304== at 0x804A37B: (within /sbin/udevd)
==4304== Address 0x52BFE7FC is on thread 1's stack
kay.sievers@vrfy.org [Sat, 5 Feb 2005 04:23:26 +0000 (05:23 +0100)]
[PATCH] udev_volume_id: rename probe_ibm into probe_dasd
kay.sievers@vrfy.org [Sat, 5 Feb 2005 03:10:48 +0000 (04:10 +0100)]
[PATCH] udev_volume_id: volume_id version 032
kay.sievers@vrfy.org [Sat, 5 Feb 2005 01:44:37 +0000 (02:44 +0100)]
[PATCH] Makefile: add some more warnings and prepare for clean gcc4 compile
kay.sievers@vrfy.org [Sat, 5 Feb 2005 01:43:16 +0000 (02:43 +0100)]
[PATCH] Makefile: cleanup conditional config option sections
kay.sievers@vrfy.org [Sat, 5 Feb 2005 01:38:56 +0000 (02:38 +0100)]
[PATCH] fix -Wsign-compare warnings
kay.sievers@vrfy.org [Sat, 5 Feb 2005 01:36:54 +0000 (02:36 +0100)]
[PATCH] chassis_id: clean compilation and fix bad function parameter passing
Adding prototypes for functions resulted in an error, cause:
table_find_disk(disk_snum, &chassis_num, &slot_num);
is called but the function is defined as:
int table_find_disk(char *serialnumber , int *host_num, int *chassis_num, int *slot_num)
which can obviously not work correctly.
Using popen() is not klibc compatible, so skip the compilation if
a klibc compile is requested.
kay.sievers@vrfy.org [Fri, 4 Feb 2005 20:57:39 +0000 (21:57 +0100)]
[PATCH] simple_build_check: make it possible to pass KERNEL_DIR
kay.sievers@vrfy.org [Fri, 4 Feb 2005 20:38:26 +0000 (21:38 +0100)]
[PATCH] selinux: cleanup udev integration
Move code into a .c-file instead of big inline functions in a header file.
Pass the device name down instead of relying that the node name is equal
to the kernel name.
greg@kroah.com [Thu, 3 Feb 2005 08:24:38 +0000 (00:24 -0800)]
[PATCH] 051 release
greg@kroah.com [Thu, 3 Feb 2005 08:22:31 +0000 (00:22 -0800)]
[PATCH] gentoo fb permission fix.
mbuesch@freenet.de [Tue, 1 Feb 2005 10:12:32 +0000 (11:12 +0100)]
[PATCH] The attached patch fixes the code path if namedev_name_device() fails.
kay.sievers@vrfy.org [Mon, 31 Jan 2005 04:28:44 +0000 (05:28 +0100)]
[PATCH] udev_volume_id: new version of volume_id
Every filesystem has its own subdirectory.
The IBM dasd label reading is included into volume_id.
cborntra@de.ibm.com [Sun, 30 Jan 2005 12:09:38 +0000 (13:09 +0100)]
[PATCH] udev_volume_id: fix -d option
The -d option in udev_allows to go from a partition to the underlying disk
for s390 dasd labels. If the device is already the disk itself, finding the
parent will fail, therefore -d on /sys/block/dasda/ for example gives no
result at all.
kay.sievers@vrfy.org [Fri, 28 Jan 2005 06:53:22 +0000 (07:53 +0100)]
[PATCH] klibc: update to version 0.198
greg@kroah.com [Thu, 20 Jan 2005 06:04:54 +0000 (22:04 -0800)]
[PATCH] remove the lfs startup script on request of the author.
The distro now has its own version, so this one is not needed.
greg@kroah.com [Thu, 13 Jan 2005 01:46:50 +0000 (17:46 -0800)]
[PATCH] clean up the aoe char device rules, and delete the block one as it's not needed.
greg@bucket.kroah.org [Wed, 12 Jan 2005 16:15:22 +0000 (08:15 -0800)]
[PATCH] fix gcc 2.96 issue in libsysfs
hare@suse.de [Thu, 20 Jan 2005 03:44:36 +0000 (04:44 +0100)]
[PATCH] rearrange link order in Makefile
The link-order in the main Makefile is not quite correct (sysfs should
be linked after udev.a) which might cause the build to fail.
kay.sievers@vrfy.org [Tue, 18 Jan 2005 08:13:01 +0000 (09:13 +0100)]
[PATCH] udev_volume_id: fix FAT label reading
kay.sievers@vrfy.org [Mon, 17 Jan 2005 08:26:07 +0000 (09:26 +0100)]
[PATCH] klibc: update to version 0.196
tklauser@access.unizh.chbk [Mon, 17 Jan 2005 02:54:26 +0000 (03:54 +0100)]
[PATCH] I tried to compile udev 050plus with the GCC 4.0 snapshot
200412119 and
kay.sievers@vrfy.org [Sun, 16 Jan 2005 23:53:08 +0000 (00:53 +0100)]
[PATCH] udevd: throttle the forking of processes
If the system reaches a defined limit of processes in running state, udevd
starts to count its own processes in running state from its session (all
forked hotplug child processes, subprocesses and callouts) and throttles
further process forking if the limit is reached.
This should help setups with hundreds of events emitted hotplug events
in parallel with hundreds of processes in "R" state. which makes the machine
unresponsible.
I placed a 100% cpu time consuming program in /etc/hotplug.d/ which runs for 5
seconds. With this patch I can load "scsi_debug add_host=100" without any major
problem. Without the patch the box is completly unresponsible for many minutes.
kay.sievers@vrfy.org [Sun, 16 Jan 2005 04:53:29 +0000 (05:53 +0100)]
[PATCH] udevd: add possible initialization of expected_seqnum
UDEVD_EXPECTED_SEQNUM=$[`cat /sys/kernel/hotplug_seqnum` + 1] ./udevd -d
will init udevd, so the next event will not wait for any timeout.
kay.sievers@vrfy.org [Sun, 16 Jan 2005 03:39:02 +0000 (04:39 +0100)]
[PATCH] udevd: it's obviously not the brightest idea to exit a device node manager if it doesn't find /dev/null
kay.sievers@vrfy.org [Sun, 16 Jan 2005 03:08:54 +0000 (04:08 +0100)]
[PATCH] udevd: separate socket handling to prepare for other event sources
kay.sievers@vrfy.org [Sun, 16 Jan 2005 03:06:22 +0000 (04:06 +0100)]
[PATCH] udevd: support -d switch to become a daemon
greg@kroah.com [Wed, 12 Jan 2005 15:38:49 +0000 (07:38 -0800)]
[PATCH] add aoe block and char device rules to the gentoo rule file.
kay.sievers@vrfy.org [Wed, 12 Jan 2005 09:44:52 +0000 (10:44 +0100)]
[PATCH] udev_volume_id: version 27
Fix FAT label reading bug for very large volumes.
Recognize FAT label at Win98 formatted volumes.
Read iso9660 joliet descriptor for unicode labels.
Support uuid/label of swap partitions.
roland@digitalvampire.org [Wed, 12 Jan 2005 09:34:02 +0000 (10:34 +0100)]
[PATCH] This fixes a silly mistake in how udevinfo prints the major and minor
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:37:50 +0000 (05:37 +0100)]
[PATCH] udevd: split up message receiving an queueing
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:37:01 +0000 (05:37 +0100)]
[PATCH] remove useless warning if udev.conf contains keys not read by udev itself
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:35:24 +0000 (05:35 +0100)]
[PATCH] improve event sequence serialization
We delay the execution of events if there is already an event running for
the same device, a parent or a child device. "add" events with a reference
to a physical device will also wait for the physical device to finish.
Here we fix the devpath comparison logic to return "busy" only if a complete
device names is matching. /block/sdaa will not longer block a /block/sda event.
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:33:49 +0000 (05:33 +0100)]
[PATCH] remove udevsend syslog noise on udevd startup
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:33:26 +0000 (05:33 +0100)]
[PATCH] limit the initial timeout of the udevd event handling
Define an inititialization phase, where we delay the events only
for a short time to eventually recollect the event sequence instead
of delaying the very first events for 10 seconds, which breaks the
firmware loader.
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:31:42 +0000 (05:31 +0100)]
[PATCH] correct detection of hotplug.d/ udevsend loop
If udevsend is called from the commandline the env may be too
big to fit in our buffer and we tag the message.
kay.sievers@vrfy.org [Wed, 22 Dec 2004 00:41:03 +0000 (01:41 +0100)]
[PATCH] correct log statement
kay.sievers@vrfy.org [Tue, 21 Dec 2004 05:10:57 +0000 (06:10 +0100)]
[PATCH] remove default_* permissions from udev.conf file
With the "permissions only rules" we can just place:
MODE="0660", OWNER="root", GROUP="root"
at the beginning of the rules file and get exactly the same behavior.
If no values are given the compiled-in defaults are used.
kay.sievers@vrfy.org [Mon, 20 Dec 2004 23:19:34 +0000 (00:19 +0100)]
[PATCH] update Fedora config files and add some more tests
kay.sievers@vrfy.org [Mon, 20 Dec 2004 22:44:57 +0000 (23:44 +0100)]
[PATCH] allow permissions only rules
On Mon, 2004-12-20 at 15:03 +0100, Marco d'Itri wrote:
> +# all block devices
> > +SUBSYSTEM="block", NAME="%k", GROUP="disk"
> > +
> NAME="%k" here and in similar rules does not add any new information,
> what about making it optional, like it is for SYMLINK-only rules?
kay.sievers@vrfy.org [Mon, 20 Dec 2004 21:24:19 +0000 (22:24 +0100)]
[PATCH] add SUBSYSTEM rule to catch all block devices and apply the disk permissions
kay.sievers@vrfy.org [Mon, 20 Dec 2004 08:53:32 +0000 (09:53 +0100)]
[PATCH] update Fedora config files
kay.sievers@vrfy.org [Mon, 20 Dec 2004 07:57:31 +0000 (08:57 +0100)]
[PATCH] handle renamed network interfaces properly if we manage hotplug.d/
If we take over the hotplug call and manage the events we don't need
to call the event fake script in dev.d/. Just set all expected values
to the new network interface name and call hotplug.d/. This way the
device renaming is completely handled inside of udev and userspace
can't get confused.
kay.sievers@vrfy.org [Mon, 20 Dec 2004 06:38:33 +0000 (07:38 +0100)]
[PATCH] allow multiline rules by backslash at the end of the line
On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote:
> > On Dec 19, Kay Sievers <kay.sievers@vrfy.org> wrote:
>
> > (Feature request: would it be possible to extend the rules files parser
> > to support continuation lines? I'd like it to consider lines starting
> > with white space as part of the previous line.)
>
> How about the usual backslash at the end of the line. Here is a simple
> patch.
kay.sievers@vrfy.org [Mon, 20 Dec 2004 02:11:22 +0000 (03:11 +0100)]
[PATCH] add OnStream tape drive rules
On Sun, 2004-12-19 at 17:36 +0000, Willem Riede wrote:
Would you mind adding OnStream tape drives?
>
> KERNEL="osst*", NAME="%k", GROUP="tape", MODE="0660"
> KERNEL="nosst*", NAME="%k", GROUP="tape", MODE="0660"
kay.sievers@vrfy.org [Mon, 20 Dec 2004 02:04:11 +0000 (03:04 +0100)]
[PATCH] simplify rules file by setting default mode to 0660
On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote:
> It may be better to use default_mode="0660", I do not think that there
> are any mode 600 devices. This would allow setting only the group for
> most of them.
kay.sievers@vrfy.org [Mon, 20 Dec 2004 00:31:56 +0000 (01:31 +0100)]
[PATCH] simplify permission application
We have only one source of permissions now, so apply the default
permissions at udev init.
kay.sievers@vrfy.org [Sun, 19 Dec 2004 01:39:52 +0000 (02:39 +0100)]
[PATCH] I broke the extras/ again. Add simple build test script now.
kay.sievers@vrfy.org [Sat, 18 Dec 2004 21:59:21 +0000 (22:59 +0100)]
[PATCH] initial merge of fedora udev.permissions into udev.rules
kay.sievers@vrfy.org [Sat, 18 Dec 2004 21:58:37 +0000 (22:58 +0100)]
[PATCH] remove permissions file mentioning from the udev man page
kay.sievers@vrfy.org [Sat, 18 Dec 2004 21:57:49 +0000 (22:57 +0100)]
[PATCH] fix some typos in gentoo's udev.rules introduced by the merge
kay.sievers@vrfy.org [Sat, 18 Dec 2004 11:22:16 +0000 (12:22 +0100)]
[PATCH] initial merge of gentoo udev.permissions into udev.rules
kay.sievers@vrfy.org [Sat, 18 Dec 2004 11:21:21 +0000 (12:21 +0100)]
[PATCH] update Fedora config files
kay.sievers@vrfy.org [Sat, 18 Dec 2004 11:20:41 +0000 (12:20 +0100)]
[PATCH] update Fedora config files
kay.sievers@vrfy.org [Sat, 18 Dec 2004 10:34:17 +0000 (11:34 +0100)]
[PATCH] complete removal of explicit udev permissions config file
tklauser@access.unizh.ch [Fri, 17 Dec 2004 23:19:35 +0000 (00:19 +0100)]
[PATCH] I made some more changes to the manpage of udev including:
Patch-From: Tobias Klauser <tklauser@access.unizh.ch>
- Move the description of the environment variables to a new section
called "ENVIRONMENT" (as stated in man(7))
- Pointer to the "official" udev homepage
- Fixes for various typos and whitespace damages
greg@kroah.com [Sat, 18 Dec 2004 14:19:12 +0000 (06:19 -0800)]
[PATCH] fix udev_volume_id build error.
bah, when will I remember to check the extras _before_ I do a release...
greg@kroah.com [Sat, 18 Dec 2004 13:52:25 +0000 (05:52 -0800)]
[PATCH] 050 release
harald@redhat.com [Fri, 17 Dec 2004 02:59:22 +0000 (03:59 +0100)]
[PATCH] selinux patch
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=142713
/sbin/udevstart segfaults on an ATIIXP chipset which is not supported
well by the kernel yet. There, /proc/ide/hda/media can not be read
(EIO error) and udevstart seems to give a null-pointer to an SELinux
function checking the media-type.
kay.sievers@vrfy.org [Thu, 16 Dec 2004 15:05:01 +0000 (16:05 +0100)]
[PATCH] update libsysfs to CVS version and fix segfaulting attribute reading
kay.sievers@vrfy.org [Wed, 15 Dec 2004 10:27:10 +0000 (11:27 +0100)]
[PATCH] klibc supports LOG_PID now, so remove our own implementation
Greg KH [Wed, 27 Apr 2005 06:15:56 +0000 (23:15 -0700)]
bleah, more merge fixes...