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

1119 Commits

Author SHA1 Message Date
greg@kroah.com
ce5c75b8e1 [PATCH] fix udev_volume_id build error.
bah, when will I remember to check the extras _before_ I do a release...
2005-04-26 23:17:47 -07:00
greg@kroah.com
35413b2b88 [PATCH] 050 release 2005-04-26 23:17:47 -07:00
harald@redhat.com
b817644b5b [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.
2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org
83c35223ed [PATCH] update libsysfs to CVS version and fix segfaulting attribute reading 2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org
82ca88904d [PATCH] klibc supports LOG_PID now, so remove our own implementation 2005-04-26 23:17:47 -07:00
Greg KH
18ebc43050 bleah, more merge fixes... 2005-04-26 23:15:56 -07:00
kay.sievers@vrfy.org
0d9057a1ce [PATCH] avoid building klibc test programs and pass SUBDIRS= to klibc clean 2005-04-26 23:13:48 -07:00
greg@kroah.com
e3686a8858 [PATCH] 049 release 2005-04-26 23:13:48 -07:00
greg@kroah.com
c39f31e51d [PATCH] fix 'make clean' error in klibc 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org
027263f005 [PATCH] update klibc to 0.194 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org
bc0410fdb6 [PATCH] export DEVNAME regardless of the state of udev_dev_d 2005-04-26 23:13:48 -07:00
azarah@nosferatu.za.org
9af175553d [PATCH] remove leftover from udevinfo's -d option 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org
4be25ce1d0 [PATCH] add class specific files for class/spi_transport and class/spi_host 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org
98446db553 [PATCH] udevd-test.pl: remove wrong date calculation
A hour wrap during the test run does not work :) Just remove
all the useless date conversions as we are only interested in the
seconds it takes to process.

[root@pim udevd-test]# ./udevd-test.pl 9
   ...
   device: /class/tty/console, action: remove 
   forking udev time:     Sat Dec 11 18:59:57 2004
   the delay time is:     3 s 

   device: /class/tty/ptmx, action: remove 
   forking udev time:     Sat Dec 11 19:00:07 2004
   the delay time is:     4013 s 

   the delay time is: 4013 
   udevd doesn't act properly.
2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org
7e0bd58475 [PATCH] check earlier if we should run as udevstart 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org
8544c9ad4f [PATCH] remove double initialization 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org
d7190b0513 [PATCH] include missing header to udevtest.c 2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org
51737eb8b8 [PATCH] add -V option to udev to print the version number
On Sat, 2004-12-11 at 18:44 +0200, Martin Schlemmer [c] wrote:
> 
> Any suggestions to determining the version of the installed udev?
> This is now during startup, to see if we can make use of using
> udevsend as hotplug agent.  If the system was up, udevinfo could
> be used, but that is in /usr/bin that might be on a seperate /usr.
> I know we might move udevinfo to /bin, but that might be an issue
> for some, and adding a -V switch to /sbin/udev might be a better
> choice.
2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org
5ce120d366 [PATCH] prevent udev node creatinon for "class" registration
I've found a /dev/video4linux node and just realized, that libsysfs
searches all subdirs for an attribute name.
So it found /class/video4linux/video0/dev for the videodev class
creation event /class/video4linux and created a node.

Just ignore the SUBSYSTEM="class" events now.
2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org
79721e0a77 [PATCH] udevd: serialization of the event sequence of a chain of devices
Currently udevd delays only events for the same DEVPATH.

Example of an "add" event sequence:
  /block/sda
  /block/sda/sda1

With this change, we make sure, that the udev process handling
/block/sda has finished its work (waited for all attributes,
created the node) before we fork the udev event for /block/sda/sda1.
This way the event for sda1 can be sure, that the node for the
main device is already created (may be useful for disk labels).

It will not affect any parallel device handling, only the sequence
of the devices directory chain is serialized. The 10.000 disks
plugged in will still run as parallel events. :)

The main motivation to do this is the program execution of the
dev.d/ and hotplug.d/ directory. If we don't wait for the parent
event to exit, we can't be sure that the executed scripts are
run in the right order.

On Thu, Dec 09, 2004 at 09:18:28AM +0100, Kay Sievers wrote:
> On Wed, 2004-12-08 at 19:07 -0800, David Brownell wrote:
> > Could that argument apply to the underlying hardware, too?

> We now make sure that the sequence of events for a device
> is serialized for every device chain and the class/block
> devices which have a "device" link to a physical device are
> handled after the physical device is fully populated and
> notified to userspace. It will only work this way on kernels
> later than 2.6.10-rc1 cause it depends on the PHYSDEVPATH
> value in the hotplug environment.
2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org
0dfbe9451b [PATCH] add a class/fc_host file to the list of what to wait for 2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org
c2fe814e30 [PATCH] udev_volume_id: links sysfs.a instead of all objects
cuts down the size from:
  dynamically linked: 48.030 -> 45.187
  statically linked:  149.177 ->  142.362
2005-04-26 23:13:47 -07:00
greg@kroah.com
7d92b28f39 [PATCH] 048 release 2005-04-26 23:13:47 -07:00
greg@kroah.com
c93053663f [PATCH] fix udev_volume_id so it will now build properly. 2005-04-26 23:13:47 -07:00
greg@kroah.com
09f2756071 [PATCH] fix scsi_id build errors due to changes in the main udev makefile
also fixed up the QUIET issue when it was disabled for the extras programs
2005-04-26 23:13:47 -07:00
greg@kroah.com
6fbecf3547 [PATCH] 047 release 2005-04-26 23:13:47 -07:00
greg@kroah.com
06ed11be3e [PATCH] add more debian rules files. 2005-04-26 23:10:31 -07:00
greg@kroah.com
f01a9ca1a2 [PATCH] move distro specific config files into their own directories 2005-04-26 23:10:24 -07:00
Greg KH
5e7d9f4060 more merge fixups 2005-04-26 23:10:15 -07:00
greg@kroah.com
e0a17b749f [PATCH] update debian rules files. 2005-04-26 23:06:10 -07:00
greg@kroah.com
55b0508969 [PATCH] added asterix rules to the gentoo file. 2005-04-26 23:06:10 -07:00
greg@kroah.com
de5d2ee0a7 [PATCH] fix gentoo scsi cdrom rule
http://bugs.gentoo.org/show_bug.cgi?id=73208
2005-04-26 23:06:10 -07:00
greg@kroah.com
3efc93cc40 [PATCH] Fix the multithreaded build again... 2005-04-26 23:06:10 -07:00
greg@kroah.com
d18c91df7f [PATCH] use udevstart for udev.init.* files.
Thanks to Kay for pointing it out.
2005-04-26 23:06:10 -07:00
greg@kroah.com
69bef84191 [PATCH] delete a bunch of files no longer needed.
Thanks to Kay for pointing it out.
2005-04-26 23:06:10 -07:00
klauser@access.unizh.ch
5bc597feca [PATCH] Various typos and other litte errors in udev.8.in
Thanks-To: Tobias Klauser <tklauser@access.unizh.ch>

While crawling through the udev manpage I noticed some typos and other
grammatical errors. English is not my native language, so I'm not sure
if I fixed everything right. I would be glad if any English-speaking
person could check this patch before applying.
2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
e4b5f339c7 [PATCH] update Fedora dev.d/ example and remove unused conf.d/ directory 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
c64081980e [PATCH] don't install distribution specific init script on "make install"
Leave that part up to the one who itegrates udev into a system as
there is much more to care of than to call a init stript for a
dynamic dev.
2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
0ba5bb106b [PATCH] restore OWNER/GROUP assignment in rule coming from RESULT 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
e608ba5d45 [PATCH] make gcov compile scripts working with recent gcc 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
8e2bf855bd [PATCH] fix udev-test/udev-test.pl to work with again 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
e1b7e62a26 [PATCH] add net/atml and class/ppdev to the wait_for_sysfs exception list 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
f2503c9792 [PATCH] add net/nlv* devices to the exception list 2005-04-26 23:05:03 -07:00
kay.sievers@vrfy.org
d2fe701e9c [PATCH] add "pcmcia" and "fc_transport" to the wait_for_sysfs lists 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org
3fd7a9bfc0 [PATCH] remove unused timestamp field 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org
5f72c470ad [PATCH] simplify permission handling
Initialize the defaults in udev_config.c instead of namedev.c.
Replace macro by expanded code. Switch to mode_t instead
of string value. Add and clarify some comments.
2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org
927bda3792 [PATCH] handle /etc/hotplug.d/ only if the event comes from udevd 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org
2af003feb2 [PATCH] trivial cleanups and change some comments 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org
45a7b668ec [PATCH] remove unused variables
Remove udev.bus, cause it's currently unused and newer kernels will pass
it in the hotplug environment as PHYSDEVBUS.

Remove udev.action, cause it's unused.

Rename udev_set_values() to udev_init_device().
2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org
4497fcbf71 [PATCH] udevsend/udevd handle events without a subsystem
Accept event without a subsystem and pass it through udevd.
Pass empty environment while starting udevd.
2005-04-26 23:00:29 -07:00