platform/upstream/systemd.git
13 years agorules: implement TAGS== match
Kay Sievers [Wed, 25 May 2011 19:08:52 +0000 (21:08 +0200)]
rules: implement TAGS== match

13 years agorules: fix whitespace
Kay Sievers [Wed, 25 May 2011 18:07:34 +0000 (20:07 +0200)]
rules: fix whitespace

13 years agosystemd: add missing socket files
Kay Sievers [Wed, 25 May 2011 11:30:16 +0000 (13:30 +0200)]
systemd: add missing socket files

13 years agosystemd: split socket file
Kay Sievers [Tue, 24 May 2011 22:56:48 +0000 (00:56 +0200)]
systemd: split socket file

13 years agolibudev: monitor - use SOCK_NONBLOCK
Kay Sievers [Mon, 23 May 2011 20:37:02 +0000 (22:37 +0200)]
libudev: monitor - use SOCK_NONBLOCK

13 years agoconfigure: allow usb.ids location to be specified
Scott James Remnant [Fri, 20 May 2011 21:06:29 +0000 (14:06 -0700)]
configure: allow usb.ids location to be specified

We already allow the pci.ids location to be specified, so add a
patch doing the same for usb.ids. Please don't make me explain
why this is necessary, it will only make you cry.

Signed-off-by: Scott James Remnant <scott@netsplit.com>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoupdate TODO
Kay Sievers [Sat, 21 May 2011 22:55:32 +0000 (00:55 +0200)]
update TODO

13 years agoupdate TODO
Kay Sievers [Fri, 20 May 2011 17:01:21 +0000 (19:01 +0200)]
update TODO

13 years agosystemd: set socket buffer size to 128 MB like udev has
Kay Sievers [Fri, 20 May 2011 16:54:41 +0000 (18:54 +0200)]
systemd: set socket buffer size to 128 MB like udev has

13 years agosystemd: trigger - run after udev.service (for now)
Kay Sievers [Fri, 20 May 2011 15:44:28 +0000 (17:44 +0200)]
systemd: trigger - run after udev.service (for now)

With the systemd socket buffer we could run trigger in parallel with
the udev daemon startup, but we need to teach systemd to have a socket
buffer of 128MB. Revert that for now until we are ready ...

13 years agosystemd: sort trigger after socket
Kay Sievers [Fri, 20 May 2011 15:08:06 +0000 (17:08 +0200)]
systemd: sort trigger after socket

13 years agosystemd: Replace Requires= with Wants=, run trigger in parallel
Kay Sievers [Fri, 20 May 2011 15:04:21 +0000 (17:04 +0200)]
systemd: Replace Requires= with Wants=, run trigger in parallel

13 years agolibudev: device - make a bunch of symbols static
Kay Sievers [Fri, 20 May 2011 13:36:27 +0000 (15:36 +0200)]
libudev: device - make a bunch of symbols static

13 years agolibudev: export symbols explicitely and individually from C code not from separate...
Kay Sievers [Fri, 20 May 2011 12:41:10 +0000 (14:41 +0200)]
libudev: export symbols explicitely and individually from C code not from separate file or prefix match

13 years agorelease 170
Kay Sievers [Thu, 19 May 2011 21:15:46 +0000 (23:15 +0200)]
release 170

13 years agolibudev: ctrl - properly wait for incoming message after connect
Kay Sievers [Thu, 19 May 2011 20:57:46 +0000 (22:57 +0200)]
libudev: ctrl - properly wait for incoming message after connect

13 years agoconfigure.ac: fixes for rule_generator and modeswitch
Michal Soltys [Thu, 19 May 2011 11:35:17 +0000 (13:35 +0200)]
configure.ac: fixes for rule_generator and modeswitch

13 years agorelease 169
Kay Sievers [Wed, 18 May 2011 17:05:06 +0000 (19:05 +0200)]
release 169

13 years agoudevadm: settle: wake up more often if --seq-start= or --exit-if-exists= is used
Kay Sievers [Wed, 18 May 2011 16:58:04 +0000 (18:58 +0200)]
udevadm: settle: wake up more often if --seq-start= or --exit-if-exists= is used

13 years agobuild: use --gc-sections, -fvisibility=hidden
Kay Sievers [Wed, 18 May 2011 16:29:24 +0000 (18:29 +0200)]
build: use --gc-sections, -fvisibility=hidden

After:
  # ls -l /sbin/udevadm /sbin/udevd /lib/udev/*_id
  -rwxr-xr-x 1 root root  22984 May 18 18:19 /lib/udev/ata_id
  -rwxr-xr-x 1 root root  31208 May 18 18:19 /lib/udev/cdrom_id
  -rwxr-xr-x 1 root root  27128 May 18 18:19 /lib/udev/input_id
  -rwxr-xr-x 1 root root  31272 May 18 18:19 /lib/udev/path_id
  -rwxr-xr-x 1 root root  31896 May 18 18:19 /lib/udev/scsi_id
  -rwxr-xr-x 1 root root  35456 May 18 18:19 /lib/udev/usb_id
  -rwxr-xr-x 1 root root   6416 May 18 18:19 /lib/udev/v4l_id
  -rwxr-xr-x 1 root root 130320 May 18 18:19 /sbin/udevadm
  -rwxr-xr-x 1 root root 134648 May 18 18:19 /sbin/udevd

Before:
  # ls -l /sbin/udevadm /sbin/udevd /lib/udev/*_id
  -rwxr-xr-x 1 root root  27208 May 18 18:22 /lib/udev/ata_id
  -rwxr-xr-x 1 root root  35456 May 18 18:22 /lib/udev/cdrom_id
  -rwxr-xr-x 1 root root  39584 May 18 18:22 /lib/udev/input_id
  -rwxr-xr-x 1 root root  39600 May 18 18:22 /lib/udev/path_id
  -rwxr-xr-x 1 root root  36056 May 18 18:22 /lib/udev/scsi_id
  -rwxr-xr-x 1 root root  43712 May 18 18:22 /lib/udev/usb_id
  -rwxr-xr-x 1 root root   6504 May 18 18:22 /lib/udev/v4l_id
  -rwxr-xr-x 1 root root 142656 May 18 18:22 /sbin/udevadm
  -rwxr-xr-x 1 root root 142888 May 18 18:22 /sbin/udevd

13 years agoudate TODO, NEWS, INSTALL
Kay Sievers [Wed, 18 May 2011 02:01:17 +0000 (04:01 +0200)]
udate TODO, NEWS, INSTALL

13 years agoMerge branch 'docs/udev.xml' of git://github.com/mfwitten/udev
Kay Sievers [Tue, 17 May 2011 22:59:37 +0000 (00:59 +0200)]
Merge branch 'docs/udev.xml' of git://github.com/mfwitten/udev

13 years agoupdate TODO
Kay Sievers [Tue, 17 May 2011 18:28:30 +0000 (20:28 +0200)]
update TODO

13 years agolibudev: queue - accept NULL passed into udev_queue_export_cleanup()
Nix [Mon, 16 May 2011 20:51:38 +0000 (22:51 +0200)]
libudev: queue - accept NULL passed into udev_queue_export_cleanup()

13 years agolibudev: device - use DEVMODE from kernel as the default mode
Kay Sievers [Mon, 16 May 2011 20:04:02 +0000 (22:04 +0200)]
libudev: device - use DEVMODE from kernel as the default mode

13 years agolibudev: queue - always rebuild queue file when nothing is queued anymore
Kay Sievers [Mon, 16 May 2011 17:13:42 +0000 (19:13 +0200)]
libudev: queue - always rebuild queue file when nothing is queued anymore

13 years agocdrom_id: remove unused --export switch to silent gcc
Kay Sievers [Mon, 16 May 2011 16:11:50 +0000 (18:11 +0200)]
cdrom_id: remove unused --export switch to silent gcc

13 years agogudev: silent gtk-doc warnings
Kay Sievers [Mon, 16 May 2011 14:24:08 +0000 (16:24 +0200)]
gudev: silent gtk-doc warnings

13 years agoudevd: remove left-over SIGALRM
Kay Sievers [Mon, 16 May 2011 11:18:28 +0000 (13:18 +0200)]
udevd: remove left-over SIGALRM

13 years agoudevd: create queue file before daemonizing to reliably block 'settle'
Kay Sievers [Mon, 16 May 2011 11:17:48 +0000 (13:17 +0200)]
udevd: create queue file before daemonizing to reliably block 'settle'

13 years agoupdate TODO
Kay Sievers [Mon, 16 May 2011 11:15:41 +0000 (13:15 +0200)]
update TODO

13 years agoupdate INSTALL, NEWS, configure comment, queue doc
Kay Sievers [Tue, 10 May 2011 12:58:49 +0000 (14:58 +0200)]
update INSTALL, NEWS, configure comment, queue doc

13 years agoconfigure: reintroduce introspection flags to fix crosscompilation
Koen Kooi [Tue, 10 May 2011 11:40:39 +0000 (13:40 +0200)]
configure: reintroduce introspection flags to fix crosscompilation

13 years agoupdate NEWS
Kay Sievers [Thu, 5 May 2011 17:47:12 +0000 (19:47 +0200)]
update NEWS

13 years agolibudev: ctrl - log accept4() errors
Kay Sievers [Thu, 5 May 2011 17:17:09 +0000 (19:17 +0200)]
libudev: ctrl - log accept4() errors

13 years agobump requirement to Linux kernel 2.6.32 and ARM 2.6.36
Kay Sievers [Thu, 5 May 2011 16:58:58 +0000 (18:58 +0200)]
bump requirement to Linux kernel 2.6.32 and ARM 2.6.36

13 years agoupdate TODO/NEWS
Kay Sievers [Fri, 29 Apr 2011 19:16:53 +0000 (21:16 +0200)]
update TODO/NEWS

13 years agodelete hid2hci which moved to the bluez tree
Kay Sievers [Fri, 29 Apr 2011 12:31:53 +0000 (14:31 +0200)]
delete hid2hci which moved to the bluez tree

13 years agoconfigure: allow to enable/disable extras individually
Kay Sievers [Fri, 29 Apr 2011 12:27:11 +0000 (14:27 +0200)]
configure: allow to enable/disable extras individually

      - remove gobject introspection switch
      - disable hid2hci by default (moved to bluez)
      - disable action-modeswitch by default (will move to usb_modeswitch)
      - disable edd_id by default (problems with disk signatures)
      - disable legacy floppy by default (no more nasty device node hacks by default)

13 years agoudevd: improve error message in case exec() fails
Kay Sievers [Thu, 28 Apr 2011 12:58:06 +0000 (14:58 +0200)]
udevd: improve error message in case exec() fails

13 years agoset event timeout to 60 sec and settle timeout to 120
Kay Sievers [Wed, 27 Apr 2011 22:04:17 +0000 (00:04 +0200)]
set event timeout to 60 sec and settle timeout to 120

13 years agohid2hci: prepare move to bluez package
Kay Sievers [Tue, 26 Apr 2011 23:10:04 +0000 (01:10 +0200)]
hid2hci: prepare move to bluez package

13 years agoremove dead fstab_import files
Kay Sievers [Tue, 26 Apr 2011 21:04:44 +0000 (23:04 +0200)]
remove dead fstab_import files

13 years agolibudev: queue - _unref() should return the object
Kay Sievers [Sat, 23 Apr 2011 22:36:22 +0000 (00:36 +0200)]
libudev: queue - _unref() should return the object

13 years agolibudev: list - use bit flags for 'sort' and 'unique'
Kay Sievers [Sat, 23 Apr 2011 22:22:23 +0000 (00:22 +0200)]
libudev: list - use bit flags for 'sort' and 'unique'

13 years agosimplify rules file overwrite logic
Kay Sievers [Sat, 23 Apr 2011 21:33:11 +0000 (23:33 +0200)]
simplify rules file overwrite logic

The udev list already provides all we need, if we use the basename
as the key, and request sorting and uniqueness.

13 years agorelease 168
Kay Sievers [Fri, 22 Apr 2011 16:29:05 +0000 (18:29 +0200)]
release 168

13 years agoudevd, udev-event: sync waitpid() error handling
Kay Sievers [Thu, 21 Apr 2011 12:05:34 +0000 (14:05 +0200)]
udevd, udev-event: sync waitpid() error handling

13 years agoudevd: clarify worker exit status
Harald Hoyer [Thu, 21 Apr 2011 08:06:12 +0000 (10:06 +0200)]
udevd: clarify worker exit status

13 years agosystemd: Reqires= -> Wants=udev.socket
Kay Sievers [Wed, 20 Apr 2011 23:13:28 +0000 (01:13 +0200)]
systemd: Reqires= -> Wants=udev.socket

13 years agopath_id: rework SAS device handling
Michael Reed [Wed, 20 Apr 2011 18:25:16 +0000 (20:25 +0200)]
path_id: rework SAS device handling

Lun numbers < 256 are displayed as "lun-x".  Lun numbers >= 256 use
the lun number format previously used in fibre channel by-path
links, 0xabcd012300000000. This lun numbering scheme is implemented
for sas, fibre channel, iscsi.

I want it to be clearly understood that this patch changes the
/dev/disk/by-path names for fc devices.  Here is an example of the
change:
  Old: pci-0000:0c:00.1-fc-0x204700a0b81130aa:0x00fa000000000000
  New: pci-0000:0c:00.1-fc-0x204700a0b81130aa-lun-250

13 years agoudevd: log signal number when spawned processes fail
Kay Sievers [Wed, 20 Apr 2011 16:36:01 +0000 (18:36 +0200)]
udevd: log signal number when spawned processes fail

13 years agoudevd: rules files - accept empty or /dev/null links
Kay Sievers [Wed, 20 Apr 2011 15:58:58 +0000 (17:58 +0200)]
udevd: rules files - accept empty or /dev/null links

13 years agoudevd: always use udevd[] log prefix
Kay Sievers [Wed, 20 Apr 2011 15:39:44 +0000 (17:39 +0200)]
udevd: always use udevd[] log prefix

13 years agoudevd: netif rename - use ifindex for temporary name
Kay Sievers [Wed, 20 Apr 2011 15:30:30 +0000 (17:30 +0200)]
udevd: netif rename - use ifindex for temporary name

13 years agoudevadm: settle - kill alarm()
Kay Sievers [Wed, 20 Apr 2011 00:18:22 +0000 (02:18 +0200)]
udevadm: settle - kill alarm()

13 years agotimeout handling without alarm()
Kay Sievers [Tue, 19 Apr 2011 23:53:03 +0000 (01:53 +0200)]
timeout handling without alarm()

13 years agokeymap: Another ID for Logitech Wave keyboard
Martin Pitt [Mon, 18 Apr 2011 11:34:42 +0000 (13:34 +0200)]
keymap: Another ID for Logitech Wave keyboard

http://bugs.debian.org/623153

13 years agorule-generator: net - ignore Hyper-V virtual interfaces
Leonid Antonenkov [Mon, 18 Apr 2011 03:11:53 +0000 (05:11 +0200)]
rule-generator: net - ignore Hyper-V virtual interfaces

13 years agoMerge branch 'docs/README' of git://github.com/mfwitten/udev
Kay Sievers [Mon, 18 Apr 2011 03:06:59 +0000 (05:06 +0200)]
Merge branch 'docs/README' of git://github.com/mfwitten/udev

13 years agoudevd: ppoll() -> epoll + signalfd
Kay Sievers [Mon, 18 Apr 2011 00:14:24 +0000 (02:14 +0200)]
udevd: ppoll() -> epoll + signalfd

13 years agolibudev: run_program() - select() -> epoll
Kay Sievers [Mon, 18 Apr 2011 00:13:40 +0000 (02:13 +0200)]
libudev: run_program() - select() -> epoll

13 years agouse 'else if' in epoll event array loop
Kay Sievers [Sun, 17 Apr 2011 20:10:18 +0000 (22:10 +0200)]
use 'else if' in epoll event array loop

13 years agoudevadm: test - use printf() instead of info() for non-debug output
Kay Sievers [Sun, 17 Apr 2011 20:09:08 +0000 (22:09 +0200)]
udevadm:  test - use printf() instead of info() for non-debug output

13 years agolibudev: test - use epoll
Kay Sievers [Fri, 15 Apr 2011 10:18:06 +0000 (12:18 +0200)]
libudev: test - use epoll

13 years agoudevadm: monitor - use epoll
Kay Sievers [Fri, 15 Apr 2011 09:58:17 +0000 (11:58 +0200)]
udevadm: monitor - use epoll

13 years agosystemd: socket -> sockets
Kay Sievers [Thu, 14 Apr 2011 23:43:27 +0000 (01:43 +0200)]
systemd: socket -> sockets

13 years agolibudev: ctrl, monitor - use SOCK_NONBLOCK
Kay Sievers [Thu, 14 Apr 2011 23:14:10 +0000 (01:14 +0200)]
libudev: ctrl, monitor - use SOCK_NONBLOCK

13 years agofix more warnings
Kay Sievers [Thu, 14 Apr 2011 22:19:45 +0000 (00:19 +0200)]
fix more warnings

13 years agoudevd: get netlink socket from systemd
Kay Sievers [Thu, 14 Apr 2011 21:46:44 +0000 (23:46 +0200)]
udevd: get netlink socket from systemd

13 years agorequire explicit "db_persist" to exclude device info from --db-cleanup
Kay Sievers [Thu, 14 Apr 2011 12:44:56 +0000 (14:44 +0200)]
require explicit "db_persist" to exclude device info from --db-cleanup

13 years agosystemd: add OOMScoreAdjust=-1000
Kay Sievers [Thu, 14 Apr 2011 12:44:21 +0000 (14:44 +0200)]
systemd: add OOMScoreAdjust=-1000

13 years agoudevd: move OOM disable into --daemon option
Kay Sievers [Thu, 14 Apr 2011 12:43:22 +0000 (14:43 +0200)]
udevd: move OOM disable into --daemon option

13 years ago"db_persist=" -> "db_persist"
Kay Sievers [Thu, 14 Apr 2011 10:42:59 +0000 (12:42 +0200)]
"db_persist=" -> "db_persist"

13 years agoudevd: do not nice processes
Kay Sievers [Thu, 14 Apr 2011 10:25:19 +0000 (12:25 +0200)]
udevd: do not nice processes

13 years agoudevadm: info --cleanup-db
Kay Sievers [Wed, 13 Apr 2011 20:33:01 +0000 (22:33 +0200)]
udevadm: info --cleanup-db

Most of the udev database from initramfs should be deleted before
starting udev in the real root. udevadm: info --cleanup-db deletes
all database entries in /run/udev. Events that processed IMPORT{db},
or mark devices explicitely as persistent, will be excluded.

13 years agolibudev: bump revision
Kay Sievers [Wed, 13 Apr 2011 16:46:02 +0000 (18:46 +0200)]
libudev: bump revision

13 years agoudevadm: settle - watch queue file
Kay Sievers [Wed, 13 Apr 2011 16:44:28 +0000 (18:44 +0200)]
udevadm: settle - watch queue file

13 years agolibudev: ctrl - fix refcounting in connection handling
Kay Sievers [Wed, 13 Apr 2011 16:21:47 +0000 (18:21 +0200)]
libudev: ctrl - fix refcounting in connection handling

13 years agoudevd: log warning if /run is not writable
Kay Sievers [Wed, 13 Apr 2011 13:01:00 +0000 (15:01 +0200)]
udevd: log warning if /run is not writable

13 years agotrivial cleanups
Kay Sievers [Tue, 12 Apr 2011 23:47:56 +0000 (01:47 +0200)]
trivial cleanups

13 years agoudevadm: control - add --exit
Kay Sievers [Tue, 12 Apr 2011 23:17:09 +0000 (01:17 +0200)]
udevadm: control - add --exit

13 years agoDocs: udev.xml: Fix dangling modifier
Michael Witten [Mon, 11 Apr 2011 04:16:31 +0000 (04:16 +0000)]
Docs: udev.xml: Fix dangling modifier

13 years agoDocs: udev.xml: Improved word order
Michael Witten [Mon, 11 Apr 2011 03:51:43 +0000 (03:51 +0000)]
Docs: udev.xml: Improved word order

13 years agoDocs: udev.xml: Clarify through a change in word ordering
Michael Witten [Mon, 11 Apr 2011 03:50:42 +0000 (03:50 +0000)]
Docs: udev.xml: Clarify through a change in word ordering

13 years agoDocs: udev.xml: `comma-separated' is a better description
Michael Witten [Mon, 11 Apr 2011 03:50:11 +0000 (03:50 +0000)]
Docs: udev.xml: `comma-separated' is a better description

13 years agoDocs: udev.xml: `char' -> `character'
Michael Witten [Mon, 11 Apr 2011 03:44:43 +0000 (03:44 +0000)]
Docs: udev.xml: `char' -> `character'

13 years agoDocs: udev.xml: Add comma
Michael Witten [Mon, 11 Apr 2011 03:43:16 +0000 (03:43 +0000)]
Docs: udev.xml: Add comma

13 years agoDocs: udev.xml: Actually make a separate paragraph
Michael Witten [Mon, 11 Apr 2011 01:30:25 +0000 (01:30 +0000)]
Docs: udev.xml: Actually make a separate paragraph

13 years agoDocs: udev.xml: Use normal sentence structure
Michael Witten [Mon, 11 Apr 2011 01:29:37 +0000 (01:29 +0000)]
Docs: udev.xml: Use normal sentence structure

13 years agoDocs: udev.xml: Clean up introduction to substitutions.
Michael Witten [Mon, 11 Apr 2011 01:12:52 +0000 (01:12 +0000)]
Docs: udev.xml: Clean up introduction to substitutions.

For one thing, they are not at all like printf conversion specifications.

13 years agoDocs: udev.xml: `a' -> `the'
Michael Witten [Mon, 11 Apr 2011 01:07:35 +0000 (01:07 +0000)]
Docs: udev.xml: `a' -> `the'

13 years agoDocs: udev.xml: Clean up WAIT_FOR description
Michael Witten [Mon, 11 Apr 2011 01:00:57 +0000 (01:00 +0000)]
Docs: udev.xml: Clean up WAIT_FOR description

13 years agoDocs: udev.xml: `commandline' -> `command line'
Michael Witten [Mon, 11 Apr 2011 00:57:39 +0000 (00:57 +0000)]
Docs: udev.xml: `commandline' -> `command line'

13 years agoDocs: udev.xml: `which' -> `content of which'
Michael Witten [Mon, 11 Apr 2011 00:56:21 +0000 (00:56 +0000)]
Docs: udev.xml: `which' -> `content of which'

13 years agoDocs: udev.xml: Add missing `.'
Michael Witten [Fri, 8 Apr 2011 23:34:52 +0000 (23:34 +0000)]
Docs: udev.xml: Add missing `.'

Signed-off-by: Michael Witten <mfwitten@gmail.com>
13 years agoDocs: udev.xml: Clean up description of LABEL assignment key
Michael Witten [Fri, 8 Apr 2011 23:32:52 +0000 (23:32 +0000)]
Docs: udev.xml: Clean up description of LABEL assignment key

Signed-off-by: Michael Witten <mfwitten@gmail.com>
13 years agoDocs: udev.xml: Clean up description of RUN assignment key
Michael Witten [Fri, 8 Apr 2011 23:32:09 +0000 (23:32 +0000)]
Docs: udev.xml: Clean up description of RUN assignment key

Signed-off-by: Michael Witten <mfwitten@gmail.com>
13 years agoDocs: udev.xml: Clean up description of ENV assignment key
Michael Witten [Fri, 8 Apr 2011 23:24:03 +0000 (23:24 +0000)]
Docs: udev.xml: Clean up description of ENV assignment key

Signed-off-by: Michael Witten <mfwitten@gmail.com>
13 years agoDocs: udev.xml: Clean up description of SYMLINK assignment key
Michael Witten [Fri, 8 Apr 2011 23:21:51 +0000 (23:21 +0000)]
Docs: udev.xml: Clean up description of SYMLINK assignment key

Signed-off-by: Michael Witten <mfwitten@gmail.com>