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>
Thu, 29 May 2025 17:04:02 +0000 (18:04 +0100)
commit8a56ec533b5b34a20254955523ab4dfb7b482237
tree06c695948da4c9a397303b71750c0b25a43a0d4d
parent2578bc5969d1d15395076bcec5d21ff5cc98dae4
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