Go to file
Lennart Poettering 7cce68e1e0 core: make sure we use the correct mount flag when re-mounting bind mounts
When in a userns environment we cannot take away per-mount point flags
set on a mount point that was passed to us. Hence we need to be careful
to always check the actual mount flags in place and manipulate only
those flags of them that we actually want to change and not reset more
as side-effect.

We mostly got this right already in
bind_remount_recursive_with_mountinfo(), but didn't in the simpler
bind_remount_one_with_mountinfo(). Catch up.

(The old code assumed that the MountEntry.flags field contained the
right flag settings, but it actually doesn't for new mounts we just
established as for those mount() establishes the initial flags for us,
and we have to read them back to figure out which ones the kernel
picked.)

Fixes: #13622
2020-01-09 15:18:08 +01:00
.github github: use systemd.io links in issue template 2019-12-16 09:49:51 +01:00
.lgtm/cpp-queries lgtm: complain about accept() [people should use accept4() instead, due to O_CLOEXEC] 2019-04-10 20:03:38 +02:00
.mkosi mkosi: Find hostname command on Arch Linux 2019-11-01 13:34:41 +01:00
catalog catalog: update Polish translation 2019-07-29 09:30:24 +02:00
coccinelle tree-wide: use empty-to-root a bit more 2019-07-16 12:40:22 +02:00
docs doc: tweak grammar in CONTAINER_INTERFACE description 2020-01-08 10:29:10 +01:00
factory/etc factory: add default /etc/issue file 2019-07-24 08:57:23 +09:00
hwdb.d hwdb: Lenovo T490 Synaptics Touchpad hwdb entry 2020-01-03 09:57:07 +01:00
man Merge pull request #14523 from keszybz/refactorings 2020-01-09 12:50:11 +09:00
modprobe.d Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
network network: set AlternativeNamesPolicy= in 99-default.link 2019-12-17 15:44:48 +09:00
po Update Galician translations 2020-01-02 13:36:04 +01:00
presets Drop my copyright headers 2018-06-14 13:03:20 +02:00
rules.d udev: don't import parent ID_FS_ data on partitions 2020-01-09 11:20:55 +01:00
semaphoreci semaphore: switch branch to debian/master 2019-11-30 19:05:53 +01:00
shell-completion zsh: Complete systemctl subcommands in separate tags 2020-01-08 09:43:01 +01:00
src core: make sure we use the correct mount flag when re-mounting bind mounts 2020-01-09 15:18:08 +01:00
sysctl.d sysctl: prefix ping port range setting with a dash 2019-07-26 09:26:07 +02:00
sysusers.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
test Merge pull request #14448 from yuwata/network-permanent-mac-address 2020-01-08 15:36:27 +01:00
tmpfiles.d resolved, networkd: don't resolve the user if not root 2019-12-07 18:55:54 +02:00
tools test: pin meson to 0.52.1 for fuzzit/fuzzbuzz 2020-01-08 13:56:30 +03:00
travis-ci test: pin meson to 0.52.1 for fuzzit/fuzzbuzz 2020-01-08 13:56:30 +03:00
units units: tweaks to modprobe@.service 2020-01-07 18:54:24 +01:00
xorg scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.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 mailmap: update 2019-11-22 09:33:40 +01:00
.travis.yml travis: add missing closing quote sign 2019-11-24 13:15:20 +03:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
azure-pipelines.yml Free up some resources on Azure Pipelines 2019-07-17 13:28:38 +09:00
configure build-sys: add basic support for ./configure && make && make install 2017-07-18 10:05:06 -04:00
fuzzbuzz.yaml test: pin meson to 0.52.1 for fuzzit/fuzzbuzz 2020-01-08 13:56:30 +03:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile build-sys: Fix Makefile wrapper for install target (#6548) 2017-08-07 11:29:20 +02:00
meson_options.txt network, meson: allow statically linked build 2020-01-08 09:50:32 +01:00
meson.build network, meson: allow statically linked build 2020-01-08 09:50:32 +01:00
mkosi.build mkosi: let's update the boot loader also in /efi 2019-03-01 12:41:32 +01:00
mkosi.default mkosi: create .mkosi directory 2016-10-06 11:53:58 -04:00
NEWS Fixup typo in NEWS 2019-12-03 08:02:24 +09:00
README Revert "Drop dbus activation stub service" 2019-12-20 17:28:12 +01:00
README.md minor: avoid double title 2019-12-11 19:57:57 +01:00
TODO systemctl: show 'VENDOR PRESET' column in 'list-unit-files' 2020-01-02 15:35:40 +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
Coverity Scan Status
Fuzzit Status
OSS-Fuzz Status
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI Build Status
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.