Re: systemd: /run directory not created

Enrico Scholz
2013-01-24T13:08:44Z

Radu Moisan <radu.moisan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
writes:

>> /run is part of systemd's api and mounted very early internally by
>> systemd. This mountpoint must exist in the filesystem and it will
>> probably not work when it is symlink into /var/volatile which gets
>> mounted later.
>
> Isn't systemd looking into fstab.systemd for mount points?

not for /run or /proc or so. In src/core/mount-setup.c there is a
'mount_table[]' list which is evaluated before fstab is parsed. You
can override this by setting $SYSTEMD_SKIP_API_MOUNTS but this will
create other problems.

Enrico