[systemd-devel] [PATCH] tmpfiles.d: create /run/lock{, /lockdev} even without sysvcompat

Lennart Poettering lennart at poettering.net
Thu Jul 5 07:46:36 PDT 2012


On Wed, 04.07.12 16:09, Tom Gundersen (teg at jklm.no) wrote:

> Rather than skipping all of tmpfilse.d/legacy.conf when sysvcompat is
> not enabled, just skip the line related to sysvinit.
> 
> This is useful when distro's (such as Arch) move away from systemd's
> sysvcompat support, but still want to support legacy applications that
> rely on /run/lock and /run/lock/lockdev. We probably have to support
> these sorts of applications long after sysvinit is gone.

Hmm, I think it would be nicer to just split this up in two: legacy.conf
and legacy-lock.conf or so. We'd still install both triggered by
HAVE_SYSV_COMPAT but downstream can just remove the one they don't want?

(Just a bit concerned to get too many options here...)

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list