1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
Commit Graph

2219 Commits

Author SHA1 Message Date
Kay Sievers
9d534c0e76 release 107 2007-03-21 20:17:01 +01:00
Marco d'Itri
89d3ee2b3a update Debian rules 2007-03-21 20:05:08 +01:00
Kay Sievers
1ce3e4fef0 run_directory: add final warning before removal 2007-03-21 14:22:50 +01:00
Kay Sievers
e578a44746 usb_id: append target:lun to storage device serial
Some broken usb-storage devices implement multiple
luns with all the same SCSI identifiers. Append the
target:lun to get unique names in /dev/disk/by-id/.
2007-03-21 13:55:48 +01:00
Kay Sievers
3d0bb292b5 udevinfo: print link priority 2007-03-21 12:13:28 +01:00
Kay Sievers
eff4a67369 udevtest: add --force mode 2007-03-21 11:55:26 +01:00
Kay Sievers
7586b63719 update SUSE rules 2007-03-21 01:58:24 +01:00
Kay Sievers
7a17ca7e79 man: add "link_priority" option 2007-03-19 15:41:06 +01:00
Kay Sievers
3d1f807b89 update TODO 2007-03-19 12:50:44 +01:00
Kay Sievers
604f104af4 if a node goes away, possibly restore a waiting symlink 2007-03-19 11:57:54 +01:00
Kay Sievers
eb5b86405b update %n on netif name change 2007-03-19 09:56:53 +01:00
Kay Sievers
3045132a0d udevinfo: remove -d option 2007-03-18 15:08:53 +01:00
Kay Sievers
f0f7c715ae volume_id: get rid of compiler warning 2007-03-18 12:55:21 +01:00
Kay Sievers
24f0605c1f priority based symlink handling
Symlinks can have priorities now, the priority is assigned to the device
and specified with OPTIONS="link_priority=100". Devices with higher
priorities overwrite the symlinks of devices with lower priorities.
If the device, that currently owns the link goes away, the symlink
will be removed, and recreated, pointing to the next device with the
highest actual priority.

This should solve the issue, that inserting an USB-stick may overwrite the
/dev/disk/by-id/-link of another disk, and removes the entire link after the
USB-stick is disconnected. If no priorities are specified, the new link will
overwrite the current one, and if the device goes away, it will restore
the old link. It should be possible to assign lower priorities to removable
devices, if needed.

In multipath setups, we see several devices, which all connect to the same
volume, and therefore all try to create the same metadata-links. The
different path-devices are combined into one device-mapper device, which also
contains the same metadata. It should be possible, to assign multipath-table
device-mapper devices a higher priority, so path-devices that appear and
disappear, will not overwrite or delete the device-mapper device links.
2007-03-18 12:51:57 +01:00
Kay Sievers
31de3a2ba1 read list of devices from index, make index private to database 2007-03-17 10:08:25 +01:00
Kay Sievers
d7fdcd6192 remove old error message 2007-03-16 21:15:54 +01:00
Kay Sievers
456cb38756 selinux: move selinux_exit() to the main programs 2007-03-16 21:13:07 +01:00
Kay Sievers
6eee03ef45 cleanup already existing db-entries and db-index on device update 2007-03-16 17:24:39 +01:00
Kay Sievers
2afb8cb37a pick actual valid device in udev_db_lookup_name 2007-03-16 16:02:22 +01:00
Kay Sievers
2dbb47f860 add link_priority to rule options, and store it in database 2007-03-16 15:16:08 +01:00
Kay Sievers
fc6da921ad store devpath with the usual leading slash 2007-03-16 03:09:02 +01:00
Jean Tourrilhes
043c6f6d4a udevtest: export UDEV_LOG if we changed it 2007-03-16 01:09:47 +01:00
Matthias Schwarzott
3f641815ec udevmonitor: fix swapped event switch descriptions 2007-03-15 16:30:08 +01:00
Kay Sievers
27d4bf1817 restore overwritten symlinks when the device goes away 2007-03-15 03:54:12 +01:00
Kay Sievers
fbda4babec maintain index over device-names to devpath relation 2007-03-15 02:09:39 +01:00
Kay Sievers
8d48959a23 increase /proc/stat buffer 2007-03-15 00:10:59 +01:00
Kay Sievers
4a7e6bcef0 update internal variables if we see $DEVPATH during IMPORT 2007-03-15 00:10:22 +01:00
Kay Sievers
9c6ad9fbba encode db-file names, instead of just replacing '/' 2007-03-14 21:41:33 +01:00
Matthias Schwarzott
5edec024b1 udevd: cleanup std{in,our,err} on startup
It occurs, when root-partition has no /dev/console, meaning that kernel
could not open it, and such udevd is started without open filedescriptors
0 1 2. In that case udevd openes its sockets (netlink and control). They
get fds between 0 and 2. Later duping /dev/null to 0 1 2 closes the sockets
and replaces them with /dev/null.

The error condition can also be reproduced by starting udevd with this
command-line:
  udevd --daemon <&- >&- 2>&-
2007-03-13 22:27:21 +01:00
Kay Sievers
d7eeab1194 update Gentoo rules 2007-03-13 22:20:53 +01:00
Kay Sievers
9923ff1450 delete dasd_id, it moved to s390-tools
These s390-tools-1.6.0 (applicable for the "October 2005 stream") replace s390-tools-1.5.4.
  New tools:
    * tape390_crypt: Tool to control and query crypto settings for 3592 zSeries tape devices.
    * mon_fsstatd: Daemon that writes filesystem utilization data to the z/VM monitor stream.
    * dumpconf: Allows to configure the dump device used for system dump in case a kernel panic occurs.
    * dasdinfo: Display unique DASD ID, either uid or volser.
    * 59-dasd.rules: udev rules for unique DASD device nodes created in /dev/disk/.

  http://www.ibm.com/developerworks/linux/linux390/s390-tools-1.6.0.html
2007-03-12 13:17:23 +01:00
Kay Sievers
50e3e2b0df update Fedora rules 2007-03-12 13:05:34 +01:00
Kay Sievers
188394ce8e default rules: wait for 0:0:0:0 scsi devices only 2007-03-11 20:23:42 +01:00
Kay Sievers
0d2516c336 udevmonitor: add switch for kernel and udev events 2007-03-10 15:12:42 +01:00
Kay Sievers
7f7238062c man: spelling fixes
Thanks to Robert P. J. Day.
2007-03-08 13:59:28 +01:00
Kay Sievers
5b7363c064 create_floppy_devices: apply specified mode without umask 2007-03-08 12:28:03 +01:00
Kay Sievers
684e935faf man: fix typo 2007-03-07 21:02:17 +01:00
Kay Sievers
88caa9da18 man: add missing options to various man pages 2007-03-07 18:00:12 +01:00
Kay Sievers
159ba1c531 release 106 2007-03-03 18:42:09 +01:00
Kay Sievers
0ef409f6ca remove dead rule in persistent tape rules
Thanks to Matthias Schwarzott for spotting this.
2007-02-28 17:26:05 +01:00
Jamie Wellnitz
0fe4cffde6 persistent device naming: tape devices and medium changers
This adds persistent symlinks for nst tape devices to the example
rules. The symlinks live under /dev/tape/by-id/.

Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
2007-02-27 21:02:07 +01:00
Matthias Schwarzott
1f889fb84f rule_generator: fix for creating rules on read-only filesystem 2007-02-26 15:07:42 +01:00
Kay Sievers
58310f6698 scsi_id: accept tabs in /etc/scsi_id.conf 2007-02-25 22:14:14 +01:00
Kay Sievers
e7c39acbe7 man: add note about parent matching behavior 2007-02-25 01:26:53 +01:00
Kay Sievers
864b9b5e37 add test for an attribute which contains an operator char 2007-02-25 01:06:20 +01:00
Theodoros V. Kalamatianos
7db33ac19c fix udev attribute names with a colon 2007-02-25 01:04:23 +01:00
Kay Sievers
4e13cb5fb7 remove --version from the udevinfo man page
We have: udevd --version now, which is always available,
unlike udevinfo which is installed in /usr.
2007-02-24 23:57:04 +01:00
Matthias Schwarzott
841e168c76 add option --version to udevd 2007-02-24 23:43:36 +01:00
Kay Sievers
915fde1738 update DRIVER== changes 2007-02-24 23:43:04 +01:00
Kay Sievers
8f4bc5f1df add (subsystem) to udevmonitor output 2007-02-16 13:57:08 +01:00