Systemd/src
Djalal Harouni 10404d52e3 namespace: create base-filesystem directories if RootImage= or RootDirectory= are set
When a service is started with its own file system image, always try to
create the base-filesystem directories that are needed. This implicitly
covers the directories handled by MountAPIVFS= {/proc|/sys|/dev}.

Mount protections or MountAPIVFS= mounts were never applied if we
changed the root directory and the related paths were not present under
the new root. The mounts were silently. Fix this by creating those
directories if they are missing.

Closes https://github.com/systemd/systemd/issues/5488
2017-03-05 21:19:29 +01:00
..
ac-power
activate tree-wide: set SA_RESTART for signal handlers we install 2016-12-01 12:41:17 +01:00
analyze tree-wide: add man: to manpage references (#5402) 2017-02-20 18:45:35 -05:00
ask-password
backlight tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
basic basic/architecture: Add sub-architecture types for SuperH 2017-03-02 10:29:43 +01:00
binfmt
boot sd-boot: stub: check LoadOptions contains data (#5467) 2017-02-27 20:03:07 +01:00
cgls cgroup: change cg_unified() to possibly return errors again 2017-02-24 17:52:58 +01:00
cgroups-agent
cgtop cgroup: change cg_unified() to possibly return errors again 2017-02-24 17:52:58 +01:00
core namespace: create base-filesystem directories if RootImage= or RootDirectory= are set 2017-03-05 21:19:29 +01:00
coredump coredump: define a macro for a "short bus call timeout" 2017-03-01 18:13:00 +01:00
cryptsetup cryptsetup-generator: run cryptsetup service before swap unit (#5480) 2017-02-28 21:30:22 +01:00
dbus1-generator
debug-generator util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
delta tree-wide: replace all readdir cycles with FOREACH_DIRENT{,_ALL} (#4853) 2016-12-09 10:04:30 +01:00
detect-virt detect-virt: add --private-users switch to check if a userns is active 2016-10-26 20:12:51 -04:00
dissect dissect: generate friendly error messages for more error conditions 2017-02-21 21:41:32 +01:00
environment-d-generator environment-generator: new generator to peruse environment.d 2017-02-20 18:49:14 -05:00
escape tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
firstboot copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
fsck util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
fstab-generator fstab-generator: quiesce false-positive -Werror=format-nonliteral (#5336) 2017-02-13 20:58:22 -05:00
getty-generator
gpt-auto-generator gpt-auto-generator: fix warning when compiling w/o efi (#5456) 2017-02-26 08:24:39 +01:00
hibernate-resume util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
hostname hostname: detect detachable dmi chassis type (#5489) 2017-02-28 21:57:58 +01:00
hwdb hwdb: emit warning when matches are specified at the very end of file 2016-12-11 18:01:26 -05:00
import import: bump image size safety limit for machinectl pull (#5535) 2017-03-05 13:03:53 +01:00
initctl Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
journal journalctl: move access_check() to shared/ 2017-02-28 21:37:35 -05:00
journal-remote Move export format parsing from src/journal-remote/ to src/basic/ 2017-02-14 23:56:48 -05:00
kernel-install kernel-install: avoid process substitution 2017-01-11 15:34:54 -05:00
libsystemd Merge pull request #5438 from ssahani/vxlan-address 2017-02-28 12:32:18 +01:00
libsystemd-network Merge pull request #5283 from poettering/tighten-sandbox 2017-03-01 23:35:06 +01:00
libudev Revert "udev: Introduce UDEV_PROPAGATE_LOG macro (#5302)" 2017-02-23 12:36:25 +01:00
locale tree-wide: make bus_map_all_properties return a proper sd_bus_error 2017-02-09 16:13:07 +01:00
login logind: check return value from lseek 2017-02-20 16:02:18 -05:00
machine machined: refuse bind mounts on containers that have user namespaces applied 2017-02-17 10:22:28 +01:00
machine-id-setup machine-id-setup: --print --commit respects the --root option 2016-12-13 13:03:13 +00:00
modules-load util-lib: various improvements to kernel command line parsing 2016-12-21 19:09:08 +01:00
mount mount-tools: silence gcc warning about uninit var 2017-02-21 11:15:50 -05:00
network Merge pull request #5464 from ssahani/label 2017-02-28 15:11:57 +01:00
notify Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
nspawn Merge pull request #5444 from poettering/cgroups-revert-no-error 2017-02-24 18:48:57 -05:00
nss-myhostname nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
nss-mymachines nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
nss-resolve nss-resolve: Fix assertion in ifindex_to_scopeid. (#5360) 2017-02-16 11:00:49 +01:00
nss-systemd nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
path
quotacheck qutoacheck,gpt-auto-generator: trivial coding style improvements 2016-12-21 19:09:28 +01:00
random-seed
rc-local-generator tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
remount-fs tree-wide: always invoke setmntent() with "re" mode 2016-12-20 20:00:09 +01:00
reply-password treewide: replace homegrown memory_erase with explicit_bzero 2017-02-05 21:07:55 -05:00
resolve resolved: add the new KSK to the built-in resolved trust anchor (#5486) 2017-02-28 22:49:19 -05:00
rfkill tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
run run: also pin unit when we we are in --pty mode 2017-02-28 18:35:05 +01:00
shared namespace: create base-filesystem directories if RootImage= or RootDirectory= are set 2017-03-05 21:19:29 +01:00
sleep Merge pull request #5131 from keszybz/environment-generators 2017-02-21 11:11:44 +01:00
socket-proxy socket-proxyd: fix --connections-max help message and docs (#5044) 2017-01-10 08:55:50 +01:00
stdio-bridge
sysctl sysctl: minor simplification 2016-11-02 11:39:48 -06:00
system-update-generator system-update-generator: warn if the command line blocks updates (#5173) 2017-02-01 21:50:03 +01:00
systemctl systemctl: fix bad memory access when mangle_names() fails (#5485) 2017-02-28 16:55:18 +01:00
systemd Syntax for defines that is also unterstood by the GNU C/C++ compilers. (#5397) 2017-02-20 16:24:45 -05:00
sysusers copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
sysv-generator sysv-generator: properly translate sysv facilities 2016-12-14 18:29:30 +01:00
test test: skip instead of fail if crypto kmods are not available 2017-03-03 16:45:44 +01:00
timedate tree-wide: add SD_ID128_MAKE_STR, remove LOG_MESSAGE_ID 2017-02-15 00:45:12 -05:00
timesync build-sys: add check for gperf lookup function signature (#5055) 2017-01-10 08:39:05 +01:00
tmpfiles Fix missing space in comments (#5439) 2017-02-24 18:14:02 +01:00
tty-ask-password-agent treewide: replace homegrown memory_erase with explicit_bzero 2017-02-05 21:07:55 -05:00
udev udev: Use parent bus id for virtio disk builtin path-id (#5500) 2017-03-01 15:30:17 -05:00
update-done tree-wide: add man: to manpage references (#5402) 2017-02-20 18:45:35 -05:00
update-utmp Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
user-sessions
vconsole Merge pull request #4448 from msoltyspl/vcfix 2016-10-26 20:55:18 -04:00
veritysetup tree-wide: remove consecutive duplicate words in comments (#5148) 2017-01-24 21:45:30 -05:00
volatile-root fstab-generator: add support for volatile boots 2016-12-21 19:09:29 +01:00
.gitignore
Makefile