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>
Mon, 30 Jan 2023 01:03:48 +0000 (01:03 +0000)
commit699956240519f737e9c2afc88c844f7323d2b54b
tree92d9c26cbfd28fe46c535b39e041e2c7a2f874f2
parent1951eec8433b16af561433e40df1368937543e63
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