GNU bug report logs -
#21209
/gnu/store should be able to be a symlink, but it can't
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 21209 in the body.
You can then email your comments to 21209 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#21209
; Package
guix
.
(Fri, 07 Aug 2015 16:48:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kragen Javier Sitaker <kragen <at> canonical.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 07 Aug 2015 16:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Apparently I can’t make /gnu/store a symlink:
: user <at> debian:~/pkgs/guix-0.8.1; time /usr/local/bin/guix pull
guix pull: error: build failed: `/gnu/store' is not a directory
real 0m0.431s
user 0m0.104s
sys 0m0.036s
: user <at> debian:~/pkgs/guix-0.8.1; ls -l /gnu/store
lrwxrwxrwx 1 root root 9 Aug 7 12:56 /gnu/store -> /gnustore
: user <at> debian:~/pkgs/guix-0.8.1; ls -Ldl /gnu/store
drwxrwxr-t 40 root guix-builder 49152 Aug 7 12:56 /gnu/store
Is there a reason for this? It’s inconvenient. (My root SSD only has
a couple gigs left.)
I’m working around that by directly mounting the /gnustore partition
under /gnu/store now.
: user <at> debian:~/pkgs/guix-0.8.1; sudo vi /etc/fstab
: user <at> debian:~/pkgs/guix-0.8.1; grep store /etc/fstab
/tb/gnustore.ext4 /gnu/store ext4 loop 2 3
: user <at> debian:~/pkgs/guix-0.8.1; sudo umount /gnustore
: user <at> debian:~/pkgs/guix-0.8.1; sudo rm /gnu/store
: user <at> debian:~/pkgs/guix-0.8.1; sudo mkdir /gnu/store
: user <at> debian:~/pkgs/guix-0.8.1; sudo mount -a
Information forwarded
to
bug-guix <at> gnu.org
:
bug#21209
; Package
guix
.
(Sat, 08 Aug 2015 04:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 21209 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Not commenting on the underlying problem, but on your workaround.
On 07-Aug-2015 11:22 pm, "Kragen Javier Sitaker" <kragen <at> canonical.org>
wrote:
>
> Apparently I can’t make /gnu/store a symlink:
[ . . . ]
> I’m working around that by directly mounting the /gnustore partition
> under /gnu/store now.
[ . . . ]
> /tb/gnustore.ext4 /gnu/store ext4 loop 2 3
You don't need to make a new file system and a loop mount. You could just
make a bind mount.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#21209
; Package
guix
.
(Sat, 08 Aug 2015 15:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 21209 <at> debbugs.gnu.org (full text, mbox):
On Sat, Aug 08, 2015 at 11:31:19AM +0200, Pjotr Prins wrote:
> it is by design that you can't symlink.
If that is true (and it seems like a rather strange design; why would somebody
want that?) I think that the error message should explain that rather than
simply complaining that /gnu/store is "not a directory".
> On Sat, Aug 08, 2015 at 06:51:17AM +0200, Claes Wallin wrote:
> > On 07-Aug-2015 11:22 pm, "Kragen Javier Sitaker" <[1]kragen <at> canonical.org>
> > wrote:
> > > I’m working around that by directly mounting the /gnustore partition
> > > under /gnu/store now.
> >
> > You don't need to make a new file system and a loop mount. You could just
> > make a bind mount.
Indeed, but I had already made the new filesystem, for other reasons.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#21209
; Package
guix
.
(Sat, 08 Aug 2015 23:35:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 21209 <at> debbugs.gnu.org (full text, mbox):
it is by design that you can't symlink.
On Sat, Aug 08, 2015 at 06:51:17AM +0200, Claes Wallin wrote:
> Not commenting on the underlying problem, but on your workaround.
>
> On 07-Aug-2015 11:22 pm, "Kragen Javier Sitaker" <[1]kragen <at> canonical.org>
> wrote:
> >
> > Apparently I can’t make /gnu/store a symlink:
>
> [ . . . ]
>
> > I’m working around that by directly mounting the /gnustore partition
> > under /gnu/store now.
>
> [ . . . ]
>
> > /tb/gnustore.ext4 /gnu/store ext4 loop 2 3
>
> You don't need to make a new file system and a loop mount. You could just
> make a bind mount.
>
> References
>
> Visible links
> 1. mailto:kragen <at> canonical.org
--
Information forwarded
to
bug-guix <at> gnu.org
:
bug#21209
; Package
guix
.
(Tue, 18 Aug 2015 17:53:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 21209 <at> debbugs.gnu.org (full text, mbox):
Kragen Javier Sitaker <kragen <at> canonical.org> skribis:
> Apparently I can’t make /gnu/store a symlink:
>
> : user <at> debian:~/pkgs/guix-0.8.1; time /usr/local/bin/guix pull
> guix pull: error: build failed: `/gnu/store' is not a directory
>
> real 0m0.431s
> user 0m0.104s
> sys 0m0.036s
> : user <at> debian:~/pkgs/guix-0.8.1; ls -l /gnu/store
> lrwxrwxrwx 1 root root 9 Aug 7 12:56 /gnu/store -> /gnustore
> : user <at> debian:~/pkgs/guix-0.8.1; ls -Ldl /gnu/store
> drwxrwxr-t 40 root guix-builder 49152 Aug 7 12:56 /gnu/store
>
> Is there a reason for this?
Yes, the daemon requires the canonical file name of the store.
> It’s inconvenient. (My root SSD only has a couple gigs left.)
Then I would suggest using a bind mount instead of a symlink.
Does that work for you?
Thanks,
Ludo’.
Added tag(s) notabug.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Fri, 11 Sep 2015 17:25:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 0.8.3, send any further explanations to
21209 <at> debbugs.gnu.org and Kragen Javier Sitaker <kragen <at> canonical.org>
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Fri, 11 Sep 2015 17:25:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 10 Oct 2015 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.