Bug#932296: qa.debian.org: getwatch filling up /tmp
On Wed, Jul 17, 2019 at 10:11:39PM +0200, Lucas Nussbaum wrote:
> On 17/07/19 at 14:01 +0200, Julien Cristau wrote:
> > something in udd seems to extract entire source packages to
> > /tmp/getwatch.*. This fills up the disk. Please make it not do that.
>
> Hi,
>
> Thanks for reporting.
>
> It needs to extract the source packages to get the watch file. I don't
> think there's a way to ask dpkg-source to only extract a single file,
> and I don't want to re-implement dpkg-source.
>
It would be a single call to tar or patch though, which doesn't seem
like a huge amount of effort.
> Reviewing the code, there was a path where the tmp dir was not removed.
> I've fixed that. I'm not 100% sure this fixes everything, but it should
> clearly help.
>
There were quite a few getwatch temp dirs before I rebooted ullmann just
now because it was out of space.
> However, I also note that /tmp is on /, and / is quite small (only 5.3
> GB remaining). Would it be possible to add some disk space for /tmp or /
> on ullmann?
>
I'd dispute the "quite small" bit, extracting watch files shouldn't need
more than 5g. But you could also put your temp files somewhere under
/srv?
Cheers,
Julien
Reply to: