Commit Graph
100 Commits
Author SHA1 Message Date
Greg Kroah-Hartman 57a2bf2329 Merge pull request #353 from kaysievers/hid
rules: remove all power management from udev
2015-06-26 09:51:11 -07:00
Greg KH a606871da5 tmpfiles: fix permissions on new journal files
When starting up journald on a new system, set the proper permissions on
the system.journal files, not only on the journal directory.
2014-04-17 23:58:12 -04:00
Greg KH 92f2f92edc machine-id: add --root option to operate on an alternate fs tree
This makes it possible to initialize the /etc/machine-id file on an
arbitrary filesystem hierarchy.  This helps systems that wish to run
this at image creation time in a subdirectory, or from initramfs before
pivot-root is called.

[tomegun: converted to using _cleanup_free_ macros]
2014-03-14 12:44:17 +01:00
Greg KH 29804cc1e0 use memzero(foo, length); for all memset(foo, 0, length); calls
In trying to track down a stupid linker bug, I noticed a bunch of
memset() calls that should be using memzero() to make it more "obvious"
that the options are correct (i.e. 0 is not the length, but the data to
set).  So fix up all current calls to memset(foo, 0, length) to
memzero(foo, length).
2014-01-31 11:55:01 +01:00
Greg Kroah-Hartman e7ff4e7fe9 journal: remove build warning when SELinux is disabled
A small patch to remove a build warnining when SELinux is disabled.
2013-04-25 02:13:56 +02:00
Greg KH c3d6ca8767 update Gentoo rules 2006-09-03 06:09:40 +02:00
Greg Kroah-Hartman f3aef1a78e add parisc support to path_id
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379 path_id
doesn't work too well for parisc boxes.  This patch from Jeroen Roovers
<jer@gentoo.org> fixes that.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-12-07 14:00:05 -08:00
Greg Kroah-Hartman ca93c2c6c4 Update Gentoo udev main rule file. 2005-12-07 13:59:32 -08:00
Greg Kroah-Hartman f054627f50 Merge branch 'master' of gregkh@master.kernel.org:/pub/scm/linux/hotplug/udev 2005-11-09 09:53:53 -08:00
Greg Kroah-Hartman 54eb6a122f Make run_directory.c stat the place it is going to try to run.
This should remove a lot of error messages that people are seeing.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-11-09 09:53:32 -08:00
9bd72b9b6b Merge branch 'master' from gregkh@master.kernel.org:/pub/scm/linux/hotplug/udev 2005-09-27 08:12:09 -07:00
3162a25fd3 Remove the udev.spec file as no one uses it anymore
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-09-27 08:11:31 -07:00
Greg KH 8355c61b48 070 release 2005-09-14 16:19:07 -07:00
Greg KH 8c65c6a1be fix nbd error messages with a gentoo rule hack 2005-09-13 14:10:27 -07:00
Greg KH 23fd5f886c fix scsi_id rule in gentoo config file 2005-09-13 10:39:07 -07:00
Greg KH a2c7b2173a 069 release 2005-09-13 10:24:51 -07:00
Greg KH 8c11a2f0ff 068 release 2005-08-18 10:04:49 -07:00
Greg KH da4aec2fb4 add EXTRAS documentation to the README file.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-18 10:02:27 -07:00
Greg Kroah-Hartman a961dcbf0d cdrom_id: change err() to info() to help with debugging problems
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17 16:10:32 -07:00
Greg Kroah-Hartman fc046d4d08 Always open the cdrom drive in non-blocking mode in cdrom_id
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17 16:09:03 -07:00
Greg Kroah-Hartman 8aafc06d94 067 release 2005-08-13 10:10:50 -07:00
Greg Kroah-Hartman 903a36495f added the cdrom.h #defines directly into the cdrom_id.c file
This solves the problem with building the file against old kernel header
files.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-12 11:37:56 -07:00
Greg KH f5bed72a53 066 release 2005-08-11 15:44:08 -07:00
Greg KH a3f47f6319 tweak the gentoo rules some more.
- make the persistant rules smaller
	- add usbfs-like device node support

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 15:32:14 -07:00
Greg KH 91a8b53159 changed location of gentoo helper apps to be /sbin instead of in scripts dir
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 15:10:10 -07:00
Greg KH 55ac5dad09 Change the gentoo rules to use cdrom_id instead of cdsymlink.sh
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 15:08:08 -07:00
Greg KH 5a64cea1e1 fix klibc build issue in cdrom_id.c
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 14:38:33 -07:00
Greg KH c1986ea33c added cdrom_id to the build check 2005-08-11 14:37:54 -07:00
Greg KH 8ee99e3279 changed cdrom_id exports to be easier to understand and consistant with other _id programs.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 14:04:24 -07:00
Greg KH 8f6919e639 Created cdrom_id program to make it easier to determine cdrom types
Based on the framework from ata_id by Kay.
Now we can drop the cdsymlinks.sh and .c files

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 13:59:21 -07:00
Greg KH 02a9a08fb7 update gentoo rule file.
This fixes the issue of cdroms not showing up in the proper group,
and them showing up in /dev/cd/ for the persistant names.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 13:02:44 -07:00
Greg KH 52dbd80e78 updated gentoo rule file to handle removable ide devices.
Thanks to Kay for the quick fix.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-04 16:33:53 -07:00
Greg Kroah-Hartman cfb7ac2b5b 065 release 2005-08-02 13:56:41 -07:00
Greg Kroah-Hartman c5e6eaa002 Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay 2005-08-02 13:07:30 -07:00
Greg Kroah-Hartman 74f1ce92c4 Added persistent name rules for block devices to gentoo rule file.
Copied from Kay's rules from the SuSE package.

Let the fun begin...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-02 12:28:50 -07:00
Greg Kroah-Hartman 97b7aa1f78 Added horrible (but fun) path_id script to extras.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-01 16:37:41 -07:00
Greg Kroah-Hartman be962ec9a8 Update gentoo rules file.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-01 15:44:02 -07:00
Greg Kroah-Hartman 62a22c8d75 Oops, 064 release, not 063 2005-07-23 12:27:02 -04:00
Greg Kroah-Hartman fa5c98ab9c 063 release 2005-07-23 12:26:28 -04:00
Greg KH 8365854ccd 063 release 2005-07-14 16:09:21 -07:00
Greg KH 0de3c3edeb add 'make tests' as I'm always typing that one wrong...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-14 15:27:30 -07:00
Greg KH 04b90b7e25 Really commit the udev_run_devd changes... 2005-07-14 15:24:59 -07:00
Greg KH 78e21e3ed4 Fixed udev_run_devd to run the /etc/dev.d/DEVNAME/ files too
Note, this assumes that you are putting your device nodes in /dev/, the
better thing to do is use the RUN= rule and not rely on this program at all.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-14 15:19:37 -07:00
Greg KH 39e54555a9 Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay 2005-07-14 14:13:34 -07:00
Greg KH afd6b4acc8 fix position of raw rules in gentoo config file
this solve issue of raw1394 device nodes showing up in the proper place.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-12 15:46:54 -07:00
Greg Kroah-Hartman face198a5f 062 release 2005-07-07 15:00:50 -07:00
Greg Kroah-Hartman a82f23bf96 061 release 2005-07-06 14:24:08 -07:00
Greg KH 831139235e Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay 2005-07-06 13:52:14 -07:00
Greg Kroah-Hartman 0cc976eeaf fix cdrom symlink problem in gentoo rules 2005-07-06 13:15:23 -07:00
Greg KH 040e26dc99 Sync up the Debian rules files 2005-07-06 13:09:05 -07:00
Greg KH 46763d59dc Fix ChangeLog titles 2005-07-02 23:55:38 -07:00
Greg KH 281c368b8f 060 release 2005-07-02 23:55:08 -07:00
Greg KH 1fcc2a36fd Fix the gentoo udev rules to allow the box to boot properly 2005-07-02 23:47:43 -07:00
Greg Kroah-Hartman 4d8c16072a 059 release 2005-06-30 16:27:52 -07:00
Greg Kroah-Hartman f943722e0a Update the gentoo rule file 2005-06-30 16:26:43 -07:00
Greg KH 972d318a31 Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay 2005-06-21 16:36:29 -07:00
Greg KH e2bd03ff63 Fix udevinfo for empty sysfs directories
udevinfo would die if it ran into a sysfs directory with no attributes.
This is valid for a lot of scsi devices, so now we just continue on
up the chain.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-06 13:46:19 -07:00
Greg KH 5e65ab9a19 Fix makefile to allow 'make release' to work with git 2005-05-20 13:22:05 -07:00
Greg KH db60d377b0 058 release 2005-05-20 13:18:28 -07:00
Greg KH 539876083d add Red Hat/Fedora html documenation
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:37:22 -07:00
Greg KH 8d9e468f12 Update Red Hat default udev rules.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:34:45 -07:00
Greg KH 13ca17798c remove detach_state files from the sysfs test tree.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:33:12 -07:00
Greg KH b479b4887f Fix libsysfs issue with relying on the detach_state file to be
present in order to traverse the tree properly.

Based on a patch from Daniel Stekloff <dsteklof@us.ibm.com>

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:32:28 -07:00
60f4473352 added translated (jp) version of writing udev rules file.
From Masanao Igarashi <masayuko@alpha.ocn.ne.jp>
2005-05-16 12:26:41 -07:00
Greg KH 1e50c2dee7 Update permissions on test scripts so they will run properly now.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-10 10:22:56 -07:00
Greg KH 49cedafaf8 hopefully fix up the symlinks in the test directory
Thanks to Kay for pointing this out.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-10 10:11:15 -07:00
Greg KH 17f2b1a7e0 Removed klibc/klibc.spec as it is autogenerated 2005-05-10 10:09:29 -07:00
Greg KH 27a71e49c2 Added symlinks thanks to Kay's script and git hacking.
Now the tests should work again...
2005-05-05 21:47:57 -07:00
gregkh@suse.de 9530f1fe19 [PATCH] 057 relelease 2005-04-26 23:55:01 -07:00
gregkh@suse.de 69b5c2ca51 [PATCH] 056 release 2005-04-26 23:54:59 -07:00
gregkh@suse.de 2861655484 [PATCH] 055 release 2005-04-26 23:53:53 -07:00
gregkh@suse.de c262aa4984 [PATCH] fix raid rules.
Thanks to Kay for pointing it out.
2005-04-26 23:53:53 -07:00
gregkh@suse.de c29125aebb [PATCH] added frugalware udev ruleset. 2005-04-26 23:53:53 -07:00
gregkh@suse.de 677a6a84bd [PATCH] gentoo rule update for raid devices.
From Thierry Vignaud <tvignaud@mandrakesoft.com>
2005-04-26 23:53:53 -07:00
Greg KH 4d7726399b selinux merge fixups again... 2005-04-26 23:52:14 -07:00
Greg KH 7eb92135c6 more merge fixups, looks like i missed a selinux patch somewhere... 2005-04-26 23:48:29 -07:00
gregkh@suse.de 6d7a6d08c2 [PATCH] 054 release 2005-04-26 23:39:48 -07:00
gregkh@suse.de 5d2d1e7e85 [PATCH] 053 release 2005-04-26 23:35:15 -07:00
gregkh@suse.de bc4235d38e [PATCH] fix gentoo fb permission issue. 2005-04-26 23:35:15 -07:00
gregkh@suse.de 5f2a5816cf [PATCH] allow simple-build-check.sh to go faster if MAKEOPTS is set
This lets my multiprocessor boxes do the testing quicker...
2005-04-26 23:35:15 -07:00
gregkh@suse.de 6b3df4310f [PATCH] make the release tarballs have writable files in them. 2005-04-26 23:35:15 -07:00
greg@kroah.com 20da7623c7 [PATCH] remove gentoo permission file as it's not valid anymore. 2005-04-26 23:35:15 -07:00
greg@kroah.com 1d62f6e2de [PATCH] 052 release 2005-04-26 23:28:12 -07:00
greg@kroah.com 3a030b511f [PATCH] fix example comment in ide-devfs.sh 2005-04-26 23:28:12 -07:00
greg@kroah.com ee2427d3da [PATCH] Add infiniband to gentoo rules. 2005-04-26 23:28:12 -07:00
greg@kroah.com 990f059b1e [PATCH] Another gentoo fix, adding dvb support. 2005-04-26 23:28:12 -07:00
greg@kroah.com d35f580b25 [PATCH] Fix gentoo bug #76056 (fb device group permissions.) 2005-04-26 23:28:12 -07:00
greg@kroah.com fcbb427e0e [PATCH] Fix gentoo bug #81102, device nodes for the pktcdvd device. 2005-04-26 23:28:12 -07:00
greg@kroah.com 9badc83e4f [PATCH] 051 release 2005-04-26 23:24:19 -07:00
greg@kroah.com d25e14ae1e [PATCH] gentoo fb permission fix. 2005-04-26 23:24:19 -07:00
greg@kroah.com 6142386306 [PATCH] remove the lfs startup script on request of the author.
The distro now has its own version, so this one is not needed.
2005-04-26 23:21:58 -07:00
greg@kroah.com 83e1f809c9 [PATCH] clean up the aoe char device rules, and delete the block one as it's not needed. 2005-04-26 23:21:58 -07:00
greg@bucket.kroah.org aa7f11f470 [PATCH] fix gcc 2.96 issue in libsysfs 2005-04-26 23:21:58 -07:00
greg@kroah.com 78b574cfcd [PATCH] add aoe block and char device rules to the gentoo rule file. 2005-04-26 23:21:58 -07:00
greg@kroah.com ce5c75b8e1 [PATCH] fix udev_volume_id build error.
bah, when will I remember to check the extras _before_ I do a release...
2005-04-26 23:17:47 -07:00
greg@kroah.com 35413b2b88 [PATCH] 050 release 2005-04-26 23:17:47 -07:00
Greg KH 18ebc43050 bleah, more merge fixes... 2005-04-26 23:15:56 -07:00
greg@kroah.com e3686a8858 [PATCH] 049 release 2005-04-26 23:13:48 -07:00
greg@kroah.com c39f31e51d [PATCH] fix 'make clean' error in klibc 2005-04-26 23:13:48 -07:00
greg@kroah.com 7d92b28f39 [PATCH] 048 release 2005-04-26 23:13:47 -07:00