Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nefus opened this issue Oct 3, 2024 · 0 comments
Open

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

nefus opened this issue Oct 3, 2024 · 0 comments

Comments

@nefus
Copy link

nefus commented Oct 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant