rmt-cli mirror is using /tmp to cache files
martin-0 opened this issue · 3 comments
I've separated FS for /var/lib/rmt to store repo files. However during rmt-cli mirror I'm getting constantly /tmp full due to cache files being stored there. Is there a way to tell rmt to cache somewhere else ? /tmp is small on purpose on our servers.
Hey Martin,
I checked to see where RMT possible stores temporary
files and indeed it seem when mirroring it downloads licence
and metadata
(e.g. repomd.xml) files to /tmp
.
I'm going to search why the current implementation is downloading to /tmp
and will add this issue to our roadmap.
Sadly the only thing right now I can suggest, is to increase the size of /tmp
.
I spoke to my team and we decided that this case is very specific. For now we will not change our implementation and require a /tmp
which is big enough to store licence
and metadata
files.
But I will look to get this requirement added to the handbook, so that its clear for everybody. Thank you for your feedback!
/tmp is being kept small for various reasons. It's sad to see this regression compared to current SMT implementation. I hope you guys change your mind later on and add the option to set cachedir in rmt.conf.