#985452 cowbuilder: leaves around stray /var/cache/pbuilder/build/cow.[0-9]+

Package:
cowbuilder
Source:
cowdancer
Description:
pbuilder running on cowdancer
Submitter:
Hans-Christoph Steiner
Date:
2021-03-22 18:33:03 UTC
Severity:
normal
#985452#5
Date:
2021-03-18 13:19:46 UTC
From:
To:
Tags: patch

Dear Maintainer,

I've been using cowbuilder a long time.  I recently noticed that I had
~20gigs of stuff in /var/cache/pbuilder/build:

 .../pbuilder/build $ ls -ld cow.[02-9]*
drwxr-xr-x 23 root root 4096 Dez 29 17:06 cow.21198
drwxr-xr-x 22 root root 4096 Nov 23 22:48 cow.21823
drwxr-xr-x 18 root root 4096 Jän  9  2020 cow.22112
drwxr-xr-x 22 root root 4096 Dez 13 00:31 cow.22971
drwxr-xr-x 22 root root 4096 Dez 12 22:51 cow.23828
drwxr-xr-x 22 root root 4096 Okt  8 18:01 cow.27699
drwxr-xr-x 22 root root 4096 Jän  3 15:05 cow.28802
drwxr-xr-x 22 root root 4096 Mai 14  2020 cow.30699
drwxr-xr-x 18 root root 4096 Aug 19  2020 cow.30973
drwxr-xr-x 22 root root 4096 Nov 24 14:38 cow.4974
drwxr-xr-x 22 root root 4096 Mai 26  2020 cow.6459
drwxr-xr-x 22 root root 4096 Jän  3 16:28 cow.7114
drwxr-xr-x 23 root root 4096 Dez 13 00:08 cow.7734
drwxr-xr-x 22 root root 4096 Feb 15 13:21 cow.8510

There were no active sessions, so it seems these are just forgotten
detritus.  I propose adding a cron job to clean those up.  I attached
one that works for me.

#985452#8
Date:
2021-03-22 18:30:06 UTC
From:
To:
Control: tag -1 -patch
Control: retitle -1 cowbuilder: leaves around stray /var/cache/pbuilder/build/cow.[0-9]+

mh, that's indeed not nice.

Sorry, but a cronjob for this kind of things is not the proper solution.