chiark / gitweb /
elogind.git
13 years agorename config "filename" to "dir"
Kay Sievers [Fri, 8 Dec 2006 08:48:53 +0000 (09:48 +0100)]
rename config "filename" to "dir"

13 years agoinotify syscall definitions for M32R
Kazuhiro Inaoka [Wed, 6 Dec 2006 14:01:30 +0000 (15:01 +0100)]
inotify syscall definitions for M32R

13 years agoSELinux: label created symlink instead of node
Russell Coker [Tue, 5 Dec 2006 13:32:44 +0000 (14:32 +0100)]
SELinux: label created symlink instead of node

The current code will label the target of a symlink rather than the
link itself.  This means that the link does not get it's context set
and the target gets the wrong context.
Incidentally this affects the labelling of hard disk device nodes and
can get in the way of booting.

Also get_media() should not be called with devname==NULL.

13 years agoscsi_id: remove trailing garbage from ID_SERIAL_SHORT
Marco d'Itri [Mon, 27 Nov 2006 16:13:19 +0000 (17:13 +0100)]
scsi_id: remove trailing garbage from ID_SERIAL_SHORT

13 years agowrite_cd_rules: identity-based persistence
Marco d'Itri [Mon, 27 Nov 2006 09:34:43 +0000 (10:34 +0100)]
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.

13 years agoman: recreate from xml
Kay Sievers [Mon, 27 Nov 2006 09:30:17 +0000 (10:30 +0100)]
man: recreate from xml

13 years agoman: fix udevmonitor text
Kay Sievers [Mon, 27 Nov 2006 09:29:50 +0000 (10:29 +0100)]
man: fix udevmonitor text

Thanks to Bauke Jan Douma.

13 years agovolume_id: fix endianess bug in linux_raid detection
Kay Sievers [Wed, 15 Nov 2006 19:41:25 +0000 (20:41 +0100)]
volume_id: fix endianess bug in linux_raid detection

13 years agoupdate SUSE rules
Kay Sievers [Wed, 15 Nov 2006 19:40:26 +0000 (20:40 +0100)]
update SUSE rules

13 years agoupdate SUSE rules
Kay Sievers [Tue, 14 Nov 2006 19:16:35 +0000 (20:16 +0100)]
update SUSE rules

13 years agoupdate example rules
Kay Sievers [Tue, 14 Nov 2006 16:38:42 +0000 (17:38 +0100)]
update example rules

13 years agoupdate Fedora rules
Kay Sievers [Tue, 14 Nov 2006 16:38:04 +0000 (17:38 +0100)]
update Fedora rules

14 years agorelease 103
Kay Sievers [Fri, 20 Oct 2006 12:43:35 +0000 (14:43 +0200)]
release 103

14 years agoupdate Fedora rules
Kay Sievers [Sun, 15 Oct 2006 16:40:08 +0000 (18:40 +0200)]
update Fedora rules

14 years agoupdate SUSE rules
Kay Sievers [Sun, 15 Oct 2006 16:29:05 +0000 (18:29 +0200)]
update SUSE rules

14 years agovolume_id: add comment about hfs uuid conversion
Kay Sievers [Sun, 15 Oct 2006 16:20:15 +0000 (18:20 +0200)]
volume_id: add comment about hfs uuid conversion

14 years agovolume_id: add checksum check to via_raid
Kay Sievers [Fri, 13 Oct 2006 11:17:13 +0000 (13:17 +0200)]
volume_id: add checksum check to via_raid

14 years agopersistent storage rules: skip gnbd devices
Kay Sievers [Fri, 13 Oct 2006 11:16:08 +0000 (13:16 +0200)]
persistent storage rules: skip gnbd devices

14 years agorelease 102
Kay Sievers [Tue, 10 Oct 2006 15:07:35 +0000 (17:07 +0200)]
release 102

14 years agoupdate SUSE rules
Kay Sievers [Tue, 10 Oct 2006 14:56:33 +0000 (16:56 +0200)]
update SUSE rules

14 years agoscsi_id: export ID_SERIAL_SHORT without vendor/product
Kay Sievers [Tue, 10 Oct 2006 14:56:09 +0000 (16:56 +0200)]
scsi_id: export ID_SERIAL_SHORT without vendor/product

14 years agoif /sys/subsystem exists, skip class, bus, block scanning
Kay Sievers [Sun, 8 Oct 2006 14:06:14 +0000 (16:06 +0200)]
if /sys/subsystem exists, skip class, bus, block scanning

14 years agofirst try "subsystem" link at a parent device, before guessing
Kay Sievers [Sun, 8 Oct 2006 14:04:54 +0000 (16:04 +0200)]
first try "subsystem" link at a parent device, before guessing

14 years agowriting_udev_rules: fix typo in example rule
Daniel Drake [Mon, 2 Oct 2006 23:45:56 +0000 (01:45 +0200)]
writing_udev_rules: fix typo in example rule

This was pointed out by SG Wilkinson.

14 years agopath_id: fix SAS disk handling
MUNEDA Takahiro [Mon, 2 Oct 2006 14:02:42 +0000 (16:02 +0200)]
path_id: fix SAS disk handling

14 years agoupdate default rules
Kay Sievers [Sat, 30 Sep 2006 15:12:48 +0000 (17:12 +0200)]
update default rules

14 years agoupdate SUSE rules
Kay Sievers [Sat, 30 Sep 2006 15:12:25 +0000 (17:12 +0200)]
update SUSE rules

14 years agocreate missing ChangeLog for version 101
Kay Sievers [Sat, 30 Sep 2006 15:09:55 +0000 (17:09 +0200)]
create missing ChangeLog for version 101

14 years agorelease 101
Kay Sievers [Sat, 30 Sep 2006 12:30:00 +0000 (14:30 +0200)]
release 101

14 years agoadd IMPORT operations to the udev man page
Bryan Kadzban [Sat, 23 Sep 2006 20:10:55 +0000 (22:10 +0200)]
add IMPORT operations to the udev man page

14 years agocleanup default rules
Bryan Kadzban [Sat, 23 Sep 2006 20:09:41 +0000 (22:09 +0200)]
cleanup default rules

14 years agoupdate slackware rules
Piter PUNK [Wed, 20 Sep 2006 19:00:29 +0000 (21:00 +0200)]
update slackware rules

14 years agofix spelling in deprecation warning
Kay Sievers [Wed, 20 Sep 2006 18:22:57 +0000 (20:22 +0200)]
fix spelling in deprecation warning

Found by Andreas Hanke.

14 years agofix udevinfo help text typo
Arjan Opmeer [Wed, 20 Sep 2006 18:20:35 +0000 (20:20 +0200)]
fix udevinfo help text typo

14 years agoudevtrigger: fix typo that prevents partition events
Michał Bartoszkiewicz [Wed, 20 Sep 2006 10:22:24 +0000 (12:22 +0200)]
udevtrigger: fix typo that prevents partition events

14 years agoupdate Frugalware rules
VMiklos [Tue, 19 Sep 2006 22:02:50 +0000 (00:02 +0200)]
update Frugalware rules

14 years agoudevtrigger: trigger devices sorted by their dependency
Kay Sievers [Tue, 19 Sep 2006 15:51:31 +0000 (17:51 +0200)]
udevtrigger: trigger devices sorted by their dependency

Resolve the links to the real device location in the tree, and
sort the list, to make sure that parent devices are triggered
before their childs.

14 years agoudev_sysfs: unify symlink resolving
Kay Sievers [Tue, 19 Sep 2006 15:46:04 +0000 (17:46 +0200)]
udev_sysfs: unify symlink resolving

14 years agoudevinfo: print error in --attribute-walk
Kay Sievers [Tue, 19 Sep 2006 15:07:25 +0000 (17:07 +0200)]
udevinfo: print error in --attribute-walk

14 years agodon't print PHYSDEV* warnings for old WAIT_FOR_SYSFS rules
Kay Sievers [Mon, 18 Sep 2006 20:14:18 +0000 (22:14 +0200)]
don't print PHYSDEV* warnings for old WAIT_FOR_SYSFS rules

14 years agowarn if a PHYSEDV* key, the "device" link, or a parent attribute is used
Kay Sievers [Mon, 18 Sep 2006 00:01:29 +0000 (02:01 +0200)]
warn if a PHYSEDV* key, the "device" link, or a parent attribute is used

14 years agoclarify "specified user/group unknown" error
Miles Lane [Sat, 16 Sep 2006 14:35:52 +0000 (16:35 +0200)]
clarify "specified user/group unknown" error

14 years agovolume_id: correct iso9660 high sierra header
Kay Sievers [Tue, 12 Sep 2006 12:33:06 +0000 (14:33 +0200)]
volume_id: correct iso9660 high sierra header

Thanks to David Härdeman.

14 years agorule_generator: improve net rule comment generation
Kay Sievers [Sat, 9 Sep 2006 12:45:45 +0000 (14:45 +0200)]
rule_generator: improve net rule comment generation

14 years agoudevd: add --debug-trace option
Kay Sievers [Fri, 8 Sep 2006 09:30:00 +0000 (11:30 +0200)]
udevd: add --debug-trace option

14 years agoudevd: add --verbose option to log also to stdout
Kay Sievers [Fri, 8 Sep 2006 09:28:38 +0000 (11:28 +0200)]
udevd: add --verbose option to log also to stdout

14 years agoudevd: use getopt_long()
Kay Sievers [Fri, 8 Sep 2006 09:27:03 +0000 (11:27 +0200)]
udevd: use getopt_long()

14 years agoremove Makefile magic for leading '0' in version
Kay Sievers [Thu, 7 Sep 2006 09:49:51 +0000 (11:49 +0200)]
remove Makefile magic for leading '0' in version

14 years agorelease 100
Kay Sievers [Thu, 7 Sep 2006 09:32:45 +0000 (11:32 +0200)]
release 100

14 years agorevert persistent-storage ata-serial '_' '-' replacement
Kay Sievers [Thu, 7 Sep 2006 09:30:29 +0000 (11:30 +0200)]
revert persistent-storage ata-serial '_' '-' replacement

It's not worth changing it, also scsi usually has an underscore
in the SERIAL string itself:
  scsi-SSEAGATE_ST3146854SS_3KN0JH8600008609GTBW
  scsi-SATA_HTS726060M9AT00_MRH453M4HWHG7B

14 years agoman: add $attr{} section about symlinks
Kay Sievers [Thu, 7 Sep 2006 09:08:07 +0000 (11:08 +0200)]
man: add $attr{} section about symlinks

14 years agofix messed up ChangeLog from release 099
Kay Sievers [Wed, 6 Sep 2006 21:18:28 +0000 (23:18 +0200)]
fix messed up ChangeLog from release 099

14 years agoupdate SUSE rules
Kay Sievers [Wed, 6 Sep 2006 20:51:30 +0000 (22:51 +0200)]
update SUSE rules

14 years agorelease 099
Kay Sievers [Wed, 6 Sep 2006 20:18:04 +0000 (22:18 +0200)]
release 099

14 years agochanges rules for ata disk from '_' to '-'
MUNEDA Takahiro [Wed, 6 Sep 2006 20:08:20 +0000 (22:08 +0200)]
changes rules for ata disk from '_' to '-'

by-id symlink rules for ata disk only have '_' before
$env{ID_SERIAL}. The rules for SCSI disk, SCSI tape, mouse,
event are not '_' but '-'

14 years agoadd persistent rules generator for net devices and optical drives
Marco d'Itri [Tue, 5 Sep 2006 13:20:28 +0000 (15:20 +0200)]
add persistent rules generator for net devices and optical drives

14 years agoremove broken name_cdrom.pl
Kay Sievers [Tue, 5 Sep 2006 12:00:47 +0000 (14:00 +0200)]
remove broken name_cdrom.pl

We never get an event on media change, so this script can't work.

14 years agoudevinfo: do not show symlinks as attributes in --attribute-walk
Kay Sievers [Tue, 5 Sep 2006 11:54:08 +0000 (13:54 +0200)]
udevinfo: do not show symlinks as attributes in --attribute-walk

14 years agocdrom_id: add rules file to call cdrom_id
Kay Sievers [Tue, 5 Sep 2006 01:43:14 +0000 (03:43 +0200)]
cdrom_id: add rules file to call cdrom_id

14 years agolet $attr{symlink} return the last element of the path
Kay Sievers [Tue, 5 Sep 2006 00:18:06 +0000 (02:18 +0200)]
let $attr{symlink} return the last element of the path

Example for /block/sda:
  SUBSYSTEMS="scsi", ENV{COMMENT}="$attr{driver}"
sets COMMENT=sd
  SUBSYSTEMS="pci", ENV{COMMENT}="$attr{driver}"
sets COMMENT=ata_piix

14 years agofix ENV{TEST}="Test: $env{TEST}"
Kay Sievers [Mon, 4 Sep 2006 22:50:25 +0000 (00:50 +0200)]
fix ENV{TEST}="Test: $env{TEST}"

14 years agoudevinfo: fix SUBSYTEMS spelling error
Kay Sievers [Sun, 3 Sep 2006 15:47:27 +0000 (17:47 +0200)]
udevinfo: fix SUBSYTEMS spelling error

14 years agofix "subsytem" typo
Sergey Vlasov [Sun, 3 Sep 2006 12:13:11 +0000 (14:13 +0200)]
fix "subsytem" typo

14 years agomake struct option arrays static const
Sergey Vlasov [Sun, 3 Sep 2006 12:12:51 +0000 (14:12 +0200)]
make struct option arrays static const

14 years agoupdate Gentoo rules
Greg KH [Sun, 3 Sep 2006 04:09:40 +0000 (06:09 +0200)]
update Gentoo rules

14 years agoreorder options in udevinfo man page
Kay Sievers [Sun, 3 Sep 2006 03:46:52 +0000 (05:46 +0200)]
reorder options in udevinfo man page

14 years agoudevtrigger: fix pattern match
Kay Sievers [Sun, 3 Sep 2006 03:45:51 +0000 (05:45 +0200)]
udevtrigger: fix pattern match

14 years agoudevd: use files instead of symlinks for /dev/.udev/queue,failed
Kay Sievers [Sun, 3 Sep 2006 02:44:33 +0000 (04:44 +0200)]
udevd: use files instead of symlinks for /dev/.udev/queue,failed

14 years agoudevinfo: use long options
Kay Sievers [Sun, 3 Sep 2006 02:05:20 +0000 (04:05 +0200)]
udevinfo: use long options

14 years agoudevtrigger: remove unused longindex
Kay Sievers [Sun, 3 Sep 2006 01:36:20 +0000 (03:36 +0200)]
udevtrigger: remove unused longindex

14 years agoudevtrigger: options to filter by subsystem and sysfs attribute
Kay Sievers [Sun, 3 Sep 2006 01:04:20 +0000 (03:04 +0200)]
udevtrigger: options to filter by subsystem and sysfs attribute

14 years agoupdate TODO
Kay Sievers [Sat, 2 Sep 2006 12:26:44 +0000 (14:26 +0200)]
update TODO

14 years agoudevtest: print header that ENV{} can't work
Kay Sievers [Mon, 28 Aug 2006 00:38:53 +0000 (02:38 +0200)]
udevtest: print header that ENV{} can't work

14 years agoupdate source file headers
Kay Sievers [Sun, 27 Aug 2006 22:29:11 +0000 (00:29 +0200)]
update source file headers

14 years agorun_program: close pipe fd's which are connected to child process
Marco d'Itri [Sun, 27 Aug 2006 00:53:16 +0000 (02:53 +0200)]
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.

14 years agoupdate Debian rules
Marco d'Itri [Sun, 27 Aug 2006 00:28:31 +0000 (02:28 +0200)]
update Debian rules

14 years agorename major/minor variable to maj/min to avoid warning
Kay Sievers [Thu, 24 Aug 2006 08:25:34 +0000 (10:25 +0200)]
rename major/minor variable to maj/min to avoid warning

14 years agouse fnmatch() instead of our own pattern match code
Kay Sievers [Thu, 24 Aug 2006 07:03:15 +0000 (09:03 +0200)]
use fnmatch() instead of our own pattern match code

14 years agoudev_db.c: include <sys/stat.h>
Kay Sievers [Wed, 23 Aug 2006 22:13:07 +0000 (00:13 +0200)]
udev_db.c: include <sys/stat.h>

14 years ago098 release
Kay Sievers [Tue, 22 Aug 2006 23:32:25 +0000 (01:32 +0200)]
098 release

14 years agoupdate Debian rules
Marco d'Itri [Tue, 22 Aug 2006 23:20:56 +0000 (01:20 +0200)]
update Debian rules

14 years agofix rc when using udev --daemon
Marco d'Itri [Tue, 22 Aug 2006 21:20:15 +0000 (23:20 +0200)]
fix rc when using udev --daemon

14 years agoman: add ATTR{file}="value" assignment
Kay Sievers [Mon, 21 Aug 2006 00:39:22 +0000 (02:39 +0200)]
man: add ATTR{file}="value" assignment

14 years agodb: don't create a db file for only a node name to store
Kay Sievers [Mon, 21 Aug 2006 00:38:48 +0000 (02:38 +0200)]
db: don't create a db file for only a node name to store

14 years agocleanup commandline argument handling
Kay Sievers [Mon, 21 Aug 2006 00:38:20 +0000 (02:38 +0200)]
cleanup commandline argument handling

Print and log failure, but don't fail for tools which are
usually not used iteractively. Add '--help' to all tools.

14 years agouse new key names in test programs
Kay Sievers [Sun, 20 Aug 2006 17:11:32 +0000 (19:11 +0200)]
use new key names in test programs

14 years agoalways expect KEY{value} on ATTR, ATTRS, ENV keys
Kay Sievers [Sun, 20 Aug 2006 17:08:37 +0000 (19:08 +0200)]
always expect KEY{value} on ATTR, ATTRS, ENV keys

14 years agoremove built-in /etc/passwd /etc/group parser
Kay Sievers [Sun, 20 Aug 2006 16:25:57 +0000 (18:25 +0200)]
remove built-in /etc/passwd /etc/group parser

14 years agovol_id: use primary group of 'nobody' instead of 'nogroup'
Kay Sievers [Sun, 20 Aug 2006 16:24:34 +0000 (18:24 +0200)]
vol_id: use primary group of 'nobody' instead of 'nogroup'

This fixes a Fedora issue not having the group 'nogroup'.

14 years agovolume_id: add suspend partition detection
Kay Sievers [Sun, 20 Aug 2006 16:23:48 +0000 (18:23 +0200)]
volume_id: add suspend partition detection

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

14 years agoudevtrigger: add --retry-failed
Kay Sievers [Sun, 20 Aug 2006 16:22:44 +0000 (18:22 +0200)]
udevtrigger: add --retry-failed

14 years agofix 'unknow user' error from getpwnam/getgrnam
Marco d'Itri [Sun, 20 Aug 2006 16:21:50 +0000 (18:21 +0200)]
fix 'unknow user' error from getpwnam/getgrnam

14 years agofix typo in SUBSYSTEMS key parsing
Kay Sievers [Sun, 20 Aug 2006 16:20:55 +0000 (18:20 +0200)]
fix typo in SUBSYSTEMS key parsing

14 years agoexport DRIVER for older kernels as a replacement for PHYSDEVDRIVER
Kay Sievers [Sun, 20 Aug 2006 16:19:08 +0000 (18:19 +0200)]
export DRIVER for older kernels as a replacement for PHYSDEVDRIVER

14 years agoupdate default rules
Kay Sievers [Sun, 20 Aug 2006 16:18:24 +0000 (18:18 +0200)]
update default rules

14 years agoupdate SUSE rules
Kay Sievers [Sun, 20 Aug 2006 16:17:58 +0000 (18:17 +0200)]
update SUSE rules

14 years agointroduce ATTR{file}="value" to set sysfs attributes
Kay Sievers [Sun, 20 Aug 2006 16:16:27 +0000 (18:16 +0200)]
introduce ATTR{file}="value" to set sysfs attributes

14 years agoskip rule, if too may keys of the same type are used
Kay Sievers [Sun, 20 Aug 2006 16:15:29 +0000 (18:15 +0200)]
skip rule, if too may keys of the same type are used

14 years agoconsistent key naming to match only the event device or include all parent devices
Kay Sievers [Sat, 19 Aug 2006 14:06:25 +0000 (16:06 +0200)]
consistent key naming to match only the event device or include all parent devices

This scheme is more consistent and makes it obvious if a match happens
against the event device only, or the full chain of parent devices.

The old key names are now:
  BUS -> SUBSYSTEMS
  ID -> KERNELS
  SYSFS -> ATTRS
  DRIVER -> DRIVERS

Match keys for the event device:
  KERNEL
  SUBSYSTEM
  ATTR
  DRIVER (in a future release, for now the same as DRIVERS)

Match keys for all devices along the parent device chain:
  KERNELS
  SUBSYSTEMS
  ATTRS
  DRIVERS

ID, BUS, SYSFS are no longer mentioned in the man page but still work.
DRIVER must be converted to DRIVERS to match the new scheme. For now,
an error is logged, if DRIVER is used. In a future release, the DRIVER
key behaviour will change.

14 years agoselinux: init once in the daemon, not in every event process
Harald Hoyer [Fri, 18 Aug 2006 01:47:59 +0000 (03:47 +0200)]
selinux: init once in the daemon, not in every event process