[systemd-devel] udev vs. nscd vs. /var automount

Michael Biebl mbiebl at gmail.com
Fri Apr 8 16:17:41 UTC 2016


2016-04-08 18:12 GMT+02:00 Andrei Borzenkov <arvidjaar at gmail.com>:
> 08.04.2016 18:20, Michael Biebl пишет:
>> 2016-04-08 16:25 GMT+02:00 Michal Soltys <soltys at ziu.info>:
>>> On your root partition keep /var/run symlink to /run - so regardless if /var
>>> is or isn't mounted, the path will be correct. Wouldn't that help ? (unless
>>> I missed something)
>>
>> That only work for late boot though. Consider the case where /var is a
>> separate partition. The symlink will only be available once /var has
>> been mounted, i.e. after local-fs.target.
>>
>
> But the idea was to have link on *root* partition, i.e. before /var is
> mounted.


The /var/run symlink should be on the partition providing /var, so
once /var is mounted /var/run points to /run


>> Early boot service need to use /run directly.

That still stands. Only /run guarantees that it is available during
the whole lifetime of the system.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list