1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-26 08:55:18 +03:00
Backports of patch from systemd git to stable distributions
Go to file
Thomas Schmitt 02caf697a0 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
(cherry picked from commit 19212f2781)
(cherry picked from commit 377cc5d91e)
(cherry picked from commit 2b9ec8384c)
2020-02-05 19:54:44 +01:00
.github/ISSUE_TEMPLATE docs: move markdown docs from .github/ to docs/ 2018-09-08 13:39:03 -07:00
.lgtm/cpp-queries lgtm: drop redundant newlines 2018-10-26 14:52:17 +02:00
.mkosi mkosi: add qrencode to arch package list 2019-01-19 07:41:34 +09:00
catalog catalog: update Polish translation 2018-11-19 09:23:04 +01:00
coccinelle tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
docs man: document the new RestrictSUIDSGID= setting 2019-04-26 11:39:47 +02:00
factory/etc factory: include pam_keyinit.so in PAM factory configuration 2019-07-20 22:40:46 +02:00
hwdb hwdb: Correct WWWW Pattern In Documentation Comment 2019-10-10 15:20:43 +02:00
man man: fix option name 2020-02-05 19:54:38 +01:00
modprobe.d Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
network link-config: add "keep" policy and use it by default 2019-01-17 13:56:02 +01:00
po Update uk.po 2019-01-15 14:37:50 +01:00
presets Drop my copyright headers 2018-06-14 13:03:20 +02:00
rules udev: don't import parent ID_FS_ data on partitions 2020-02-05 19:54:44 +01:00
semaphoreci semaphore: keep build settings in the repository 2019-02-09 17:43:46 +01:00
shell-completion shell-completion: do not truncate suggestions 2019-09-03 12:40:12 +02:00
src boot: fix osrel parser 2020-02-05 19:54:23 +01:00
sysctl.d Enable regular file and FIFO protection 2019-01-16 12:22:01 +01:00
sysusers.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
test test: Pass personality test even when i686 userland runs on x86_64 kernel 2019-10-10 15:20:43 +02:00
tmpfiles.d Corect man page reference in systemd-nologin.conf comments 2019-10-10 15:16:10 +02:00
tools man: add a new section for EFI variables 2019-02-13 11:17:41 +01:00
travis-ci travis: stop using the official upstream-systemd-ci repository 2019-02-03 08:51:21 +03:00
units units: make systemd-binfmt.service easier to work with no autofs 2019-10-10 15:16:31 +02:00
xorg login: avoid external process call 2018-01-12 18:02:57 +01:00
.dir-locals.el coding style: reduce text width to 109 characters 2018-12-08 10:14:28 +01:00
.editorconfig editorconfig: add rule for meson.build files (#6671) 2017-08-28 16:37:23 +02:00
.gitattributes
.gitignore gitignore: add nspawn image lock and mkosi temporary files 2018-09-07 20:00:22 +02:00
.lgtm.yml lgtm: use python3 2018-12-10 03:07:17 +09:00
.mailmap NEWS: update for final v241 2019-02-14 10:58:06 +01:00
.travis.yml travis: add another stage to really run everything under ASan+UBsan 2018-12-24 08:52:33 +01:00
.vimrc coding style: reduce text width to 109 characters 2018-12-08 10:14:28 +01:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
configure build-sys: add basic support for ./configure && make && make install 2017-07-18 10:05:06 -04:00
LICENSE.GPL2
LICENSE.LGPL2.1
Makefile build-sys: Fix Makefile wrapper for install target (#6548) 2017-08-07 11:29:20 +02:00
meson_options.txt Merge pull request #11230 from keszybz/version-string-alt 2019-01-03 21:33:55 +09:00
meson.build fix build with compilers with default stack-protector enabled 2019-10-10 15:20:43 +02:00
mkosi.build mkosi: update the boot loader from our freshly built one 2018-10-16 16:44:34 +02:00
mkosi.default mkosi: create .mkosi directory 2016-10-06 11:53:58 -04:00
NEWS kernel-install: rename $BOOT_DIR[_ABS] to $ENTRY_DIR[_ABS] 2019-03-29 14:13:37 +01:00
README README: mention that meson-0.49 is required to build PIEs 2019-01-13 09:47:10 +09:00
README.md README: remove Coverity Scan badge 2019-01-22 23:04:09 +03:00
TODO journal: drop _packed_ attribute in a few places 2019-02-04 20:32:44 +01:00
zanata.xml po: add basic fedora.zanata.org configuration 2018-02-19 13:56:57 +01:00

systemd - System and Service Manager

Count of open issues over time Count of open pull requests over time Semaphore CI Build Status
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI Build Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.