GNU bug report logs - #21209
/gnu/store should be able to be a symlink, but it can't

Previous Next

Package: guix;

Reported by: Kragen Javier Sitaker <kragen <at> canonical.org>

Date: Fri, 7 Aug 2015 16:48:01 UTC

Severity: normal

Tags: notabug

Fixed in version 0.8.3

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kragen Javier Sitaker <kragen <at> canonical.org>
To: bug-guix <at> gnu.org
Subject: /gnu/store should be able to be a symlink, but it can't
Date: Fri, 7 Aug 2015 16:03:08 +0000
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





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.