Commit Graph
46 Commits
Author SHA1 Message Date
Marco d'Itri e8e9cd5d73 rules: Debian update 2008-07-31 10:29:39 +02:00
Marco d'Itri 655a8acf92 ignore rule with GOTO to a non-existent label 2008-07-18 16:22:26 +02:00
Marco d'Itri 41dd741442 rules: Debian update 2008-07-15 11:56:42 +02:00
Marco d'Itri ad1be3e7ad rules: Debian update 2008-07-11 10:27:55 +02:00
Marco d'Itri 5dabec2a74 udevadm: settle - add verbose output when running into timeout 2008-07-11 00:52:22 +02:00
Marco d'Itri 52b375bc3b scsi_id: man page fix
minus signs need to be escaped and the program is not in the $PATH anymore
2008-07-10 00:17:24 +02:00
Marco d'Itri ca1ac34daa man: add link_priority default value 2008-07-10 00:11:05 +02:00
Marco d'Itri 03effd3bc9 rules_generator: net rules - do not print error if file is missing and ignore commented rules
Fix an error message displayed by write_net_rules when the rules file
does not exist yet. (See Debian bugs #442796 and #475699.)

Ignore commented rules, at least for the easy case.
For clarity, use extended instead of standard regular expressions.
2008-07-07 14:32:33 +02:00
Marco d'Itri 7134ab1b33 rules: Debian update 2007-08-07 10:41:42 +02:00
Marco d'Itri 0837c28e9b rules_generator: fix write_cd_rules when similar names exist in the root directory
The argument to find_all_rules must be quoted or it will be subject to
shell expansion, which will happen if in the root directory there are
mount points with the same base name.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407738 for details.
2007-08-07 10:39:07 +02:00
Marco d'Itri 14e1e49484 rules_generator: remove policy from write_cd_rules
The decision about when to create by-id or by-path persistent rules should
be made in the generator rules file where it's obvious and easy to modify
locally, not in the script.
2007-08-07 10:37:58 +02:00
Marco d'Itri 89d3ee2b3a update Debian rules 2007-03-21 20:05:08 +01:00
Marco d'Itri 5284454d5f scsi_id: remove trailing garbage from ID_SERIAL_SHORT 2006-11-27 17:13:19 +01:00
Marco d'Itri 64e6d9dd70 write_cd_rules: identity-based persistence
Bryan Kadzban wrote:
> Marco d'Itri wrote:
> > Bryan Kadzban wrote:
> >
> > > This is a sort of follow-up of my path-based persistence patch for
> > > net devices; it's the opposite type of addition for CD symlinks.
> >
> > Looks good. I am attaching a slightly reformatted version, I think it
> > should be applied.
>
> That's probably a lot more clear than my version anyway: what you posted
> looks like it does basically the same thing, just with some changes in
> the order and sense of checks.
2006-11-27 10:34:43 +01:00
Marco d'Itri fbcbf70bb2 add persistent rules generator for net devices and optical drives 2006-09-05 15:20:28 +02:00
Marco d'Itri b83b299141 run_program: close pipe fd's which are connected to child process
When udev_log="debug", the children of udev inherit the file
descriptors of the pipes used to capture output. If they are not
properly closed then udev will not exit until all programs started
in the background by the children are terminated or have closed the
fds themselves, and this may cause deadlocks with udevsettle.
2006-08-27 02:53:16 +02:00
Marco d'Itri a1e6bd93d3 update Debian rules 2006-08-27 02:28:31 +02:00
Marco d'Itri 49e7f5a05f update Debian rules 2006-08-23 01:20:56 +02:00
Marco d'Itri 2f64aa4056 fix rc when using udev --daemon 2006-08-22 23:20:15 +02:00
Marco d'Itri 3770f6093f fix 'unknow user' error from getpwnam/getgrnam 2006-08-20 18:21:50 +02:00
Marco d'Itri 1d569d17b2 path_id: fix an harmless syntax error 2006-07-29 01:01:21 +02:00
Marco d'Itri e861e01341 make rename_netif() error messages useful 2006-07-29 01:00:16 +02:00
Marco d'Itri 47b3e9478c update Debian rules 2006-05-29 21:00:32 +02:00
Marco d'Itri d7fea966f1 path_id: fix bashism 2006-05-09 18:24:43 +02:00
Marco d'Itri 5263fb3464 update Debian rules 2006-05-01 03:32:30 +02:00
Marco d'Itri 750d10daac add inotify support for hppa and MIPS and log if inotify is not available 2006-04-06 19:52:41 +02:00
Marco d'Itri 68cfe3b5c8 udev_selinux.c: include udev.h 2005-12-26 17:21:25 +01:00
Marco d'Itri 6acd81c898 update Debian rules 2005-11-25 19:35:26 +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
Marco d'Itri df4e89bfa6 move some logging from dbg() to info() 2005-11-07 18:52:03 +01:00
Marco d'Itri ff3e4bed21 add strerror() to error logs 2005-11-07 18:44:18 +01:00
Marco d'Itri 77914dfeda run_directory: fix typo in "make install" 2005-09-16 21:05:15 +02:00
Marco d'Itri a105fe495b [PATCH] #define NETLINK_KOBJECT_UEVENT
On many systems the system kernel headers are not recent enough to
compile udev.
2005-07-01 12:42:07 -07:00
md@Linux.IT 36429eef37 [PATCH] debian: update rules files 2005-04-26 23:24:20 -07:00
md@Linux.IT 882b97455b [PATCH] raid-devfs.sh: devfs names for hardware RAID controllers 2005-04-26 23:24:20 -07:00
md@Linux.IT fd3eeb7502 [PATCH] scsi_id: when udevstart is started, /tmp is not writeable. 2005-04-26 23:24:20 -07:00
md@Linux.IT 0c50db890e [PATCH] cdsymlinks.sh: trivial fix, the variable is initialized to '', not 0 2005-04-26 23:24:20 -07:00
md@Linux.IT d30ef6b192 [PATCH] small udev patch
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 21:47:44 -07:00
md@Linux.IT af5b5178fa [PATCH] devfs.sh-ide-floppy 2005-04-26 21:35:15 -07:00
md@Linux.IT c2818554ce [PATCH] small ide-devfs.sh fix
The file may not exist and errors would be spewed on the console.
2005-04-26 21:35:12 -07:00
md@Linux.IT 3f20eac0a5 [PATCH] udevstart fixes
udevstart_no_retval: currently udevstart will always return rc=22
because of the error handling code. I completely removed it because it
is not used, and returning a generic error to the init script is not
much useful anyway.
2005-04-26 21:35:08 -07:00
md@Linux.IT 92c5ddee38 [PATCH] no error on enoent
no_error_on_enoent: do not exit with an error and delete all files
when a device or directory does not exist.
2005-04-26 21:35:06 -07:00
md@Linux.IT 758f236fd1 [PATCH] escape dashes in man pages
man-dashes.diff: escape dashes in man pages, helps with UTF-8 locales
(by Philipp Matthias Hahn).
2005-04-26 21:35:06 -07:00
md@Linux.IT b7b6562729 [PATCH] remove usage of expr in ide-devfs.sh
fix_expr: remove usage of expr in ide-devfs.sh, because it may be in
/usr/bin and not available at early boot time.
2005-04-26 21:35:06 -07:00
md@Linux.IT 04a81cac0a [PATCH] fix segfault in parsing bad udev.permissions file 2005-04-26 21:13:02 -07:00