Ability to config max journal size for logs #3099
Unanswered
dtkujawski
asked this question in
Home Assistant OS & Supervisor
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
In 2023 the HAOS was changed to force a maximum log size of 500M (GitHub Link)
Since the /etc/systemd filesystem is readonly, there is no way to edit this file. If we make a temporary binding/overlay of this file, it will not survive a HAOS reboot.
It would be nice to be able to override this value through an overlay file, like what is done for /mnt/overlay/etc/systemd/timesyncd.conf. So, if we could have this file editable in "/mnt/overlay/etc/systemd/journald.conf" that would be great.
Use cases
When running HAOS on a more beefy machine, this limit is very small and I would like to have 5GB of journal logs.
Current workarounds
There are no known workarounds to me. I can temporarily overlay my own file though "mount --bind" but it won't survive a reboot of HAOS.
Only way I know how to do this for real, is not using HAOS and using a linux installation as the OS system.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions