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>
Tue, 18 Jan 2022 17:52:45 +0000 (17:52 +0000)
commitc3af1af239fb1cae27d7622221f7e22e35ef46e2
tree82d4b5c5fc7428bb9a983216481bdb8f56aed3c6
parent72e164b4d3c7f7e3ac5ce8be5b42acb59b0f10f1
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/shared/mount-setup.c
tmpfiles.d/legacy.conf.in