Your opinion about smartmontools persistent logs
smartmontools, which is installed by default, can populate the
/var/lib/smartmontoolsdirectory if it exists, but won't if it doesn't. Someone suggested, via https://github.com/xcp-ng/xcp/issues/137, that we create it automatically at initial installation (which means that I'd probably also create it in next update because I prefer installed systems and updated systems not to diverge).
I think it's a good idea but I want to have your input first, because I may be missing some parts of the puzzle (adverse effects).
So, what do you think? And should we logrotate the files to avoid them to grow too much?
maxcuttins last edited by
It seems to be a good idea.
My only concern was about logrotate, but I see you have already take it into account.
I'm not sure smartd likes having its files logrotated though, since it relies on that data to issue warnings.
Yes, cool idea. Logrotate++