1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00
systemd/rules.d
Thomas Schmitt 19212f2781 udev: don't import parent ID_FS_ data on partitions
When probing partitions, we inherit important information from the parent
disk device such as ID_MODEL, and usage of such properties is seen to
be acceptable and well established.

However, we need to exclude filesystem information from the properties
that get inherited. Information about the device content should not be
passed on in this way.

For example, Linux distro install media commonly uses an ISO filesystem
plus a partition table. The ISO filesystem is detected on the main disk
device, but we should not pass down those details to the partitions,
some or all of which may be pointing at storage areas completely distinct
from the ISO filesystem.

This is particularly problematic when adding new partitions on media
set up in this way (since the new partitions are then reported to contain
the parent device's ISO filesystem), or when dealing with more unusual
hybrid ISO layouts. The inaccuracy of information here inversely affects
users of blkid and udev's persistent storage symlinks.

Exclude ID_FS_* properties from the inheritance chain to avoid these
problems.

Fixes: #14408
2020-01-09 11:20:55 +01:00
..
50-udev-default.rules.in Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-block.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-cdrom_id.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-drm.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-evdev.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-fido-id.rules udev: mark all ccid/security devices with a special tag 2019-12-09 19:25:25 +01:00
60-input-id.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-persistent-alsa.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-persistent-input.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-persistent-storage-tape.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-persistent-storage.rules udev: don't import parent ID_FS_ data on partitions 2020-01-09 11:20:55 +01:00
60-persistent-v4l.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-sensor.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
60-serial.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
61-autosuspend-manual.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
64-btrfs.rules.in Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
70-joystick.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
70-mouse.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
70-touchpad.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
75-net-description.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
75-probe_mtd.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
78-sound-card.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
80-drivers.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
80-net-setup-link.rules Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
99-systemd.rules.in Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00
meson.build Rename udev's rules/ to rules.d/ 2019-10-10 00:53:09 +01:00