platform/upstream/systemd.git
17 years agoonly install *.rules
Harald Hoyer [Tue, 11 Sep 2007 15:20:54 +0000 (17:20 +0200)]
only install *.rules

17 years agocheck line length after comment check and whitespace strip
Harald Hoyer [Tue, 11 Sep 2007 15:17:29 +0000 (17:17 +0200)]
check line length after comment check and whitespace strip

17 years agopath_id: fix for stacked class devices
Kay Sievers [Sun, 9 Sep 2007 22:59:07 +0000 (00:59 +0200)]
path_id: fix for stacked class devices

17 years agorules: put bsd nodes in /dev/bsd/ directory
Kay Sievers [Fri, 7 Sep 2007 02:01:21 +0000 (04:01 +0200)]
rules: put bsd nodes in /dev/bsd/ directory

17 years agocorrect includes in udev_selinux.c
maximilian attems [Thu, 6 Sep 2007 11:12:48 +0000 (13:12 +0200)]
correct includes in udev_selinux.c

17 years agoincrease WAIT_FOR_SYSFS timeout to 10 seconds
Kay Sievers [Fri, 31 Aug 2007 09:01:35 +0000 (11:01 +0200)]
increase WAIT_FOR_SYSFS timeout to 10 seconds

We see SCSI disks where it takes 6.5 seconds to populate the
sysfs attributes.

17 years agoadd /dev/rtc symlink if new rtc drivers are used
Kay Sievers [Thu, 30 Aug 2007 13:03:21 +0000 (15:03 +0200)]
add /dev/rtc symlink if new rtc drivers are used

17 years agorules: remove broken nvram group assignment without any permission
Kay Sievers [Thu, 30 Aug 2007 12:25:17 +0000 (14:25 +0200)]
rules: remove broken nvram group assignment without any permission

17 years agorules: do not delete /lib/udev/devices/ nodes on "remove"
Kay Sievers [Thu, 30 Aug 2007 12:14:54 +0000 (14:14 +0200)]
rules: do not delete /lib/udev/devices/ nodes on "remove"

17 years agoprint warning for invalid TEST operations
Kay Sievers [Wed, 29 Aug 2007 20:19:28 +0000 (22:19 +0200)]
print warning for invalid TEST operations

17 years agodo not delete the device node with ignore_remove, but handle the event
Kay Sievers [Wed, 29 Aug 2007 12:11:37 +0000 (14:11 +0200)]
do not delete the device node with ignore_remove, but handle the event

17 years agoadd $name substitution
Kay Sievers [Wed, 29 Aug 2007 12:04:55 +0000 (14:04 +0200)]
add $name substitution

17 years agorules: Gentoo update
Matthias Schwarzott [Wed, 29 Aug 2007 11:19:16 +0000 (13:19 +0200)]
rules: Gentoo update

17 years agovolume_id: fix linux_raid metadata version 1.0 detection
Kay Sievers [Wed, 29 Aug 2007 04:06:00 +0000 (06:06 +0200)]
volume_id: fix linux_raid metadata version 1.0 detection

Fixes:
  https://bugs.launchpad.net/ubuntu/+source/udev/+bug/133773

17 years agoman: recreate man pages
Kay Sievers [Tue, 28 Aug 2007 02:24:08 +0000 (04:24 +0200)]
man: recreate man pages

17 years agorules: add i2o driver rule
Kay Sievers [Tue, 28 Aug 2007 02:16:54 +0000 (04:16 +0200)]
rules: add i2o driver rule

17 years agorules: Gentoo update
Kay Sievers [Sun, 26 Aug 2007 11:54:32 +0000 (13:54 +0200)]
rules: Gentoo update

17 years agotrack "move" events to rename database and failed files
Kay Sievers [Sun, 26 Aug 2007 03:22:35 +0000 (05:22 +0200)]
track "move" events to rename database and failed files

17 years agorules: add REMOVE_CMD rule
Kay Sievers [Sat, 25 Aug 2007 22:48:49 +0000 (00:48 +0200)]
rules: add REMOVE_CMD rule

17 years agorules: random and urandom are 0666
Kay Sievers [Sat, 25 Aug 2007 12:07:02 +0000 (14:07 +0200)]
rules: random and urandom are 0666

Thanks to: Alexander E. Patrakov <patrakov@ums.usu.ru>.

17 years agorules: fix two trivial typos
Kay Sievers [Fri, 24 Aug 2007 18:34:44 +0000 (20:34 +0200)]
rules: fix two trivial typos

Thanks to: Alexander E. Patrakov <patrakov@ums.usu.ru>

17 years agoset buffer size if strlcpy/strlcat indicate truncation
Michael Morony [Fri, 24 Aug 2007 06:14:21 +0000 (08:14 +0200)]
set buffer size if strlcpy/strlcat indicate truncation

17 years agorelease 115
Kay Sievers [Thu, 23 Aug 2007 23:29:54 +0000 (01:29 +0200)]
release 115

17 years agoMakefile: install default rules
Kay Sievers [Thu, 23 Aug 2007 01:31:04 +0000 (03:31 +0200)]
Makefile: install default rules

17 years agorules: update Fedora
Kay Sievers [Thu, 23 Aug 2007 00:42:23 +0000 (02:42 +0200)]
rules: update Fedora

17 years agorule_generator: fix wrong DRIVERS!= logic
Kay Sievers [Tue, 21 Aug 2007 21:05:47 +0000 (23:05 +0200)]
rule_generator: fix wrong DRIVERS!= logic

Thanks to Matthias for identifying that.

17 years agodo not ignore dynamic rule if it is the last one in the list
Kay Sievers [Thu, 16 Aug 2007 18:16:47 +0000 (20:16 +0200)]
do not ignore dynamic rule if it is the last one in the list

17 years agovolume_id: fix sqashfs detection
Kay Sievers [Thu, 16 Aug 2007 13:02:53 +0000 (15:02 +0200)]
volume_id: fix sqashfs detection

17 years agorules: add iowarrior rule
Kay Sievers [Thu, 16 Aug 2007 10:47:37 +0000 (12:47 +0200)]
rules: add iowarrior rule

17 years agoaccept relative path for TEST
Kay Sievers [Thu, 16 Aug 2007 10:45:31 +0000 (12:45 +0200)]
accept relative path for TEST

17 years agoedd_id: move persistent rules to its own file
Kay Sievers [Tue, 14 Aug 2007 09:06:39 +0000 (11:06 +0200)]
edd_id: move persistent rules to its own file

17 years agorules: update Fedora rules
Kay Sievers [Sat, 11 Aug 2007 12:06:03 +0000 (14:06 +0200)]
rules: update Fedora rules

17 years agorules: run vol_id only for partitions
Kay Sievers [Sat, 11 Aug 2007 12:01:54 +0000 (14:01 +0200)]
rules: run vol_id only for partitions

Until we add support to the kernel to report media changes with a
"change" event, do not read the device content, because it will not
get updated when the media is removed or replaced.

17 years agorules: move md-raid rules to packages dir
Kay Sievers [Fri, 10 Aug 2007 13:23:34 +0000 (15:23 +0200)]
rules: move md-raid rules to packages dir

17 years agorules: fix typo in 80-drivers.rules
Harald Hoyer [Fri, 10 Aug 2007 12:53:31 +0000 (14:53 +0200)]
rules: fix typo in 80-drivers.rules

17 years agorules: add ia64 rules
Kay Sievers [Fri, 10 Aug 2007 11:30:35 +0000 (13:30 +0200)]
rules: add ia64 rules

17 years agorules: add packages rules
Kay Sievers [Fri, 10 Aug 2007 10:40:17 +0000 (12:40 +0200)]
rules: add packages rules

17 years agoruls: update SUSE rules
Kay Sievers [Fri, 10 Aug 2007 10:37:34 +0000 (12:37 +0200)]
ruls: update SUSE rules

17 years agorules: add default rules
Kay Sievers [Fri, 10 Aug 2007 10:36:59 +0000 (12:36 +0200)]
rules: add default rules

17 years agorules: Debian update
Marco d'Itri [Tue, 7 Aug 2007 08:41:42 +0000 (10:41 +0200)]
rules: Debian update

17 years agorules_generator: fix write_cd_rules when similar names exist in the root directory
Marco d'Itri [Tue, 7 Aug 2007 08:39:07 +0000 (10:39 +0200)]
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.

17 years agorules_generator: remove policy from write_cd_rules
Marco d'Itri [Tue, 7 Aug 2007 08:37:58 +0000 (10:37 +0200)]
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.

17 years agorelease 114
Kay Sievers [Sun, 5 Aug 2007 12:08:47 +0000 (14:08 +0200)]
release 114

17 years agorules: Gentoo update
Matthias Schwarzott [Thu, 2 Aug 2007 22:06:00 +0000 (00:06 +0200)]
rules: Gentoo update

17 years agowrite changed network interface names to the kernel log
Kay Sievers [Thu, 2 Aug 2007 21:54:10 +0000 (23:54 +0200)]
write changed network interface names to the kernel log

17 years agorules_generator: skip random MAC addresses
Kay Sievers [Thu, 2 Aug 2007 19:19:41 +0000 (21:19 +0200)]
rules_generator: skip random MAC addresses

17 years agorules: Fedora update
Kay Sievers [Tue, 31 Jul 2007 11:15:17 +0000 (13:15 +0200)]
rules: Fedora update

17 years agorules: add "do not edit" comment
Kay Sievers [Tue, 31 Jul 2007 11:14:04 +0000 (13:14 +0200)]
rules: add "do not edit" comment

Default udev rules are not system configuration for users to edit,
we need to be able to replace them with a package update. Custom rules
have to go into their own files.

17 years agorules: Fedora update
Kay Sievers [Fri, 27 Jul 2007 23:07:49 +0000 (01:07 +0200)]
rules: Fedora update

17 years agorules: update SUSE
Kay Sievers [Fri, 27 Jul 2007 01:39:43 +0000 (03:39 +0200)]
rules: update SUSE

17 years agoudevtrigger: trigger "driver" events
Kay Sievers [Fri, 27 Jul 2007 01:34:31 +0000 (03:34 +0200)]
udevtrigger: trigger "driver" events

17 years agofix inotify to work not only once
Matthias Schwarzott [Thu, 26 Jul 2007 11:04:13 +0000 (13:04 +0200)]
fix inotify to work not only once

17 years agorules_generator: remove "installation" function
Kay Sievers [Wed, 25 Jul 2007 16:16:11 +0000 (18:16 +0200)]
rules_generator: remove "installation" function

This should be called by triggering events not by looping with
the script itself. It also keeps a second blacklist outside of
the rules which we do not want to maintain.

17 years agorules_generator: add S/390 persistent network support
Hannes Reinecke [Wed, 25 Jul 2007 13:42:39 +0000 (15:42 +0200)]
rules_generator: add S/390 persistent network support

17 years agorestore behavior of NAME==
Kay Sievers [Wed, 25 Jul 2007 13:29:14 +0000 (15:29 +0200)]
restore behavior of NAME==

17 years agoadd $driver subtitution
Hannes Reinecke [Wed, 25 Jul 2007 13:24:58 +0000 (15:24 +0200)]
add $driver subtitution

17 years agoMakefile: add --as-needed flag to ld
Kay Sievers [Wed, 25 Jul 2007 13:19:32 +0000 (15:19 +0200)]
Makefile: add --as-needed flag to ld

17 years agorules: Gentoo update
Matthias Schwarzott [Tue, 24 Jul 2007 16:22:02 +0000 (18:22 +0200)]
rules: Gentoo update

17 years agocollect: extra to synchronize actions across events
Hannes Reinecke [Tue, 24 Jul 2007 11:28:18 +0000 (13:28 +0200)]
collect: extra to synchronize actions across events

17 years agolibvolume_id: use /usr/$libdir in pc file
Kay Sievers [Sun, 22 Jul 2007 17:58:04 +0000 (19:58 +0200)]
libvolume_id: use /usr/$libdir in pc file

17 years agoMakefile: add "make dist" for nightly snapshots
Richard Hughes [Sat, 21 Jul 2007 22:09:19 +0000 (00:09 +0200)]
Makefile: add "make dist" for nightly snapshots

17 years agoallow SYMLINK== match
Kay Sievers [Mon, 16 Jul 2007 11:29:28 +0000 (13:29 +0200)]
allow SYMLINK== match

17 years agohandle dynamic rules created in /dev/.udev/rules.d/
Kay Sievers [Sun, 15 Jul 2007 17:10:06 +0000 (19:10 +0200)]
handle dynamic rules created in /dev/.udev/rules.d/

17 years agoname_list: rename loop_name -> name_loop
Kay Sievers [Sun, 15 Jul 2007 17:01:01 +0000 (19:01 +0200)]
name_list: rename loop_name -> name_loop

17 years agorules: SUSE update
Kay Sievers [Sat, 14 Jul 2007 19:01:51 +0000 (21:01 +0200)]
rules: SUSE update

17 years agomove udev_utils_run.c into udev_rules.c
Kay Sievers [Sat, 14 Jul 2007 18:59:03 +0000 (20:59 +0200)]
move udev_utils_run.c into udev_rules.c

17 years agoadd udev_rules_run() to handle RUN list
Kay Sievers [Sat, 14 Jul 2007 18:44:19 +0000 (20:44 +0200)]
add udev_rules_run() to handle RUN list

17 years agouse global udev_log variable instead of parameter in run_program
Kay Sievers [Sat, 14 Jul 2007 18:43:43 +0000 (20:43 +0200)]
use global udev_log variable instead of parameter in run_program

17 years agoadd option to RUN key to ignore the return value of the program
Kay Sievers [Sat, 14 Jul 2007 18:43:01 +0000 (20:43 +0200)]
add option to RUN key to ignore the return value of the program

17 years agoudevtrigger: allow to specify action string
Kay Sievers [Mon, 9 Jul 2007 01:59:08 +0000 (03:59 +0200)]
udevtrigger: allow to specify action string

17 years agovolume_id: ext4 detection
Kay Sievers [Sun, 8 Jul 2007 15:25:55 +0000 (17:25 +0200)]
volume_id: ext4 detection

17 years agorules: SUSE update
Kay Sievers [Thu, 5 Jul 2007 20:48:36 +0000 (22:48 +0200)]
rules: SUSE update

17 years agoalways unlink temporary file before creating new one
Kay Sievers [Mon, 25 Jun 2007 14:03:11 +0000 (16:03 +0200)]
always unlink temporary file before creating new one

17 years agorules_generator: remove executable flag from include file
Kay Sievers [Mon, 25 Jun 2007 14:02:38 +0000 (16:02 +0200)]
rules_generator: remove executable flag from include file

17 years agorelease 113
Kay Sievers [Sat, 23 Jun 2007 15:44:48 +0000 (17:44 +0200)]
release 113

17 years agoudevd: do not use syslog if --verbose (debugging) is used
Kay Sievers [Sat, 23 Jun 2007 15:35:37 +0000 (17:35 +0200)]
udevd: do not use syslog if --verbose (debugging) is used

17 years agono newline in log messages
Kay Sievers [Sat, 23 Jun 2007 14:21:47 +0000 (16:21 +0200)]
no newline in log messages

17 years agoallow to disable the replacement of unusual characters
Kay Sievers [Thu, 21 Jun 2007 23:27:02 +0000 (01:27 +0200)]
allow to disable the replacement of unusual characters

17 years agoMakefile: check for missing ChangeLog or RELEASE-NOTES at release
Kay Sievers [Thu, 21 Jun 2007 09:41:41 +0000 (11:41 +0200)]
Makefile: check for missing ChangeLog or RELEASE-NOTES at release

17 years agorules: SUSE update
Kay Sievers [Thu, 21 Jun 2007 09:40:23 +0000 (11:40 +0200)]
rules: SUSE update

17 years agoinfo() for ignore_remove
Kay Sievers [Thu, 21 Jun 2007 09:40:07 +0000 (11:40 +0200)]
info() for ignore_remove

17 years agodo not try to create existing file
Kay Sievers [Thu, 21 Jun 2007 07:00:35 +0000 (09:00 +0200)]
do not try to create existing file

17 years agoatomically replace existing nodes and symlinks
Kay Sievers [Thu, 21 Jun 2007 00:28:09 +0000 (02:28 +0200)]
atomically replace existing nodes and symlinks

Based on a patch from Scott James Remnant <scott@ubuntu.com>.

17 years agorules: SUSE update
Kay Sievers [Thu, 21 Jun 2007 00:15:45 +0000 (02:15 +0200)]
rules: SUSE update

17 years agorules: recognize partitions and disk devices properly
Kay Sievers [Thu, 21 Jun 2007 00:15:17 +0000 (02:15 +0200)]
rules: recognize partitions and disk devices properly

17 years agomake ATTR{[$SUBSYSTEM/$KERNEL]<attr>}="<value>" working
Kay Sievers [Sun, 10 Jun 2007 21:53:40 +0000 (23:53 +0200)]
make ATTR{[$SUBSYSTEM/$KERNEL]<attr>}="<value>" working

17 years agofix typo in udev_utils_run.c
Tobias Klauser [Sat, 9 Jun 2007 17:18:46 +0000 (19:18 +0200)]
fix typo in udev_utils_run.c

17 years agovol_id: do not fail if unable to drop privileges
David Zeuthen [Wed, 6 Jun 2007 22:56:20 +0000 (00:56 +0200)]
vol_id: do not fail if unable to drop privileges

17 years agoadd missing ChangeLog
Kay Sievers [Mon, 4 Jun 2007 13:48:24 +0000 (15:48 +0200)]
add missing ChangeLog

17 years agorelease 112
Kay Sievers [Mon, 4 Jun 2007 13:05:23 +0000 (15:05 +0200)]
release 112

17 years agorules: SUSE update
Kay Sievers [Mon, 4 Jun 2007 13:05:12 +0000 (15:05 +0200)]
rules: SUSE update

17 years agosysfs: skip unknown sysfs directories
Kay Sievers [Mon, 4 Jun 2007 09:20:18 +0000 (11:20 +0200)]
sysfs: skip unknown sysfs directories

17 years agosysfs: handle bus/class top-level directories
Kay Sievers [Mon, 4 Jun 2007 08:50:05 +0000 (10:50 +0200)]
sysfs: handle bus/class top-level directories

17 years agoadd "[$SUBSYSTEM/$KERNEL]<attribute>" lookup
Kay Sievers [Sun, 3 Jun 2007 10:29:46 +0000 (12:29 +0200)]
add "[$SUBSYSTEM/$KERNEL]<attribute>" lookup

17 years agoadd TEST=="<file>" key
Kay Sievers [Sat, 2 Jun 2007 22:01:46 +0000 (00:01 +0200)]
add TEST=="<file>" key

17 years agoadd $sys substitution
Kay Sievers [Sat, 2 Jun 2007 20:06:01 +0000 (22:06 +0200)]
add $sys substitution

17 years agosysfs: change order of subsystem lookup
Kay Sievers [Sat, 2 Jun 2007 20:00:10 +0000 (22:00 +0200)]
sysfs: change order of subsystem lookup

17 years agoudevtest: add --subsystem option
Kay Sievers [Sat, 2 Jun 2007 08:14:50 +0000 (10:14 +0200)]
udevtest: add --subsystem option

17 years agoevents for "bus" and "class" registration must be matched as "subsystem"
Kay Sievers [Sat, 2 Jun 2007 08:02:32 +0000 (10:02 +0200)]
events for "bus" and "class" registration must be matched as "subsystem"

17 years agosysfs: add device lookup by $SUBSYSYTEM:$KERNEL
Kay Sievers [Sat, 2 Jun 2007 07:43:57 +0000 (09:43 +0200)]
sysfs: add device lookup by $SUBSYSYTEM:$KERNEL