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>
Sun, 25 Aug 2024 17:35:39 +0000 (18:35 +0100)
commit76eeb40ada36e9a476942f75d74747e003a05ef2
tree298e5ffd6c405865b3de9077fa70ad4d49fcd0f3
parentdefc64ee231471dae58cd636d19ccbbc4af30230
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