1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 20:25:38 +03:00
Commit Graph

68 Commits

Author SHA1 Message Date
greg@kroah.com
bf9c357633 [PATCH] add permission for legotower usb devices. 2005-04-26 21:36:59 -07:00
tao@kernel.org
b9e3301c3b [PATCH] Minor POSIX-fixes for udev
The attached patch contains a few patches against udev, to remove
use of various XSI:isms and bash:isms, and to change two scripts form
/bin/bash to /bin/sh.  None of the bash-scripts in test/ uses any
bash-specific functions as far as I know, but I didn't touch them since
they aren't used runtime.

Rationale:
* Both of the /bin/bash-scripts are totally free from bashisms, hence they
  don't need to be /bin/bash; using /bin/sh instead helps (mainly)
  embedded-people

* local and source are bash:isms (well, they exist in several other
  shells as well, but they aren't part of POSIX or any of its extensions)

* -a in tests is an XSI-extension, not part of strict POSIX, and is
  easily replaced by &&
  | http://www.opengroup.org/onlinepubs/009695399/utilities/test.html

* Use of fgrep is deprecated in POSIX in favour of grep -F (though fgrep
  will remain in use for a long time...)
  | http://www.opengroup.org/onlinepubs/009695399/utilities/grep.html

The fgrep-change isn't really necessary, since fgrep can always be
implemented as a shell-script, but the rest of the changes would really
be appreciated.
2005-04-26 21:36:59 -07:00
azarah@gentoo.org
41ffb32e8d [PATCH] add microcode rule to permissions.gentoo file
Add microcode rule, remove duplicate rtc and psaux rules,
  and order alphabetically.
2005-04-26 21:36:59 -07:00
greg@kroah.com
ea08d6fc3e [PATCH] add permission rule for jogdial device. 2005-04-26 21:36:59 -07:00
greg@kroah.com
58ecc5d77f [PATCH] fix permission problem with input event and ts nodes for gentoo 2005-04-26 21:36:58 -07:00
greg@kroah.com
ff0977b12e [PATCH] change default perms of misc/rtc to be readable by anyone. 2005-04-26 21:36:21 -07:00
greg@kroah.com
e978da492b [PATCH] tweak the gentoo default permission rules as they are wrong for tty and misc devices. 2005-04-26 21:35:47 -07:00
greg@kroah.com
7f639ff99e [PATCH] add udev.permissions.slackware file.
From Lucas de Souza Santos <lucasdss@yahoo.com.br>
2005-04-26 21:35:17 -07:00
greg@kroah.com
477f5b63ec [PATCH] add more permissions based on SuSE's recommendations. 2005-04-26 21:35:16 -07:00
greg@kroah.com
3a0b657b76 [PATCH] added rules for tun and raw devices 2005-04-26 21:35:16 -07:00
greg@kroah.com
56dbd7dfb0 [PATCH] add udev conf.d file. 2005-04-26 21:35:16 -07:00
greg@kroah.com
87afc6dea0 [PATCH] Switch the default config to point to a directory for the rules and permission files. 2005-04-26 21:35:16 -07:00
greg@kroah.com
6763c8a5a1 [PATCH] update the Red Hat .dev files to work on other distros 2005-04-26 21:35:15 -07:00
greg@kroah.com
b4eafd9467 [PATCH] add dbus.dev, pam_console.dev and selinux.dev files for /etc/dev.d/default/ usage
Thanks to Red Hat for them.
2005-04-26 21:35:15 -07:00
greg@kroah.com
e3f83d532e [PATCH] added rule to put USB printers in their proper places.
Thanks to Dan Weber <dan@mirrorlynx.com> for the info.
2005-04-26 21:35:15 -07:00
greg@kroah.com
a04913b568 [PATCH] added rules for CAPI devices.
Thanks to Marcel Holtmann <marcel@holtmann.org> for the information.
2005-04-26 21:35:15 -07:00
greg@kroah.com
0e404ee1ef [PATCH] added a dev.d alsa script to help people out.
Originally by Marco d'Itri <md@Linux.IT>
2005-04-26 21:35:15 -07:00
greg@kroah.com
d5853b48fb [PATCH] add hotplug.dev script to handle renamed network devices. 2005-04-26 21:35:13 -07:00
greg@kroah.com
150aa5aaf1 [PATCH] add netlink rules to devfs and gentoo rules files. 2005-04-26 21:35:13 -07:00
greg@kroah.com
b085ec0d56 [PATCH] added USB device rules to rules files. 2005-04-26 21:35:13 -07:00
greg@kroah.com
b579916fb5 [PATCH] clean up the gentoo rules file a bit more, adding dri rules. 2005-04-26 21:35:13 -07:00
greg@kroah.com
69b94397d3 [PATCH] fix up udev.rules to handle oss rules better.
Patch from Jordan <lx_xero@comcast.net>
2005-04-26 21:35:12 -07:00
greg@kroah.com
357f44a534 [PATCH] move udev_dbus to extras/dbus
Should build now, but might have linking problems.
2005-04-26 21:35:11 -07:00
ken@cgi101.com
3e16482d25 [PATCH] Added line to udev.permissions.redhat
Added this line to have xterms provide a prompt.
2005-04-26 21:35:08 -07:00
greg@kroah.com
2ef3bc2b70 [PATCH] Remove Debian permission files as the Debian maintainer doesn't seem to want to share :( 2005-04-26 21:35:07 -07:00
greg@kroah.com
5ba7d3d603 [PATCH] update the Gentoo rules files. 2005-04-26 21:35:07 -07:00
greg@kroah.com
c9043d4597 [PATCH] Add Red Hat rules and permissions files
Taken from udev-018-2.src.rpm from Fedora Devel.
2005-04-26 21:35:07 -07:00
kay.sievers@vrfy.org
311e9ae681 [PATCH] udev - man page update
Here is a small change to the udev man page:

  - clarify the use of the NAME{all_partitions} syntax
    and add a example to udev.rules.example
  - mention the empty NAME field to ignore the device
  - prepare a SYMLINK field for the addition of Andrey's
    "multiple symlinks" documentation :)
2005-04-26 21:35:06 -07:00
greg@kroah.com
2b7289ae88 [PATCH] update udev.rules.gentoo with new config file format. 2005-04-26 21:32:29 -07:00
greg@kroah.com
e59d338c96 [PATCH] Update the Gentoo udev.rules and udev.permissions files
These are very good devfs-like rules for others to use if they want to.
2005-04-26 21:32:29 -07:00
greg@kroah.com
1d24d9977d [PATCH] Create a udev.rules.examples file to hold odd udev.rules
These are for examples only, not for everyone to use as they cause too
many problems for different people when they are in the main udev.rules
file.
2005-04-26 21:32:29 -07:00
ext.devoteam.varoqui@sncf.fr
3217d739fb [PATCH] symlink dm-[0-9]* rule 2005-04-26 21:32:29 -07:00
greg@kroah.com
8fff7b42b4 [PATCH] start up udevd ourselves in the init script to give it some good priorities. 2005-04-26 21:32:28 -07:00
john-hotplug@fjellstad.org
24f8f09876 [PATCH] init.d debian patch
I dualboot between 2.4.x and 2.6.x right now, and although I
want udev to start up when 2.6 is booting, I don't want it to try when
2.4.x is booting.

This is a small patch to not start up udev if sysfs is not
mounted.
2005-04-26 21:32:28 -07:00
greg@kroah.com
20f86361f4 [PATCH] update the red hat init script to handle nodes that are not present
Thanks to Gentoo for the list of these files.
2005-04-26 21:32:28 -07:00
kay.sievers@vrfy.org
88f09368b3 [PATCH] udev - switch callout part selector to {attribute}
Here we change the magic callout part number selector to the new
atribute syntax. The syntax to select the second part of the callout string:

 '%2c' is now '%c{2}'

I think it's more clear and we no longer misuse the length argument.

The old syntax is still supported, but we should remove it some
time in the future.
2005-04-26 21:32:28 -07:00
kay.sievers@vrfy.org
16378373cb [PATCH] udev - switch SYSFS_file to SYSFS{file}
Here we switch the configs and man pages to the new attribute syntax.
Also the 'partition trick' is mentioned in udev.8

I think it's more clear visible now, that inside the brackets are user
supplied values used and not some magic keys handled:

  'SYSFS_dev' is now 'SYSFS{dev}'

The old syntax is still supported.
2005-04-26 21:32:28 -07:00
greg@kroah.com
1a3b802ff2 [PATCH] update the init.d udev script based on a patch from Red Hat. 2005-04-26 21:32:27 -07:00
greg@kroah.com
552a4d426f [PATCH] remove the .udev.tdb when installing or uninstalling to be safe. 2005-04-26 21:32:27 -07:00
greg@kroah.com
66a9021760 [PATCH] remove the database at startup. 2005-04-26 21:32:27 -07:00
kay.sievers@vrfy.org
0c25b2066d [PATCH] udev - fix cdrom symlink rule
We only need to look at the device, not at the partitions.
2005-04-26 21:32:26 -07:00
azarah@nosferatu.za.org
4d803d8d04 [PATCH] make logging a config option
Once again, patch to make logging a config option.

Reason for this (since you asked for it):
 - In our setup it is easy (although still annoying) .. just edit the
   ebuild, add logging support (or remove it) and rebuild.  For say a
   binary distro, having the logging is useful for debugging some
   times, but its more a once of, or rare thing, as you do not add or
   change config files every day.  Sure, we can have logging by
   default, but many do not want ~300 lines of extra debugging in their
   logs is not pleasant, and they will complain.  Rebuilding the
   package for that binary package (given the users it is targeted to)
   is usually not within most users grasp.
2005-04-26 21:32:26 -07:00
greg@kroah.com
79080c2664 [PATCH] kill the last examples that contained the %D option. 2005-04-26 21:13:20 -07:00
mbuesch@freenet.de
25f8a5ad64 [PATCH] LFS init script update 2005-04-26 21:13:18 -07:00
kay.sievers@vrfy.org
765cbd9759 [PATCH] set default owner/group in db - update
I've edited the man page today, so this is alreay included :)

Also a few more trivials:
  o added the defaults to udev.conf.in
  o removed class_dev from get_default_mode(), to match with Hanna's
  o changed size of mode_str to MODE_SIZE
  o changed a few char compares from from 0x00 to '\0'
2005-04-26 21:13:17 -07:00
flamingice@sourmilk.net
5e4f123888 [PATCH] minor patch for devfs rules
I've attached a patch that adds a few rules to udev.rules.devfs, making it
look a little more like devfs on my system. (I have the sysfs patches from
2.6.1-rc1-mm2) I added rules for oss, misc, floppy, and input devices. The
oss rules look like trouble with a wildcard at the end of each name, but I'm
not sure how I can make it any better.

Devfs has a bunch of other devices in the floppy directory for floppies
formatted in unusual ways, but I don't see them in udev. Not that I ever used
them, since they're usually automatically detected.
2005-04-26 21:13:16 -07:00
greg@kroah.com
18f0045bc8 [PATCH] remove the %D modifier as it is not longer needed. 2005-04-26 21:13:16 -07:00
greg@kroah.com
45d57088f9 [PATCH] remove unneeded keyboard rule. 2005-04-26 21:13:16 -07:00
greg@kroah.com
1782087e4f [PATCH] added input device rules to udev.rules and udev.rules.devfs 2005-04-26 21:13:16 -07:00
kay.sievers@vrfy.org
7e5f7397f9 [PATCH] udev - CALLOUT is PROGRAM now
replace CALLOUT by PROGRAM and fix old rule format
2005-04-26 21:13:16 -07:00