Skip to content

/var/log not mounted when journalctl looks for it  #530

@nefus

Description

@nefus

according to Step 3: System Installation /var/log is on his own volume.
At my pretty standard system it's not mounted when journalctl looks for /var/log/journal at boot time, so, as journalctl is configured "# Storage=auto", it uses RAM and does not persist logs between boots.

My workaround:

zfs set mountpoint=legacy rpool/var/log
echo "rpool/var/log /var/log zfs defaults 0 0" >> /etc/fstab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions