unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Kragen Javier Sitaker <kragen@canonical.org>
Cc: 21209@debbugs.gnu.org
Subject: bug#21209: /gnu/store should be able to be a symlink, but it can't
Date: Tue, 18 Aug 2015 19:52:18 +0200	[thread overview]
Message-ID: <87r3n0iiwd.fsf@gnu.org> (raw)
In-Reply-To: <20150807160308.GA13042@adjuvant> (Kragen Javier Sitaker's message of "Fri, 7 Aug 2015 16:03:08 +0000")

Kragen Javier Sitaker <kragen@canonical.org> skribis:

> Apparently I can’t make /gnu/store a symlink:
>
>     : user@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@debian:~/pkgs/guix-0.8.1; ls -l /gnu/store
>     lrwxrwxrwx 1 root root 9 Aug  7 12:56 /gnu/store -> /gnustore
>     : user@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’.

      parent reply	other threads:[~2015-08-18 18:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07 16:03 bug#21209: /gnu/store should be able to be a symlink, but it can't Kragen Javier Sitaker
2015-08-08  4:51 ` Claes Wallin
2015-08-08  9:31   ` Pjotr Prins
2015-08-08 15:48     ` Kragen Javier Sitaker
2015-08-18 17:52 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3n0iiwd.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=21209@debbugs.gnu.org \
    --cc=kragen@canonical.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).