On 2016-04-08 18:12, Andrei Borzenkov wrote:
08.04.2016 18:20, Michael Biebl пишет:
2016-04-08 16:25 GMT+02:00 Michal Soltys <sol...@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.


Exactly that was my point. /var being separate partition doesn't change the fact it's mounted on some /var somewhere (root partition). And there's no issue in having compatibility symlink on underlying partition. In both cases - before and after mount - you have working access to /run through compatibility link under /var/run -> /run

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to