]> err.no Git - systemd/log
systemd
16 years agoudev-test.pl: remove left-over comment from --valgrind option
Kay Sievers [Wed, 3 Sep 2008 20:00:55 +0000 (22:00 +0200)]
udev-test.pl: remove left-over comment from --valgrind option

16 years agoudevadm: print warning to stderr if udevadm is called by symlink
Kay Sievers [Wed, 3 Sep 2008 19:59:21 +0000 (21:59 +0200)]
udevadm: print warning to stderr if udevadm is called by symlink

16 years agoudevadm: control - use getopt_long()
Kay Sievers [Wed, 3 Sep 2008 19:56:47 +0000 (21:56 +0200)]
udevadm: control - use getopt_long()

16 years agoudevadm: info - fix broken --device-id-of-file=
Kay Sievers [Wed, 3 Sep 2008 17:50:36 +0000 (19:50 +0200)]
udevadm: info - fix broken --device-id-of-file=

16 years agoremove deprecated envp[] in main()
Alan Jenkins [Tue, 2 Sep 2008 21:19:36 +0000 (23:19 +0200)]
remove deprecated envp[] in main()

envp is not standardized, and may become invalid when environment variables
are modified.  Since udev never actually uses it, we can simply remove it.

Should anyone miss it in future, they can use the standardized environ
variable - like udev_rules.c does already.

16 years agoudev_device_init() remove statically allocated device support
Kay Sievers [Mon, 1 Sep 2008 18:59:09 +0000 (20:59 +0200)]
udev_device_init() remove statically allocated device support

16 years agodo not needlessly declare some local variables in udev_rules_parse.c as static
Alan Jenkins [Mon, 1 Sep 2008 17:46:19 +0000 (19:46 +0200)]
do not needlessly declare some local variables in udev_rules_parse.c as static

16 years agolibudev: add udev_device_get_syspath()
Kay Sievers [Mon, 1 Sep 2008 16:52:22 +0000 (18:52 +0200)]
libudev: add udev_device_get_syspath()

16 years agolibudev: fix monitor documentation
Kay Sievers [Mon, 1 Sep 2008 14:41:41 +0000 (16:41 +0200)]
libudev: fix monitor documentation

16 years agoremove FAQ
Kay Sievers [Mon, 1 Sep 2008 14:40:31 +0000 (16:40 +0200)]
remove FAQ

16 years agovolume_id: fail on undefined __BYTE_ORDER
Kay Sievers [Mon, 1 Sep 2008 14:39:34 +0000 (16:39 +0200)]
volume_id: fail on undefined __BYTE_ORDER

16 years agolibudev: libudev.pc add Libs.private
Kay Sievers [Mon, 1 Sep 2008 14:38:10 +0000 (16:38 +0200)]
libudev: libudev.pc add Libs.private

16 years agofix uninitialized name_list error::ignore_error
Alan Jenkins [Mon, 1 Sep 2008 14:36:43 +0000 (16:36 +0200)]
fix uninitialized name_list error::ignore_error

Running udevd under valgrind (and then udevtrigger):

==17705== Conditional jump or move depends on uninitialised value(s)
==17705==    at 0x407BBB: udev_rules_run (udev_rules.c:522)
==17705==    by 0x4109F0: udev_event_process (udevd.c:145)
==17705==    by 0x410E2C: udev_event_run (udevd.c:251)
==17705==    by 0x411A8D: msg_queue_manager (udevd.c:581)
==17705==    by 0x41386B: main (udevd.c:1284)

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
16 years agoudev-test.pl: add --valgrind option
Kay Sievers [Mon, 1 Sep 2008 14:20:06 +0000 (16:20 +0200)]
udev-test.pl: add --valgrind option

16 years agofix dangling pointer returned by attr_get_by_subsys_id()
Kay Sievers [Mon, 1 Sep 2008 08:21:05 +0000 (10:21 +0200)]
fix dangling pointer returned by attr_get_by_subsys_id()

Thanks to Alan Jenkins <alan-jenkins@tuffmail.co.uk> for
finding this.

16 years agovolume_id: hfs - calculate proper uuid
Kay Sievers [Sun, 31 Aug 2008 10:20:24 +0000 (12:20 +0200)]
volume_id: hfs - calculate proper uuid

16 years agoautogen.sh: add --with-selinux
Kay Sievers [Sat, 30 Aug 2008 21:08:19 +0000 (23:08 +0200)]
autogen.sh: add --with-selinux

16 years agolibudev: fix --disable-log
Kay Sievers [Sat, 30 Aug 2008 21:07:50 +0000 (23:07 +0200)]
libudev: fix --disable-log

16 years agolibudev: add monitor documentation
Kay Sievers [Sat, 30 Aug 2008 14:16:37 +0000 (16:16 +0200)]
libudev: add monitor documentation

16 years agorelease 127
Kay Sievers [Fri, 29 Aug 2008 19:41:15 +0000 (21:41 +0200)]
release 127

16 years agolibudev: require LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
Kay Sievers [Fri, 29 Aug 2008 19:22:24 +0000 (21:22 +0200)]
libudev: require LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE

16 years agofirmware.sh: lookup lookup kernel provided firmware directory
Kay Sievers [Fri, 29 Aug 2008 19:00:43 +0000 (21:00 +0200)]
firmware.sh: lookup lookup kernel provided firmware directory

16 years agolibudev: link against selinux if needed
Kay Sievers [Fri, 29 Aug 2008 18:48:25 +0000 (20:48 +0200)]
libudev: link against selinux if needed

16 years agosplit udev_device.c to leave out rules handling from libudev
Kay Sievers [Fri, 29 Aug 2008 18:32:05 +0000 (20:32 +0200)]
split udev_device.c to leave out rules handling from libudev

16 years agovolume_id: remove left-over fd close()
Kay Sievers [Fri, 29 Aug 2008 15:06:08 +0000 (17:06 +0200)]
volume_id: remove left-over fd close()

16 years agovolume_id: remove deprecated functions and bump major version
Kay Sievers [Thu, 28 Aug 2008 21:39:41 +0000 (23:39 +0200)]
volume_id: remove deprecated functions and bump major version

16 years agolibudev: add udev event monitor API
Kay Sievers [Thu, 28 Aug 2008 21:05:01 +0000 (23:05 +0200)]
libudev: add udev event monitor API

16 years agoupdate INSTALL
Kay Sievers [Thu, 28 Aug 2008 20:58:03 +0000 (22:58 +0200)]
update INSTALL

16 years agolibudev: split source files
Kay Sievers [Wed, 27 Aug 2008 20:02:41 +0000 (22:02 +0200)]
libudev: split source files

16 years agolibudev: add library to access udev information
Kay Sievers [Wed, 27 Aug 2008 15:11:58 +0000 (17:11 +0200)]
libudev: add library to access udev information

16 years agorules: fix md rules for partitioned devices
Michal Soltys [Wed, 27 Aug 2008 14:58:10 +0000 (16:58 +0200)]
rules: fix md rules for partitioned devices

16 years agorules: optical drives - probe at last session offset, do not probe for raid
Kay Sievers [Fri, 22 Aug 2008 08:11:34 +0000 (10:11 +0200)]
rules: optical drives - probe at last session offset, do not probe for raid

16 years agovol_id: make the --offset= argument optional
Kay Sievers [Fri, 22 Aug 2008 08:04:55 +0000 (10:04 +0200)]
vol_id: make the --offset= argument optional

16 years agobuild: fix "make dist"
Kay Sievers [Wed, 13 Aug 2008 09:48:42 +0000 (11:48 +0200)]
build: fix "make dist"

16 years agoadd missing 'v' for "make changelog"
Kay Sievers [Wed, 13 Aug 2008 09:41:25 +0000 (11:41 +0200)]
add missing 'v' for "make changelog"

16 years agoupdate .gitignore
Kay Sievers [Wed, 13 Aug 2008 09:30:26 +0000 (11:30 +0200)]
update .gitignore

Based on Karel's patch. Thanks!

16 years agobuild-sys: remove non-POSIX variable names
Karel Zak [Tue, 12 Aug 2008 22:01:46 +0000 (00:01 +0200)]
build-sys: remove non-POSIX variable names

Makefile.am:24: shell echo $$(( $(VERSION: non-POSIX variable name
Makefile.am:24: (probably a GNU make extension)
Makefile.am:26: shell echo $$(($(VERSION: non-POSIX variable name
Makefile.am:26: (probably a GNU make extension)
Makefile.am:29: shell echo $$(($(VERSION: non-POSIX variable name
Makefile.am:29: (probably a GNU make extension)

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agobuild-sys: don't duplicate file names
Karel Zak [Tue, 12 Aug 2008 22:01:44 +0000 (00:01 +0200)]
build-sys: don't duplicate file names

Almost all filenames in udev/Makefile.am are duplicated in
{udevd,udevadm,test_udev}_SOURCE lists.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoadd some warnings
Kay Sievers [Tue, 12 Aug 2008 09:19:32 +0000 (11:19 +0200)]
add some warnings

16 years agoadd missing includes
Kay Sievers [Tue, 12 Aug 2008 09:18:39 +0000 (11:18 +0200)]
add missing includes

16 years agorules: Gentoo update
Kay Sievers [Mon, 11 Aug 2008 14:55:38 +0000 (16:55 +0200)]
rules: Gentoo update

16 years agorules: add isdn rules
Kay Sievers [Mon, 11 Aug 2008 08:34:36 +0000 (10:34 +0200)]
rules: add isdn rules

16 years agorules: add nvram
Kay Sievers [Mon, 11 Aug 2008 08:34:18 +0000 (10:34 +0200)]
rules: add nvram

16 years agorules: delete all distro rules which do not use default rules
Kay Sievers [Sat, 9 Aug 2008 20:06:59 +0000 (22:06 +0200)]
rules: delete all distro rules which do not use default rules

16 years agofix .gitignore
Kay Sievers [Sat, 9 Aug 2008 12:05:54 +0000 (14:05 +0200)]
fix .gitignore

16 years agoignore duplicated rules file names
Kay Sievers [Sat, 9 Aug 2008 12:05:01 +0000 (14:05 +0200)]
ignore duplicated rules file names

16 years agoudevadm: trigger - add missing attr filter to synthesized "subsystem" register events
Kay Sievers [Fri, 8 Aug 2008 20:39:32 +0000 (22:39 +0200)]
udevadm: trigger - add missing attr filter to synthesized "subsystem" register events

16 years agobuild: remove autopoint check
Kay Sievers [Fri, 8 Aug 2008 20:38:46 +0000 (22:38 +0200)]
build: remove autopoint check

16 years agoadd inotify dummy definitions if inotify is not available
Kay Sievers [Fri, 8 Aug 2008 20:36:58 +0000 (22:36 +0200)]
add inotify dummy definitions if inotify is not available

16 years agorelease 126
Kay Sievers [Sat, 2 Aug 2008 08:51:23 +0000 (10:51 +0200)]
release 126

16 years agorules: run vol_id on opticals only if media is found
Kay Sievers [Sat, 2 Aug 2008 08:26:48 +0000 (10:26 +0200)]
rules: run vol_id on opticals only if media is found

Opening an optical drive device node without O_NONBLOCK autocloses the
tray, we run vol_id on every media change by kernel emitted "change"
events, which can make it hard to change the media when the tray closes
immediatey again.:) We check for cdrom_id to indicate an existing track,
if no media is found, we will not open the device with vol_id.

Thanks to Christian Krause and DavidZ for debugging and testing.

16 years agorules: Debian update
Marco d'Itri [Thu, 31 Jul 2008 08:29:39 +0000 (10:29 +0200)]
rules: Debian update

16 years agovolume_id: create relative links
Kay Sievers [Wed, 30 Jul 2008 13:50:12 +0000 (15:50 +0200)]
volume_id: create relative links

16 years agovolume_id: move static lib to $prefix
Kay Sievers [Wed, 30 Jul 2008 12:45:43 +0000 (14:45 +0200)]
volume_id: move static lib to $prefix

16 years agoINSTALL: --enable-selinux not --with-selinux
Kay Sievers [Wed, 30 Jul 2008 11:57:51 +0000 (13:57 +0200)]
INSTALL: --enable-selinux not --with-selinux

16 years agoupdate ChangeLog
Kay Sievers [Wed, 30 Jul 2008 11:38:53 +0000 (13:38 +0200)]
update ChangeLog

16 years agorules: update Fedora rules
Kay Sievers [Wed, 30 Jul 2008 11:21:20 +0000 (13:21 +0200)]
rules: update Fedora rules

16 years agorules: mode 0660 for group "disk"
Kay Sievers [Wed, 30 Jul 2008 11:20:31 +0000 (13:20 +0200)]
rules: mode 0660 for group "disk"

16 years agouse autotools
Kay Sievers [Tue, 29 Jul 2008 23:45:23 +0000 (01:45 +0200)]
use autotools

16 years agodelete all Makefiles and move udev source to udev/
Kay Sievers [Tue, 29 Jul 2008 22:39:15 +0000 (00:39 +0200)]
delete all Makefiles and move udev source to udev/

16 years agouse proper directory lib/lib64 for libvolume_id
Thomas Koeller [Tue, 22 Jul 2008 13:57:40 +0000 (15:57 +0200)]
use proper directory lib/lib64 for libvolume_id

16 years agorelease 125
Kay Sievers [Fri, 18 Jul 2008 14:26:55 +0000 (16:26 +0200)]
release 125

16 years agoignore rule with GOTO to a non-existent label
Marco d'Itri [Fri, 18 Jul 2008 14:22:26 +0000 (16:22 +0200)]
ignore rule with GOTO to a non-existent label

16 years agomove default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
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.

16 years agorules: Debian update
Marco d'Itri [Tue, 15 Jul 2008 09:56:42 +0000 (11:56 +0200)]
rules: Debian update

16 years agoudevadm: info - add --export format to --device-id-of-file=
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

16 years agorules: Debian update
Marco d'Itri [Fri, 11 Jul 2008 08:27:55 +0000 (10:27 +0200)]
rules: Debian update

16 years agorules: tape rules - add nst to by-path/ links
Kay Sievers [Fri, 11 Jul 2008 07:53:33 +0000 (09:53 +0200)]
rules: tape rules - add nst to by-path/ links

16 years agorules: tape rules - add nst to usb and 1394 links
John Huttley [Fri, 11 Jul 2008 07:26:04 +0000 (09:26 +0200)]
rules: tape rules - add nst to usb and 1394 links

16 years agoudevadm: settle - add verbose output when running into timeout
Marco d'Itri [Thu, 10 Jul 2008 22:52:22 +0000 (00:52 +0200)]
udevadm: settle - add verbose output when running into timeout

16 years agodo not touch node ownership and permissions, if already correct
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.

16 years agoman: rebuild from xml
Kay Sievers [Thu, 10 Jul 2008 21:53:54 +0000 (23:53 +0200)]
man: rebuild from xml

16 years agoscsi_id: the fallback fix broke error handling
Kay Sievers [Thu, 10 Jul 2008 20:22:10 +0000 (22:22 +0200)]
scsi_id: the fallback fix broke error handling

16 years agoscsi_id: man page fix
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

16 years agoman: add link_priority default value
Marco d'Itri [Wed, 9 Jul 2008 22:06:06 +0000 (00:06 +0200)]
man: add link_priority default value

16 years agoscsi_id: include sys/stat.h
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>
16 years agorules: use consistently OPTIONS+=
Kay Sievers [Wed, 9 Jul 2008 21:50:46 +0000 (23:50 +0200)]
rules: use consistently OPTIONS+=

Thanks to Marco for the pointer.

16 years agorules_generator: net rules - do not print error if file is missing and ignore comment...
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.

16 years agoudev.conf: udevcontrol -> udevadm control
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.

16 years agorules: fix cciss rules for partition numbers > 9
Kay Sievers [Mon, 7 Jul 2008 09:20:02 +0000 (11:20 +0200)]
rules: fix cciss rules for partition numbers > 9

16 years agoscsi_id: fix fallback to sg v3 for sg nodes
Kay Sievers [Mon, 7 Jul 2008 09:18:49 +0000 (11:18 +0200)]
scsi_id: fix fallback to sg v3 for sg nodes

16 years agoman: clarify $attr{} parent searching
Karl O. Pinc [Wed, 2 Jul 2008 08:20:58 +0000 (10:20 +0200)]
man: clarify $attr{} parent searching

16 years agodocs: update some docs and delete outdated stuff
Kay Sievers [Thu, 26 Jun 2008 16:12:50 +0000 (18:12 +0200)]
docs: update some docs and delete outdated stuff

16 years agorules: add v4l persistent links
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.

16 years agopath_id: suppress trailing '-' like 'ID_PATH=pci-0000:05:01.0-'
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-'

16 years agocollect: fix size_t printf
Kay Sievers [Wed, 18 Jun 2008 08:12:14 +0000 (10:12 +0200)]
collect: fix size_t printf

16 years agocollect: check realloc return value
Tobias Klauser [Tue, 17 Jun 2008 22:47:33 +0000 (00:47 +0200)]
collect: check realloc return value

16 years agorelease 124
Kay Sievers [Thu, 12 Jun 2008 05:24:30 +0000 (07:24 +0200)]
release 124

16 years agocdrom_id: fix recognition of blank media
Kay Sievers [Thu, 12 Jun 2008 05:20:14 +0000 (07:20 +0200)]
cdrom_id: fix recognition of blank media

Thanks to David!

16 years agorelease 123
Kay Sievers [Wed, 11 Jun 2008 22:08:43 +0000 (00:08 +0200)]
release 123

16 years agovolume_id: support for oracleasm
Erik van Konijnenburg [Wed, 11 Jun 2008 19:36:57 +0000 (21:36 +0200)]
volume_id: support for oracleasm

16 years agoscsi_id: retry open() on -EBUSY
Harald Hoyer [Wed, 11 Jun 2008 21:26:18 +0000 (23:26 +0200)]
scsi_id: retry open() on -EBUSY

16 years agocdrom_id: export ID_CDROM_MEDIA_TRACK_COUNT_AUDIO=, ID_CDROM_MEDIA_TRACK_COUNT_DATA=
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!

16 years agoudevd: export .udev/queue/$seqnum before .udev/uevent_seqnum
Xinwei Hu [Fri, 30 May 2008 07:43:58 +0000 (09:43 +0200)]
udevd: export .udev/queue/$seqnum before .udev/uevent_seqnum

16 years agovolume_id: enable GFS probing code, add LABEL support
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>
16 years agoman: add NAME== match entry
Michal Soltys [Wed, 28 May 2008 15:20:07 +0000 (17:20 +0200)]
man: add NAME== match entry

16 years agocollect: realloc buffer, if needed
Xinwei Hu [Tue, 27 May 2008 17:35:03 +0000 (19:35 +0200)]
collect: realloc buffer, if needed

16 years agovolume_id: remove unnecessary global variable
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>
16 years agorules: persistent net - handle "locally administered" ibmveth MAC addresses
Kay Sievers [Mon, 26 May 2008 15:11:13 +0000 (17:11 +0200)]
rules: persistent net - handle "locally administered" ibmveth MAC addresses

16 years agorules: tape rules - use bsg device nodes for SG_IO
Kay Sievers [Tue, 20 May 2008 13:11:01 +0000 (15:11 +0200)]
rules: tape rules - use bsg device nodes for SG_IO