[Buildroot] [PATCH 1/2] skeleton: make /run a directory
gustavo at zacarias.com.ar
Mon Dec 1 21:32:29 UTC 2014
On 12/01/2014 06:19 PM, André Erdmann wrote:
> There are already tmpfiles.d rules for that, /usr/lib/tmpfiles.d/legacy.conf:
> d /run/lock 0755 root root -
> L /var/lock - - - - ../run/lock
> To make it work properly for systemd, /var/lock needs to be removed
> from the skeleton or point to /run/lock (or replace the "L" with "L+"
> in the tmpfiles.d rule).
Sure, but as i explained to Samuel on IRC this is just the tip of a
general cleanup regarding the base files.
Even though systemd ships that doing more symlinks won't help the
sysv-aspect of the cleanup since /run/lock won't exist whereas now lock
is still /tmp hence no breakage until the other patches are sent/applied.
The idea is to make a script to handle something similar to tmpfiles.d
for sysv-style so we can drop all the symlink hackery which is pointless
for systemd but necessary for sysv, we just stick is as S01basefiles or
some other preferred name.
And also to really move out all of the remaining files that make no
sense for systemd and/or sysv into a basefiles (or other nifty name)
package to avoid noise.
More information about the buildroot