Make /run/lock tmpfs an API fs
authorMichael Biebl <biebl@debian.org>
Thu, 4 Sep 2014 23:15:16 +0000 (01:15 +0200)
committerLuca Boccassi <bluca@debian.org>
Tue, 1 Nov 2022 12:06:18 +0000 (12:06 +0000)
commit16f09d2703c1398b58c4aaf0af5fa448afd8ac87
tree91bb84644dba60a9794f8997c833f1eced8ffba4
parentb8bc64ce7ac05a4c0cf7dd2f57f07a369b1cc10b
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