mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
namespace: allow overriding /run with a TemporaryFileSystem=
Lower priority of RUN, so that TMPFS and especially the mount flags given with `TemporaryFileSystem=` are used. This allows making `/run` private with drop-ins such as: ``` [Service] BindReadOnlyPaths=/run/systemd:/run/systemd:norbind TemporaryFileSystem=/run:nodev,noexec,nosuid,rw,size=32k,nr_inodes=10,mode=0755 ```
This commit is contained in:
parent
b5d2163b8e
commit
124139859e
@ -57,12 +57,12 @@ typedef enum MountMode {
|
||||
EMPTY_DIR,
|
||||
SYSFS,
|
||||
PROCFS,
|
||||
RUN,
|
||||
READONLY,
|
||||
READWRITE,
|
||||
NOEXEC,
|
||||
EXEC,
|
||||
TMPFS,
|
||||
RUN,
|
||||
EXTENSION_IMAGES, /* Mounted outside the root directory, and used by subsequent mounts */
|
||||
MQUEUEFS,
|
||||
READWRITE_IMPLICIT, /* Should have the lowest priority. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user