I have around 40 vms (templates, cloned modified templates, many proxy vms, multiple use case appvms, at least 6 or 7 dispVM’s. When i leave a disposable vm, its name is found in mulitple sections of dom0 eg. /var/log/libvirt/libxl /var/log/qubes /var/log/xen/console, this also applies to vm’s of any type that i have completely deleted. i’m fairly sure there are others as i saw a post related to this a couple of months ago that I am now unable to locate.
In addition, in kmenuedit, deleted qubes entries names still appear.
Is there a way to clean up all these garbage files? I do not want logs of my disposble vm’s anywhere nor my deleted vms? If so, is there a way to automate this process.
yes, its the “at your own risk” part that bothers me, i have before deleted too many. My point really is, what the hell are any of them doing there? disposable vm’s should vanish from everywhere once they have been closed, not kept permenent logs of. Really i’m after either a way to change the settings in dom0 to stop storing such logs, or requesting the feature to sanitize dom0 of old redundent logs of dispvms and deleted vms…
I would not go down that road at all, as far as I know, qubes 4.1 has the trim function enabled on ssd’s (if i’m wrong about this, please someone correct me) by default. The issue here is the amount of logging of activities of domU’s done in dom0, leaving trailsl of information behind (for example the timestamps of when a qube was used), A qubes devoloper may know why its neccesary to keep log files of disposable vm’s, but I can’t see what it could be, likewise with qubes that have been completely deleted by the user. Apart from minmal essential logging (to seek errors in journalctl for example). i’d rather the logs were very minimal, and of course, i’m only referring to /var/log directory. I do not know if there are other areas of dom0 that retain uneccesary data from dispVM’s and deleted VM’s.