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, 8 Nov 2022 14:23:22 +0000 (14:23 +0000)
commit747494c4932bdcdb5316cc9ba24a1ac090de00dd
tree9b835bd3a330dc9d26127169374b2d3fb6dd13eb
parenta78635e35db7f1df14e8d97dc233b81d605719fb
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