summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-05-15 21:20:36 +0200
committerLennart Poettering <lennart@poettering.net>2023-05-16 11:32:56 +0200
commit4d88d83924429effef87518e4627df6fb683a879 (patch)
tree97404c4c017758a4cab08e1ea893e521e5db8810 /src/shared
parentf44744ff5120482e8a1f6222f091bd97dc65ed85 (diff)
downloadsystemd-4d88d83924429effef87518e4627df6fb683a879.tar.gz
base-filesystem: also set up /run/ mount point if missing
We don't support images without, hence create this one too, like we create all other relevant mount points we definitely require for booting.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/base-filesystem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c
index 8a50cc6ebb..2d91e80ad6 100644
--- a/src/shared/base-filesystem.c
+++ b/src/shared/base-filesystem.c
@@ -40,6 +40,7 @@ static const BaseFilesystem table[] = {
{ "proc", 0555, NULL, NULL, true },
{ "sys", 0555, NULL, NULL, true },
{ "dev", 0555, NULL, NULL, true },
+ { "run", 0555, NULL, NULL, true },
/* Various architecture ABIs define the path to the dynamic loader via the /lib64/ subdirectory of
* the root directory. When booting from an otherwise empty root file system (where only /usr/ has