summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] Problem parsing %s in udev rulesandrew.patterson@hp.com
> > > > That explains the spaces. What about stuff trailing %s, if %s does not > > > > contain spaces. I.e, in the above example, model is ST336753LC and the > > > > resulting device file is /dev/scsi_disks/some-proceding-stuff- > > > > ST336753LC. > > > > > > I expect the model value has trailing spaces. > > > > > > You may look with: > > > udevinfo -a -p /block/sdX > > > > Yes it does, and it seems for most SCSI devices, vendor and model will > > have trailing spaces. > > It all depends on the vendor and model :) > > > I have included a patch to udev-036 to deal with > > this issue. It trims off trailing whitespace for all sysfs attributes. > > It might be better to trim off leading whitespace as well. > > We already trim it off when matching, but we also allow matching if you > do put the spaces in there. This patch breaks that, right? Correct, I have a new patch that trims after the comparison, so it should work in both cases.
2005-04-26[PATCH] fix up error in building extras and libsysfsgreg@kroah.com
2005-04-26[PATCH] 037 releaseudev/v037greg@kroah.com
2005-04-26[PATCH] fix compilation warning in tdb log message.greg@kroah.com
2005-04-26[PATCH] Fix build error with klibc due to recent changes.greg@kroah.com
2005-04-26[PATCH] mergegreg@kroah.com
2005-04-26[PATCH] add wait_for_sysfs test script to the tarball to help people debug ↵greg@kroah.com
their boxes.
2005-04-26[PATCH] add ipsec to wait_for_sysfs ignore list.greg@kroah.com
2005-04-26[PATCH] fix asmlinkagembuesch@freenet.de
This patch fixes the reintroduced bug with the sig_handler(), if we link against a -mregparm=3 compiled klibc on i386. It also fixes some compiler warnings about redefined asmlinkage on some systems. Also some (broken?) compilers on distros throw out warnings if asmlinkage is before "static void". This fixes it, too.
2005-04-26[PATCH] fix incompatible pointer type warningmbuesch@freenet.de
This patch fixes two warning: assignment from incompatible pointer type asmlinkage is the reason for the warning. We can simply cast to avoid it. It also fixes this warning: warning: implicit declaration of function `umask'
2005-04-26[PATCH] prevent deadlocks on an corrupt udev databasekay.sievers@vrfy.org
Here is the patch, that should prevent all of the known deadlocks with corrupt tdb databases we discovered. Thanks to Frank Steiner <fsteiner-mail@bio.ifi.lmu.de>, who tested all this endlessly with a NFS mounted /dev. The conclusion is, that udev will not work on filesystems without proper record locking, but we should prevent the endless loops anyway. This patch implements: o recovery from a corrupted udev database. udev will continue without database support now, instead of doing nothing. So the node should be generated in any case, remove will obviously not work for custom names. o added iteration limits to the tdb-code at the places we discovered endless loops. In the case tdb tries to find more than 100.000 entries with the same hash, we better give up :) o prevent a {all_partitions} loop caused by corrupt db data o log all tdb errors to syslog o switch sleep() to usleep() cause we want to use alarm()
2005-04-26[PATCH] a few more Makefile tweaks for the quiet feature.greg@kroah.com
2005-04-26[PATCH] Make the build silent, thanks to a helper program from ncftpgreg@kroah.com
2005-04-26[PATCH] rename files to have '_' instead of '-' in them.greg@kroah.com
We should be consistent in our madness...
2005-04-26[PATCH] change max time to wait in wait_for_sysfs to 10 seconds to hopefully ↵greg@kroah.com
handle some slow machines.
2005-04-26[PATCH] add support for class/raw/ to wait_for_sysfsgreg@kroah.com
2005-04-26[PATCH] fix up Makefile for wait_for_sysfs udev_version.h dependancygreg@kroah.com
2005-04-26[PATCH] wait_for_sysfs_updatekay.sievers@vrfy.org
Here is an update to wait_for_sysfs to print the udev version to syslog, let hardware net interfaces wait again for the device link and revert the video4linux to wait for the device. The error here was caused by a out-of-tree media-driver, that needs the fix, not the our program. I've added a small comment for that to the log as I expect more of this to show up and the recent desktop integration work depends heavily on proper sysfs support, so the drivers should be fixed.
2005-04-26[PATCH] remove the debian specific file, as they don't want to share with ↵greg@kroah.com
the rest of the world :(
2005-04-26[PATCH] small udev patchmd@Linux.IT
You should also remove etc/dev.d/default/dbus.dev which does not exist anymore. BTW, please remove etc/init.d/udev.debian because it is broken.
2005-04-26[PATCH] 036 releaseudev/v036greg@kroah.com
2005-04-26[PATCH] add the error number to the error message in wait_for_sysfs to help ↵greg@kroah.com
out in debugging problems.
2005-04-26[PATCH] 035 releaseudev/v035greg@kroah.com
2005-04-26[PATCH] added ieee1394 support to wait_for_sysfsgreg@kroah.com
2005-04-26[PATCH] update wait_for_sysfs with a bunch more devices thanks to user reports.greg@kroah.com
2005-04-26[PATCH] 034 releaseudev/v034greg@kroah.com
2005-04-26[PATCH] add comment in wait_for_sysfs to explain the structure better.greg@kroah.com
2005-04-26[PATCH] Revert previous dev_d.c change, it's not what is causing HAL problems.greg@kroah.com
Cset exclude: greg@kroah.com|ChangeSet|20041007204001|14326
2005-04-26[PATCH] hm, somethings odd with DEVPATH, see if this fixes it...greg@kroah.com
2005-04-26[PATCH] 33_bk mark for the makefilegreg@kroah.com
2005-04-26[PATCH] wait_for_sysfs: clean up the logic for the list of devices that we ↵greg@kroah.com
do not expect device symlinks for This makes it a lot easier to test for these devices, otherwise the list would have gotten very large
2005-04-26[PATCH] get rid of annoying extra lines in the syslog for some libsysfs ↵greg@kroah.com
debug messages.
2005-04-26[PATCH] added support for i2c devices in wait_for_sysfs.cgreg@kroah.com
2005-04-26[PATCH] add support for i2c-adapter devices to wait_for_sysfs.cgreg@kroah.com
2005-04-26[PATCH] wait_for_sysfs bluetooth class updatekay.sievers@vrfy.org
Here is the file to wait for the bluetooth class, as it is not a "dev" file. udev waits for 10 seconds here too.
2005-04-26[PATCH] 033 releaseudev/v033greg@kroah.com
2005-04-26[PATCH] fix problems with dev.d and udevstartkay.sievers@vrfy.org
Here is the correction for the dev.d/ scripts too. We should pass the right argv[0] here too. A script may depend on the right value, as udev does with udev/udevstart. Here is the old version: [pid 4692] execve("/etc/dev.d/default/log.dev", ["./udev", "block"], [/* 41 vars */]) = 0 this the new one: [pid 9832] execve("/etc/dev.d/default/log.dev", ["/etc/dev.d/default/log.dev", "block"], [/* 41 vars */]) = 0
2005-04-26[PATCH] add support for usb interfaces to wait_for_sysfs to keep it quiet.greg@kroah.com
2005-04-26[PATCH] wait_for_sysfs debug cleanupkay.sievers@vrfy.org
> Sorry, I left my debug code in. Oops, just realized it now. You've applied a older version and not the latest. Here is a new patch to catch up.
2005-04-26[PATCH] enable native tdb spinlocks on i386 platforms.greg@kroah.com
also clean out some stuff in the makefile that was never getting used.
2005-04-26[PATCH] fix problems using scsi_id with udevstartkay.sievers@vrfy.org
when udevstart was running we didn't set the environment and the subsystem argument for the callouts the dev.d/ scripts. Here is a fix, that sets that with every udevstart iteration, corrects argv[0] to be the basename() only not the whole path and adds a test for invoking callouts without arguments.
2005-04-26[PATCH] delete extras/multipath-tools as per the author's requestgreg@kroah.com
This is now a standalone package.
2005-04-26[PATCH] update volume_idkay.sievers@vrfy.org
Here is an update to the latest volume_id which fixes a few bugs with FAT volumes.
2005-04-26[PATCH] PATCH udev close on execharald@redhat.com
selinux wants a clean fd set, so better close all open fds
2005-04-26[PATCH] PATCH some cleanups and security fixesharald@redhat.com
posted by Steve Grubb on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130351
2005-04-26[PATCH] PATCH some cleanups and security fixesharald@redhat.com
posted by Steve Grubb on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130351
2005-04-26[PATCH] be paranoid in dev_d.cgreg@kroah.com
2005-04-26[PATCH] add USE_SELINUX to README documentation so people have a chance to ↵greg@kroah.com
see what is going on.
2005-04-26[PATCH] update the selinux.h file to start to look sanegreg@kroah.com
and I told them to follow the proper coding style... bleah...
2005-04-26[PATCH] PATCH selinux for udevharald@redhat.com
Daniel Walsh's working selinux patch