bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2022-01-14 Thread Mathieu Othacehe
Hey Ludo! > It’s maybe not that important but I’m not convinced about the extra > “-image” and “-vm” suffixes; I don’t think it makes things clearer. Pushed without those suffixes! Thanks for reviewing, Mathieu

bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2022-01-13 Thread Ludovic Courtès
Hello, Mathieu Othacehe skribis: >> Hmm. Can we keep “image” persistent by default, and make ‘vm’ volatile >> by default? That way, ‘--volatile’ would only make sense for ‘image’, >> and ‘--persistent’ would only make sense for ‘vm’. (So we’d be adding >> just one option: ‘--persistent’.) >>

bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2022-01-13 Thread Mathieu Othacehe
Hey, > Hmm. Can we keep “image” persistent by default, and make ‘vm’ volatile > by default? That way, ‘--volatile’ would only make sense for ‘image’, > and ‘--persistent’ would only make sense for ‘vm’. (So we’d be adding > just one option: ‘--persistent’.) > > WDYT? I'm not fan of adding

bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2022-01-12 Thread Ludovic Courtès
Hi, Mathieu Othacehe skribis: > Here is a patch to store the rw images in the cache directory. Regarding > the volatile flag, things are a little more complex than what I thought > initially. > > The "guix system" help menu states that: > > --volatile for 'image', make the root

bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2022-01-11 Thread Mathieu Othacehe
Hey, Here is a patch to store the rw images in the cache directory. Regarding the volatile flag, things are a little more complex than what I thought initially. The "guix system" help menu states that: --8<---cut here---start->8--- --volatile

bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2022-01-04 Thread Leo Famulari
On Tue, Jan 04, 2022 at 09:17:53AM +0100, Ludovic Courtès wrote: > As for the image backing storage, using ~/.cache/guix/images (with non > dot-prefixed file names) sounds cleaner and safer to me (no risk of /tmp > race or whatever). I wonder if there are any other tools in Guix that tend to

bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2022-01-04 Thread Ludovic Courtès
Hi, Mathieu Othacehe skribis: >> This is new. I think the issue was introduced with recent work on (gnu >> system image), perhaps from this commit: >> >> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=da924796744bbb7b035a986fe5d28d8d613ff6af > > Before that commit "guix system vm" was

bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2022-01-03 Thread Mathieu Othacehe
Hello Leo, > This is new. I think the issue was introduced with recent work on (gnu > system image), perhaps from this commit: > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=da924796744bbb7b035a986fe5d28d8d613ff6af Before that commit "guix system vm" was always producing volatile

bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir

2021-12-31 Thread Leo Famulari
I noticed that files such as ".gk8hqaqb6z4q1gmk678sixjbc9r7kd9g-disk-image-rw" are filling up my $TMPDIR when building ISO images with Guix. This is new. I think the issue was introduced with recent work on (gnu system image), perhaps from this commit: