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 · 1 comment
Open

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

nefus opened this issue Oct 3, 2024 · 1 comment

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

@aschaap
Copy link

aschaap commented Jan 23, 2025

@rlaager : It would appear the note at the end sort of addresses /var/log and /var/spool, but could this be made more explicit? unlike the Ubuntu guide, these datasets are not nested under rpool/ROOT/debian, so extra work seems necessary.

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

2 participants