Make /run/lock tmpfs an API fs
authorMichael Biebl <biebl@debian.org>
Thu, 4 Sep 2014 23:15:16 +0000 (01:15 +0200)
committerMichael Biebl <biebl@debian.org>
Fri, 10 Apr 2020 09:55:15 +0000 (10:55 +0100)
commit4cc8a9cc38e87679c93eb595de0e9752a0373780
tree9986dd31cb646667a7788276820fd36a24c08a35
parentf679b4188076a6a74213f3fdf10f76dc59344a0a
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