GNU bug report logs -
#15890
Please provide a way to delete old build directories.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15890 in the body.
You can then email your comments to 15890 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#15890
; Package
guix
.
(Thu, 14 Nov 2013 08:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
John Darrington <john <at> darrington.wattle.id.au>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 14 Nov 2013 08:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
When packages are built using guix build --keep-failed the build directories
are created in /tmp/nix* (as they should be).
But it is impossible to delete these directories without special priviliges.
The user who called guix build --keep-failed cannot delete them because they
are owned by guix-builder
Can we please either:
1. Have a command (or option to guix gc) to remove them ; OR
2. Arrange for the ownership of such directories to be changed to the calling user,
after the build has finished.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#15890
; Package
guix
.
(Tue, 10 Dec 2013 21:59:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 15890 <at> debbugs.gnu.org (full text, mbox):
John Darrington <john <at> darrington.wattle.id.au> skribis:
> When packages are built using guix build --keep-failed the build directories
> are created in /tmp/nix* (as they should be).
>
> But it is impossible to delete these directories without special priviliges.
> The user who called guix build --keep-failed cannot delete them because they
> are owned by guix-builder
>
> Can we please either:
>
> 1. Have a command (or option to guix gc) to remove them ; OR
>
> 2. Arrange for the ownership of such directories to be changed to the calling user,
> after the build has finished.
I agree. I would go for solution #2.
(Note that this will have to be submitted to the Nix project, since the
C++ code under nix/ is imported from there.)
Ludo’.
Severity set to 'wishlist' from 'normal'
Request was from
Mark H Weaver <mhw <at> netris.org>
to
control <at> debbugs.gnu.org
.
(Sun, 13 Apr 2014 03:32:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#15890
; Package
guix
.
(Mon, 07 Nov 2016 08:57:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 15890 <at> debbugs.gnu.org (full text, mbox):
Hi,
any news on this? Did anybody pass this to the Nix project?
Arrange for the ownership of such directories to be changed to the calling user,
after the build has finished
Would also allow for easily debugging build (by entering the environment
and restart the build).
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel <at> crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
Information forwarded
to
bug-guix <at> gnu.org
:
bug#15890
; Package
guix
.
(Wed, 09 Nov 2016 14:46:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 15890 <at> debbugs.gnu.org (full text, mbox):
Hi,
Hartmut Goebel <h.goebel <at> crazy-compilers.com> skribis:
> any news on this? Did anybody pass this to the Nix project?
No, but it shouldn’t be too hard: look for ‘settings.keepFailed’ in
libstore/build.cc and drop a chown -R in there. We need to propagate
the UID of the client who connected to the daemon, though.
Ludo’.
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Wed, 25 Jan 2017 10:57:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
John Darrington <john <at> darrington.wattle.id.au>
:
bug acknowledged by developer.
(Wed, 25 Jan 2017 10:57:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 15890-done <at> debbugs.gnu.org (full text, mbox):
John Darrington <john <at> darrington.wattle.id.au> skribis:
> When packages are built using guix build --keep-failed the build directories
> are created in /tmp/nix* (as they should be).
>
> But it is impossible to delete these directories without special priviliges.
> The user who called guix build --keep-failed cannot delete them because they
> are owned by guix-builder
>
> Can we please either:
>
> 1. Have a command (or option to guix gc) to remove them ; OR
>
> 2. Arrange for the ownership of such directories to be changed to the calling user,
> after the build has finished.
This was fixed by Hartmut in commit
2608e40988ba8cf51723fe0d21bdedf6b3997c9c.
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 22 Feb 2017 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.