[Revisor-users] Revisor not cleaning up everything

Jeroen van Meeuwen kanarip at kanarip.com
Wed Nov 28 15:01:59 UTC 2007


Alexander Todorov wrote:
> Hi,
> it seems that Revisor is not cleaning up everything after it's finished.
> Namely the files under /var/tmp which contain rpm packages.
> As that may comprise a lot of disk space Revisor should delete these 
> files when media is built (before exit). Currently it is deleting the 
> files before starting the next compose, to assure the environment is 
> clean. But by the time you run Revisor again the files occupy 
> significant disk space.
> 

You are right, Revisor should clean up after itself. It does so for all 
compose directories (unless of course it fails during the compose). It 
does not however delete /var/tmp/revisor-yumcache as this is all 
downloaded data.

Having a user specify whether to delete the cache in a configuration 
file IMO is just as easy as having them do the rm -rf 
/var/tmp/revisor-yumcache manually.

I agree though this could be a setting, set to not delete anything by 
default, so that once you know you want to delete the cache, you can 
configure it.

Let me know what you think,

Kind regards,

Jeroen van Meeuwen
-kanarip


More information about the Revisor-users mailing list