Qubes logs (qmemman) do not get pruned... grow forever

Affichage de 14 messages sur 4
Qubes logs (qmemman) do not get pruned... grow forever Chris Laprise 20/07/18 03:09
Is there a recommended way to prune Qubes-specific log files? My
qmemman.log is huge >300MB!

My inclination is to delete it on startup...

--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886
Re: [qubes-users] Qubes logs do not get pruned... grow forever Chris Laprise 20/07/18 05:23
On 07/20/2018 06:09 AM, Chris Laprise wrote:
> Is there a recommended way to prune Qubes-specific log files? My
> qmemman.log is huge >300MB!
>
> My inclination is to delete it on startup...
>

More excesses in dom0:

/var/lvm/archive holds metadata backups for 30 days, was >400MB. Changed
backup{ retain_days } to a much lower value.

/var/log/xen/console holds onto logs for many months, possibly forever.
Files are not large but its very untidy.

Same goes for /var/log/libvirt/libxl

Same goes for /var/log/qubes
Re: [qubes-users] Qubes logs do not get pruned... grow forever David Hobach 21/07/18 03:00
On 07/20/2018 02:23 PM, Chris Laprise wrote:
> On 07/20/2018 06:09 AM, Chris Laprise wrote:
>> Is there a recommended way to prune Qubes-specific log files? My
>> qmemman.log is huge >300MB!
>>
>> My inclination is to delete it on startup...
>>
>
> More excesses in dom0:
>
> /var/lvm/archive holds metadata backups for 30 days, was >400MB. Changed
> backup{ retain_days } to a much lower value.
>
> /var/log/xen/console holds onto logs for many months, possibly forever.
> Files are not large but its very untidy.
>
> Same goes for /var/log/libvirt/libxl
>
> Same goes for /var/log/qubes

Just noticed that my /var/log is 5G.

Honestly I had thought that this was fixed long ago as I recall there
were 1-2 bugs reported even back with 3.x.

Looks like we'll have to create new ones and/or re-activate the old ones.

Some related ones I found:
https://github.com/QubesOS/qubes-issues/issues/3603
https://github.com/QubesOS/qubes-issues/issues/3360
https://github.com/QubesOS/qubes-issues/issues/1558

Re: [qubes-users] Qubes logs do not get pruned... grow forever Chris Laprise 21/07/18 03:15
Thanks. Add one more path to that:
/var/lib/qubes/backup