diff options
author | Dimitri John Ledkov <dimitri.j.ledkov@intel.com> | 2015-07-03 11:34:12 +0100 |
---|---|---|
committer | Dimitri John Ledkov <dimitri.j.ledkov@intel.com> | 2015-07-03 17:16:09 +0100 |
commit | ac892057c2ddd8f06323c73ebd80423cc3ec7190 (patch) | |
tree | 0c8fb0d9df2ce27be67756a945f4098b0c995931 /src/journal/journald-wall.c | |
parent | ed3fd0493160522b5878ef261bcee6f2d7d37ba5 (diff) |
journal: in persistent mode create /var/log/journal, with all parents.
systemd-journald races with systemd-tmpfiles-setup, and hence both are
started at about the same time. On a bare-bones system (e.g. with
empty /var, or even non-existent /var), systemd-tmpfiles will create
/var/log. But it can happen too late, that is systemd-journald already
attempted to mkdir /var/log/journal, ignoring the error. Thus failing
to create /var/log/journal. One option, without modifiying the
dependency graph is to create /var/log/journal directory with parents,
when persistent storage has been requested.
Diffstat (limited to 'src/journal/journald-wall.c')
0 files changed, 0 insertions, 0 deletions