[systemd-devel] After in new var-lock.service

Kay Sievers kay.sievers at vrfy.org
Wed Aug 18 09:13:26 PDT 2010

On Wed, Aug 18, 2010 at 17:55, jean-michel.pollion at laposte.net
<jean-michel.pollion at laposte.net> wrote:
> I've seen that the new var-lock.service have a dependency "After=var-run.mount".
> Is there a specific reason why var-lock.service depends on var-run.mount being up ?

It creates stuff in /var/run that is only needed when an empty tmpfs
is mounted there. If /var/run is on disk, none of these things is
needed, but old stuff would need to be deleted instead. The .service
is just the extension of the .mount, and does not make sense on its


More information about the systemd-devel mailing list