chiark / gitweb /
elogind.git
17 years agorelease 099
Kay Sievers [Wed, 6 Sep 2006 20:18:04 +0000 (22:18 +0200)]
release 099

17 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 '-'

17 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

17 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.

17 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

17 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

17 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

17 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}"

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

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

17 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

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

17 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

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

17 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

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

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

17 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

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

17 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

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

17 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.

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

17 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

17 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

17 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>

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

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

17 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

17 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

17 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

17 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.

17 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

17 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

17 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

17 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'.

17 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>

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

17 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

17 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

17 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

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

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

17 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

17 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

17 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.

17 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

17 years agolookup_user, lookup_group: report "unknown user" and "lookup failed"
Kay Sievers [Fri, 18 Aug 2006 01:15:26 +0000 (03:15 +0200)]
lookup_user, lookup_group: report "unknown user" and "lookup failed"

Patch from Marco, but both cases are reported as an error.

17 years agoudevinfo, udevtest: simplify '/sys' stripping from devpath argument
Kay Sievers [Fri, 18 Aug 2006 00:33:46 +0000 (02:33 +0200)]
udevinfo, udevtest: simplify '/sys' stripping from devpath argument

17 years agoudevinfo: allow -a -n <node>
Kay Sievers [Fri, 18 Aug 2006 00:31:37 +0000 (02:31 +0200)]
udevinfo: allow -a -n <node>

17 years agodb: store devpath - node relationship for all devices
Kay Sievers [Fri, 18 Aug 2006 00:27:16 +0000 (02:27 +0200)]
db: store devpath - node relationship for all devices

If we don't have any interesting values to store, we just use
a symlink (doesn't occupy a whole page on tmpfs like a file)
to store the name of the node belonging to a devpath. This will
allow udevinfo to resolve all names, even when we don't have a
full database entry.

17 years agoudevtest: allow /sys in the devpath paramter
Alex Merry [Thu, 17 Aug 2006 19:14:45 +0000 (21:14 +0200)]
udevtest: allow /sys in the devpath paramter

17 years agoman pages: fix typos
Michał Bartoszkiewicz [Wed, 16 Aug 2006 22:58:37 +0000 (00:58 +0200)]
man pages: fix typos

17 years agorename udev_libc_wrapper -> udev_sysdeps
Kay Sievers [Wed, 16 Aug 2006 00:04:04 +0000 (02:04 +0200)]
rename udev_libc_wrapper -> udev_sysdeps

17 years agovolume_id: fix fat32 cluster chain traversal
Lennart Poettering [Tue, 15 Aug 2006 21:53:14 +0000 (23:53 +0200)]
volume_id: fix fat32 cluster chain traversal

17 years agoman page: fix typo
Kay Sievers [Tue, 15 Aug 2006 17:38:13 +0000 (19:38 +0200)]
man page: fix typo

17 years agoudevd: remove huge socket buffer on the control socket
Kay Sievers [Mon, 14 Aug 2006 22:00:16 +0000 (00:00 +0200)]
udevd: remove huge socket buffer on the control socket

17 years ago097 release
Kay Sievers [Sun, 13 Aug 2006 03:34:05 +0000 (05:34 +0200)]
097 release

17 years agoudevd: read DRIVER from the environment
Kay Sievers [Sun, 13 Aug 2006 03:32:09 +0000 (05:32 +0200)]
udevd: read DRIVER from the environment

17 years agoupdate SUSE rules
Kay Sievers [Sun, 13 Aug 2006 02:24:40 +0000 (04:24 +0200)]
update SUSE rules

17 years agodon't report an error on overlong comment lines
Kay Sievers [Sun, 13 Aug 2006 02:23:16 +0000 (04:23 +0200)]
don't report an error on overlong comment lines

17 years agoupdate Fedora rules
Kay Sievers [Sun, 13 Aug 2006 02:22:21 +0000 (04:22 +0200)]
update Fedora rules

17 years agoadd late.rules to default rules
Kay Sievers [Fri, 11 Aug 2006 14:41:52 +0000 (16:41 +0200)]
add late.rules to default rules

17 years agoadd 'crypto' devices to persistent storage rules
Kay Sievers [Fri, 11 Aug 2006 14:41:15 +0000 (16:41 +0200)]
add 'crypto' devices to persistent storage rules

17 years agoadd joystick support to persistent input rules
Anssi Hannula [Fri, 11 Aug 2006 14:40:20 +0000 (16:40 +0200)]
add joystick support to persistent input rules

17 years agomove default rules to etc/udev/rules.d/
Kay Sievers [Fri, 11 Aug 2006 12:48:38 +0000 (14:48 +0200)]
move default rules to etc/udev/rules.d/

17 years agoupdate SUSE rules
Kay Sievers [Fri, 11 Aug 2006 12:39:13 +0000 (14:39 +0200)]
update SUSE rules

17 years agoupdate frugalware rules
Kay Sievers [Thu, 10 Aug 2006 12:26:18 +0000 (14:26 +0200)]
update frugalware rules

17 years agoudevd: autotune max_childs/max_childs_running
Kay Sievers [Thu, 10 Aug 2006 10:50:53 +0000 (12:50 +0200)]
udevd: autotune max_childs/max_childs_running

17 years agoupdate slackware rules
Piter PUNK [Tue, 8 Aug 2006 16:10:16 +0000 (18:10 +0200)]
update slackware rules

17 years agoupdate README
Kay Sievers [Mon, 7 Aug 2006 01:13:27 +0000 (03:13 +0200)]
update README

17 years agoudevd: remove useless udevinitsend parameter
Kay Sievers [Sat, 5 Aug 2006 17:18:41 +0000 (19:18 +0200)]
udevd: remove useless udevinitsend parameter

17 years agoinitialize unused sockets to -1
Kay Sievers [Sat, 5 Aug 2006 11:24:05 +0000 (13:24 +0200)]
initialize unused sockets to -1

17 years agorename udevcontrol message types and variables
Kay Sievers [Sat, 5 Aug 2006 11:22:44 +0000 (13:22 +0200)]
rename udevcontrol message types and variables

17 years agoreport failing getpwnam/getgrnam as error
Kay Sievers [Sat, 5 Aug 2006 02:59:25 +0000 (04:59 +0200)]
report failing getpwnam/getgrnam as error

17 years agoswitch ifdef __KLIBC__ to ifndef __GLIBC__
Kay Sievers [Fri, 4 Aug 2006 22:35:05 +0000 (00:35 +0200)]
switch ifdef __KLIBC__ to ifndef __GLIBC__

17 years agolibvolume_id: read ufs2 label
Kay Sievers [Fri, 4 Aug 2006 22:02:58 +0000 (00:02 +0200)]
libvolume_id: read ufs2 label

Taken from the FreeBSD HAL repository.

17 years agoMakefile: fix dependency
Kay Sievers [Fri, 4 Aug 2006 22:00:15 +0000 (00:00 +0200)]
Makefile: fix dependency

17 years agoudevinfo: add DRIVER==
Kay Sievers [Sun, 30 Jul 2006 13:54:28 +0000 (15:54 +0200)]
udevinfo: add DRIVER==

17 years agorefresh vol_id man page
Kay Sievers [Sat, 29 Jul 2006 00:13:42 +0000 (02:13 +0200)]
refresh vol_id man page

17 years agoman pages: work around xmlto which tries to be smart
Kay Sievers [Sat, 29 Jul 2006 00:08:58 +0000 (02:08 +0200)]
man pages: work around xmlto which tries to be smart

17 years agoman pages: replace 'device-path' by 'devpath'
Kay Sievers [Fri, 28 Jul 2006 23:48:11 +0000 (01:48 +0200)]
man pages: replace 'device-path' by 'devpath'

17 years agopath_id: fix an harmless syntax error
Marco d'Itri [Fri, 28 Jul 2006 23:01:21 +0000 (01:01 +0200)]
path_id: fix an harmless syntax error

17 years agomake rename_netif() error messages useful
Marco d'Itri [Fri, 28 Jul 2006 23:00:16 +0000 (01:00 +0200)]
make rename_netif() error messages useful

17 years agoFix inotify syscalls on ARM
Richard Purdie [Thu, 27 Jul 2006 08:53:11 +0000 (10:53 +0200)]
Fix inotify syscalls on ARM

This patch fixes the inotify syscalls on ARM so they work. It uses
__NR_SYSCALL_BASE from the libc headers (via sys/syscall.h) as this
value depends on which ABI you're using and trying to work that out gets
complicated.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
17 years agolibvolume_id: add parameter 'size' to all probe functions
Kay Sievers [Tue, 25 Jul 2006 12:59:50 +0000 (14:59 +0200)]
libvolume_id: add parameter 'size' to all probe functions

17 years agoremove 'static' from local variable
Kay Sievers [Tue, 25 Jul 2006 12:45:09 +0000 (14:45 +0200)]
remove 'static' from local variable

17 years agouse "change" instead of "online" events
Kay Sievers [Fri, 21 Jul 2006 20:31:58 +0000 (22:31 +0200)]
use "change" instead of "online" events

The kernel driver may send "change" to signify a device state
change and udev can possibly recreate symlinks.

17 years agoincrease /proc/stat read buffer
Kay Sievers [Fri, 21 Jul 2006 19:42:05 +0000 (21:42 +0200)]
increase /proc/stat read buffer

17 years agoswitch uevent netlink socket to group 1 only
Kay Sievers [Fri, 21 Jul 2006 19:41:11 +0000 (21:41 +0200)]
switch uevent netlink socket to group 1 only

17 years agovol_id: add --skip-raid and --probe-all option
Kay Sievers [Thu, 13 Jul 2006 14:59:01 +0000 (16:59 +0200)]
vol_id: add --skip-raid and --probe-all option

17 years agofirmware.sh: remove needless '/'
Kay Sievers [Tue, 11 Jul 2006 12:16:59 +0000 (14:16 +0200)]
firmware.sh: remove needless '/'

17 years ago096 release
Kay Sievers [Sun, 9 Jul 2006 19:48:19 +0000 (21:48 +0200)]
096 release

17 years agopath_id: prepare for new sysfs layout
Kay Sievers [Sun, 9 Jul 2006 19:32:55 +0000 (21:32 +0200)]
path_id: prepare for new sysfs layout

17 years agoallow longer devpath values
Kay Sievers [Thu, 6 Jul 2006 11:49:43 +0000 (13:49 +0200)]
allow longer devpath values

17 years agoMakefiles: fix .PHONY for man page target
Kay Sievers [Tue, 4 Jul 2006 16:41:07 +0000 (18:41 +0200)]
Makefiles: fix .PHONY for man page target

Thanks to David Härdeman for pointing it out.

17 years ago095 release
Kay Sievers [Tue, 4 Jul 2006 10:34:55 +0000 (12:34 +0200)]
095 release

17 years agoremove broken %e enumeration
Kay Sievers [Tue, 4 Jul 2006 10:27:00 +0000 (12:27 +0200)]
remove broken %e enumeration

17 years agoprint usage of udevcontrol when no or invalid command is given
Tobias Klauser [Sun, 2 Jul 2006 23:03:53 +0000 (01:03 +0200)]
print usage of udevcontrol when no or invalid command is given

17 years agonetif rename: optimistic loop for the name to become free
Kay Sievers [Sun, 2 Jul 2006 22:58:35 +0000 (00:58 +0200)]
netif rename: optimistic loop for the name to become free

Parts from Ubuntu's 70-ifrename.patch.