diff options
author | Alan Jenkins <alan.christopher.jenkins@gmail.com> | 2018-01-15 16:55:11 +0000 |
---|---|---|
committer | Alan Jenkins <alan.christopher.jenkins@gmail.com> | 2018-01-17 18:04:27 +0000 |
commit | 45a582d5369b501743ac4dded3a481e6a589c029 (patch) | |
tree | eb0063122ecd2f121833a6420b9d1a7aacb82778 /README | |
parent | core: namespace: nitpick /dev/ptmx error handling (diff) | |
download | systemd-45a582d5369b501743ac4dded3a481e6a589c029.tar.gz systemd-45a582d5369b501743ac4dded3a481e6a589c029.tar.bz2 systemd-45a582d5369b501743ac4dded3a481e6a589c029.zip |
README: fix context for CONFIG_DEVPTS_MULTIPLE_INSTANCES
`newinstance` (and `ptmxmode`) options of devpts are _not_ used by
PrivateDevices=. (/dev/pts is shared, similar to how /dev/shm and
/dev/mqueue are handled). It is used by nspawn containers though.
Also CONFIG_DEVPTS_MULTIPLE_INSTANCES was removed in 4.7-rc2
https://github.com/torvalds/linux/commit/eedf265aa003b4781de24cfed40a655a664457e6
and no longer needs to be set, so make that clearer to avoid confusion.
Diffstat (limited to 'README')
-rw-r--r-- | README | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -69,11 +69,10 @@ REQUIREMENTS: create additional symlinks in /dev/disk/ and /dev/tape: CONFIG_BLK_DEV_BSG - Required for PrivateNetwork= and PrivateDevices= in service units: + Required for PrivateNetwork= in service units: CONFIG_NET_NS - CONFIG_DEVPTS_MULTIPLE_INSTANCES Note that systemd-localed.service and other systemd units use - PrivateNetwork and PrivateDevices so this is effectively required. + PrivateNetwork so this is effectively required. Required for PrivateUsers= in service units: CONFIG_USER_NS @@ -119,6 +118,9 @@ REQUIREMENTS: isn't. The next best thing is to make this change through a modprobe.d drop-in. This is shipped by default, see modprobe.d/systemd.conf. + Required for systemd-nspawn: + CONFIG_DEVPTS_MULTIPLE_INSTANCES or Linux kernel >= 4.7 + Note that kernel auditing is broken when used with systemd's container code. When using systemd in conjunction with containers, please make sure to either turn off auditing at |