]>
err.no Git - systemd/log
Marco d'Itri [Fri, 18 Jul 2008 14:22:26 +0000 (16:22 +0200)]
ignore rule with GOTO to a non-existent label
Kay Sievers [Fri, 18 Jul 2008 13:56:03 +0000 (15:56 +0200)]
move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
None of these rules is supposed to be changed by users, so move
them out of /etc. Custom rules, and automatically generated rules
stay in /etc. All rules are still processed in lexical order,
regardless which directory they live in.
Marco d'Itri [Tue, 15 Jul 2008 09:56:42 +0000 (11:56 +0200)]
rules: Debian update
Kay Sievers [Tue, 15 Jul 2008 09:54:18 +0000 (11:54 +0200)]
udevadm: info - add --export format to --device-id-of-file=
$ udevadm info --export --export-prefix="ROOT_" --device-id-of-file=/
ROOT_MAJOR=8
ROOT_MINOR=5
Marco d'Itri [Fri, 11 Jul 2008 08:27:55 +0000 (10:27 +0200)]
rules: Debian update
Kay Sievers [Fri, 11 Jul 2008 07:53:33 +0000 (09:53 +0200)]
rules: tape rules - add nst to by-path/ links
John Huttley [Fri, 11 Jul 2008 07:26:04 +0000 (09:26 +0200)]
rules: tape rules - add nst to usb and 1394 links
Marco d'Itri [Thu, 10 Jul 2008 22:52:22 +0000 (00:52 +0200)]
udevadm: settle - add verbose output when running into timeout
Kay Sievers [Thu, 10 Jul 2008 21:54:28 +0000 (23:54 +0200)]
do not touch node ownership and permissions, if already correct
In some cases "change" events reapplied node permissions which
changed applied ACL's. So, preserve permissions if already correct.
Kay Sievers [Thu, 10 Jul 2008 21:53:54 +0000 (23:53 +0200)]
man: rebuild from xml
Kay Sievers [Thu, 10 Jul 2008 20:22:10 +0000 (22:22 +0200)]
scsi_id: the fallback fix broke error handling
Marco d'Itri [Wed, 9 Jul 2008 22:17:24 +0000 (00:17 +0200)]
scsi_id: man page fix
minus signs need to be escaped and the program is not in the $PATH anymore
Marco d'Itri [Wed, 9 Jul 2008 22:06:06 +0000 (00:06 +0200)]
man: add link_priority default value
Thomas Koeller [Mon, 7 Jul 2008 22:12:02 +0000 (00:12 +0200)]
scsi_id: include sys/stat.h
I could not build scsi_id because of a missing #include
for sys/stat.h, so I had to add that.
Signed-off-by: Thomas Koeller <thomas@koeller.dyndns.org>
Kay Sievers [Wed, 9 Jul 2008 21:50:46 +0000 (23:50 +0200)]
rules: use consistently OPTIONS+=
Thanks to Marco for the pointer.
Marco d'Itri [Mon, 7 Jul 2008 12:32:33 +0000 (14:32 +0200)]
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.
Kay Sievers [Mon, 7 Jul 2008 09:20:46 +0000 (11:20 +0200)]
udev.conf: udevcontrol -> udevadm control
Thanks to Marco for pointing that out.
Kay Sievers [Mon, 7 Jul 2008 09:20:02 +0000 (11:20 +0200)]
rules: fix cciss rules for partition numbers > 9
Kay Sievers [Mon, 7 Jul 2008 09:18:49 +0000 (11:18 +0200)]
scsi_id: fix fallback to sg v3 for sg nodes
Karl O. Pinc [Wed, 2 Jul 2008 08:20:58 +0000 (10:20 +0200)]
man: clarify $attr{} parent searching
Kay Sievers [Thu, 26 Jun 2008 16:12:50 +0000 (18:12 +0200)]
docs: update some docs and delete outdated stuff
Kay Sievers [Thu, 26 Jun 2008 15:28:13 +0000 (17:28 +0200)]
rules: add v4l persistent links
Maybe we will have this working, finally. Thanks to Kees and Brandon.
Kay Sievers [Thu, 26 Jun 2008 11:25:31 +0000 (13:25 +0200)]
path_id: suppress trailing '-' like 'ID_PATH=pci-0000:05:01.0-'
Kay Sievers [Wed, 18 Jun 2008 08:12:14 +0000 (10:12 +0200)]
collect: fix size_t printf
Tobias Klauser [Tue, 17 Jun 2008 22:47:33 +0000 (00:47 +0200)]
collect: check realloc return value
Kay Sievers [Thu, 12 Jun 2008 05:24:30 +0000 (07:24 +0200)]
release 124
Kay Sievers [Thu, 12 Jun 2008 05:20:14 +0000 (07:20 +0200)]
cdrom_id: fix recognition of blank media
Thanks to David!
Kay Sievers [Wed, 11 Jun 2008 22:08:43 +0000 (00:08 +0200)]
release 123
Erik van Konijnenburg [Wed, 11 Jun 2008 19:36:57 +0000 (21:36 +0200)]
volume_id: support for oracleasm
Harald Hoyer [Wed, 11 Jun 2008 21:26:18 +0000 (23:26 +0200)]
scsi_id: retry open() on -EBUSY
Kay Sievers [Wed, 11 Jun 2008 21:24:13 +0000 (23:24 +0200)]
cdrom_id: export ID_CDROM_MEDIA_TRACK_COUNT_AUDIO=, ID_CDROM_MEDIA_TRACK_COUNT_DATA=
Iterate over all tracks, instead of looking only at the first
one for audio. Thanks to David!
Xinwei Hu [Fri, 30 May 2008 07:43:58 +0000 (09:43 +0200)]
udevd: export .udev/queue/$seqnum before .udev/uevent_seqnum
Karel Zak [Wed, 28 May 2008 10:25:09 +0000 (12:25 +0200)]
volume_id: enable GFS probing code, add LABEL support
* enables GFS/GFS2 probing code (it's disabled now!)
* adds support for LABELs -- it seems that locktable name is usable as
a LABEL (at least according to libblkid).
* removes extra check of sb_header.mh_format -- nothing in kernel and
blkid checks this superblock entry. It seems that check GFS_MAGIC and
GFS_METATYPE_SB is enough.
Signed-off-by: Karel Zak <kzak@redhat.com>
Michal Soltys [Wed, 28 May 2008 15:20:07 +0000 (17:20 +0200)]
man: add NAME== match entry
Xinwei Hu [Tue, 27 May 2008 17:35:03 +0000 (19:35 +0200)]
collect: realloc buffer, if needed
Karel Zak [Mon, 26 May 2008 22:51:17 +0000 (00:51 +0200)]
volume_id: remove unnecessary global variable
Signed-off-by: Karel Zak <kzak@redhat.com>
Kay Sievers [Mon, 26 May 2008 15:11:13 +0000 (17:11 +0200)]
rules: persistent net - handle "locally administered" ibmveth MAC addresses
Kay Sievers [Tue, 20 May 2008 13:11:01 +0000 (15:11 +0200)]
rules: tape rules - use bsg device nodes for SG_IO
Kay Sievers [Tue, 20 May 2008 13:02:17 +0000 (15:02 +0200)]
rename WAIT_FOR_SYSFS to WAIT_FOR and accept an absolute path
This allows us to watch any file to appear, not only sysfs
attributes. Files without a leading slash will be device sysfs
attributes. The key WAIT_FOR_SYSFS still works for backwards
compat, but is removed from the man page.
Kay Sievers [Tue, 20 May 2008 06:46:29 +0000 (08:46 +0200)]
edd_id: call it only for sd* and hd*
Erik van Konijnenburg [Mon, 19 May 2008 07:07:20 +0000 (09:07 +0200)]
Makefile: use udevdir in "make install"
Erik van Konijnenburg [Mon, 19 May 2008 07:05:20 +0000 (09:05 +0200)]
add substitution in MODE= field
Do substitition processing in MODE field, similar to substitution in
OWNER, GROUP etc fields. Add test case for normal and overflow behaviour.
Document in manpage.
Kay Sievers [Sat, 17 May 2008 14:29:07 +0000 (16:29 +0200)]
release 122
Kay Sievers [Sat, 17 May 2008 14:19:46 +0000 (16:19 +0200)]
Makefile: do not create udevcontrol, udevtrigger symlinks
Kay Sievers [Sat, 17 May 2008 14:19:12 +0000 (16:19 +0200)]
volume_id: bump version
Kay Sievers [Fri, 16 May 2008 10:52:42 +0000 (12:52 +0200)]
scsi_id: add bsg.h
Matthias Schwarzott [Wed, 14 May 2008 14:03:49 +0000 (16:03 +0200)]
cdrom_id: fix segfault
Kay Sievers [Wed, 14 May 2008 13:17:35 +0000 (15:17 +0200)]
rules: adapt tape rules to new scsi_id
Kay Sievers [Wed, 14 May 2008 13:14:23 +0000 (15:14 +0200)]
rules: adapt to new scsi_id
Kay Sievers [Wed, 14 May 2008 13:02:17 +0000 (15:02 +0200)]
scsi_id: add --sg-version= option
Kay Sievers [Wed, 14 May 2008 11:59:25 +0000 (13:59 +0200)]
scsi_id: remove bus_id option
Kay Sievers [Wed, 14 May 2008 11:59:11 +0000 (13:59 +0200)]
scsi_id: update man page
Hannes Reinecke [Wed, 14 May 2008 11:55:49 +0000 (13:55 +0200)]
scsi_id: add SGv4 support
Fall back to SGv3, if SGv3 returns a failure/is not available.
Hannes Reinecke [Wed, 14 May 2008 11:42:41 +0000 (13:42 +0200)]
scsi_id: remove all sysfs dependencies
MUNEDA Takahiro [Wed, 14 May 2008 02:47:33 +0000 (04:47 +0200)]
man: scsi_id
MUNEDA Takahiro [Wed, 14 May 2008 02:33:34 +0000 (04:33 +0200)]
man: udevd- fix udev(8) reference
Karel Zak [Mon, 12 May 2008 22:55:53 +0000 (00:55 +0200)]
volume_id: clean up linux_raid code
extra global and/or non-static variables suck in shared libraries
use "else if" rather than many "return" calls
Signed-off-by: Karel Zak <kzak@redhat.com>
Kay Sievers [Fri, 9 May 2008 07:22:23 +0000 (09:22 +0200)]
release 121
Kay Sievers [Fri, 9 May 2008 07:05:42 +0000 (09:05 +0200)]
rules: update md rules
Activate the rule for autoassembly later.
The needed options are merged into mdadm git, but not released.
Kay Sievers [Fri, 9 May 2008 07:05:15 +0000 (09:05 +0200)]
persistent device naming: update tape rules
Thanks to John Huttley <John@mib-infotech.co.nz> for the fixes.
All new bugs are introduced by me. :)
Kay Sievers [Mon, 28 Apr 2008 03:07:47 +0000 (05:07 +0200)]
udevadm: info - do not print ATTR{dev}==
David Woodhouse [Sun, 27 Apr 2008 18:19:44 +0000 (20:19 +0200)]
rules_generator: net rules - add "dev_id" value to generated rules
Kay Sievers [Tue, 22 Apr 2008 01:19:21 +0000 (03:19 +0200)]
udevadm: control - fix --env key to accept --env=<KEY>=<value>
Kay Sievers [Tue, 22 Apr 2008 01:01:29 +0000 (03:01 +0200)]
udevadm: trigger - add --env= option
Kay Sievers [Mon, 21 Apr 2008 18:22:56 +0000 (20:22 +0200)]
write "event_timeout" to db
Kay Sievers [Mon, 21 Apr 2008 17:00:54 +0000 (19:00 +0200)]
add OPTIONS+="event_timeout=<seconds>"
Kay Sievers [Mon, 21 Apr 2008 16:07:05 +0000 (18:07 +0200)]
fstab_import: add program to IMPORT matching fstab entry
DEVPATH=/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda6
SUBSYSTEM=block
...
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
...
FSTAB_NAME=/dev/disk/by-id/scsi-SATA_ST910021AS_3MH0Y3KF-part6
FSTAB_DIR=/home/kay/work
FSTAB_TYPE=ext3
FSTAB_OPTS=defaults
FSTAB_FREQ=1
FSTAB_PASSNO=1
Kay Sievers [Mon, 21 Apr 2008 15:43:12 +0000 (17:43 +0200)]
add $links substitution
Kay Sievers [Mon, 21 Apr 2008 15:41:39 +0000 (17:41 +0200)]
cdrom_id: add more help text
Damjan Georgievski [Mon, 21 Apr 2008 10:44:25 +0000 (12:44 +0200)]
libvolume_id: recognize swap partitions with a tuxonice hibernate image
Kay Sievers [Sun, 20 Apr 2008 19:15:00 +0000 (21:15 +0200)]
persistent device naming: also read unpartitioned media
Kay Sievers [Sun, 20 Apr 2008 19:08:45 +0000 (21:08 +0200)]
scsi_id: initialize serial strings
Kay Sievers [Sun, 20 Apr 2008 19:07:06 +0000 (21:07 +0200)]
logging: add trailing newline to all strings
Kay Sievers [Fri, 18 Apr 2008 19:08:07 +0000 (21:08 +0200)]
path_id: remove subsystem whitelist
Kay Sievers [Fri, 18 Apr 2008 19:07:29 +0000 (21:07 +0200)]
allow setting of MODE="0000"
Kay Sievers [Thu, 17 Apr 2008 21:31:09 +0000 (23:31 +0200)]
selinux: fix missing includes
Harald Hoyer [Thu, 17 Apr 2008 14:03:03 +0000 (16:03 +0200)]
selinux: more context settings
Signed-off-by: Harald Hoyer <harald@redhat.com>
Kay Sievers [Mon, 14 Apr 2008 22:21:51 +0000 (00:21 +0200)]
rules_generator: net rules - always add KERNEL== match to generated rules
Kay Sievers [Thu, 10 Apr 2008 19:35:40 +0000 (21:35 +0200)]
udevd: at startup write message including version number to kernel log
Kay Sievers [Wed, 9 Apr 2008 21:17:39 +0000 (23:17 +0200)]
cdrom_id: replace with version which also exports media properties
This is a 12 track audio CD with additional data session:
$ extras/cdrom_id/cdrom_id /dev/dvd
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_STATE=complete
ID_CDROM_MEDIA_HAS_AUDIO=1
ID_CDROM_MEDIA_SESSION_COUNT=2
ID_CDROM_MEDIA_TRACK_COUNT=13
ID_CDROM_MEDIA_SESSION_LAST_OFFSET=
444508160
Kay Sievers [Wed, 9 Apr 2008 10:35:03 +0000 (12:35 +0200)]
vol_id: add --offset option
Kay Sievers [Sun, 6 Apr 2008 23:57:31 +0000 (01:57 +0200)]
udevinfo: do not replace chars when printing ATTR== matches
Daniel Drake [Sun, 6 Apr 2008 05:12:20 +0000 (07:12 +0200)]
writing udev rules: fix rule typos
Kay Sievers [Thu, 3 Apr 2008 19:12:53 +0000 (21:12 +0200)]
release 120
Kay Sievers [Thu, 3 Apr 2008 19:05:19 +0000 (21:05 +0200)]
persistent device naming: cleanup storage rules
Kay Sievers [Wed, 2 Apr 2008 02:43:25 +0000 (04:43 +0200)]
also accept real socket files for RUN+="socket:<path>"
Michael Kralka [Wed, 2 Apr 2008 02:32:17 +0000 (04:32 +0200)]
udevd: serialize events if they refer to the same major:minor number
Kay Sievers [Sat, 29 Mar 2008 16:20:34 +0000 (17:20 +0100)]
udevadm: trigger - fix --socket== + --verbose
Kay Sievers [Sat, 29 Mar 2008 16:16:41 +0000 (17:16 +0100)]
udevadm: trigger - fix broken socket option check
Kay Sievers [Sat, 29 Mar 2008 15:29:36 +0000 (16:29 +0100)]
udevadm: remove old man page links and compat links for debugging tools
Kay Sievers [Sat, 29 Mar 2008 15:12:41 +0000 (16:12 +0100)]
udevadm: info - resolve devpath if symlink is given
Kay Sievers [Wed, 26 Mar 2008 23:58:20 +0000 (00:58 +0100)]
udevadm: trigger - option to synthesize events and pass them to a socket
Kay Sievers [Tue, 25 Mar 2008 12:32:22 +0000 (13:32 +0100)]
rules: remove last WAIT_FOR_SYSFS, load ppdev, switch scsi_device
Kay Sievers [Fri, 21 Mar 2008 03:03:24 +0000 (04:03 +0100)]
test: remove duplicated EXTRA entry
Kay Sievers [Fri, 14 Mar 2008 23:05:02 +0000 (00:05 +0100)]
release 119
Roy Marples [Fri, 14 Mar 2008 23:02:39 +0000 (00:02 +0100)]
Makefile: do not require GNU install
Kay Sievers [Fri, 14 Mar 2008 22:40:06 +0000 (23:40 +0100)]
extend hack to allow TEST=="*/start"
Kay Sievers [Fri, 14 Mar 2008 22:32:45 +0000 (23:32 +0100)]
sysfs: depend on "subsystem" link
Kay Sievers [Fri, 14 Mar 2008 22:19:12 +0000 (23:19 +0100)]
test: add "subsystem" links to all devices
Kay Sievers [Fri, 14 Mar 2008 22:18:19 +0000 (23:18 +0100)]
persistent device naming: also run on "change" event