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>
Mon, 3 Aug 2020 07:46:27 +0000 (08:46 +0100)
commita2688371c0d1e5d71a46e8e9d5b844d631ed1add
tree56eeef3a5e6f5aa6ba26668ef7c508d3bcb52e8f
parenta61865a917f1eaf0eaa71207d0091b46f2fafc0b
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