]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
base-filesystem: also set up /run/ mount point if missing
authorLennart Poettering <lennart@poettering.net>
Mon, 15 May 2023 19:20:36 +0000 (21:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 May 2023 09:32:56 +0000 (11:32 +0200)
We don't support images without, hence create this one too, like we
create all other relevant mount points we definitely require for
booting.

src/shared/base-filesystem.c

index 8a50cc6ebb5e43997fa181d98e483bcbbcf9aef9..2d91e80ad603de1d96684c4539785f7031349c17 100644 (file)
@@ -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