Make /run/lock tmpfs an API fs
authorMichael Biebl <biebl@debian.org>
Thu, 4 Sep 2014 23:15:16 +0000 (01:15 +0200)
committerMichael Biebl <biebl@debian.org>
Sat, 15 Feb 2020 14:44:45 +0000 (14:44 +0000)
commit65c6e4f84ef61f31c165f71df0bacf04d56b4ab0
treeac5cec4a56dc94ce2f98cea78db43150ec779021
parentb58868af1b941b93c5bec7aa6b396ca10ca98a4c
Make /run/lock tmpfs an API fs

The /run/lock directory is world-writable in Debian due to historic
reasons. To avoid user processes filling up /run, we mount a separate
tmpfs for /run/lock. As this directory needs to be available during
early boot, we make it an API fs.

Drop it from tmpfiles.d/legacy.conf to not clobber the permissions.

Closes: #751392
Gbp-Pq: Topic debian
Gbp-Pq: Name Make-run-lock-tmpfs-an-API-fs.patch
src/core/mount-setup.c
tmpfiles.d/legacy.conf