Make /run/lock tmpfs an API fs
authorMichael Biebl <biebl@debian.org>
Thu, 4 Sep 2014 23:15:16 +0000 (01:15 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 2 Apr 2019 19:29:26 +0000 (20:29 +0100)
commitf0e4e3bbfd6388a20d252157d87127b0bd5a5fd1
tree7e61a0959757b01a4c9989dd887e008d710c51e3
parenta3a55a808671defe0d99b14caa79363424df6618
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