unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: David Craven <david@craven.ch>
Cc: 23828@debbugs.gnu.org
Subject: bug#23828: unsupported sexp item type #f ```
Date: Thu, 23 Jun 2016 10:06:18 +0200	[thread overview]
Message-ID: <87d1n8s51h.fsf@gnu.org> (raw)
In-Reply-To: <CAL1_immTgxUvhD1LUC6p0AJoyRZ+GcPNeqchbJrtAb7N_8TChg@mail.gmail.com> (David Craven's message of "Thu, 23 Jun 2016 05:37:59 +0200")

David Craven <david@craven.ch> skribis:

> I'm running guix from
> `/gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/bin` since I
> don't have my profile/PATH setup correctly yet. I was under the
> impression that `./guix package -i guix` would create the right
> symlinks in `/var/guix/profiles/per-user`.

OK.

> Weird, `/etc/guix/acl` doesn't contain anything but `/etc/nix/acl` does:
> ```
> sudo cat /etc/nix/acl
> (acl
>  (entry
>   ()
>   (tag
>    (guix import)
>    )
>   )
>  )
> ```

This is clearly bogus (the “()” above).  Guix only creates and uses
/etc/guix/acl, not /etc/nix/acl.

Could it be that /etc/guix is a symlink to /etc/nix, or something like
that?

> After `sudo rm -f /etc/nix/acl` guix or guix-daemon recreates the same
> file and exits with the same stack trace.

By default, Guix ensures that at least your own key, if it exists, is
part of the ACL; this happens in ‘ensure-acl’, in guix/pki.scm.

I suspect that in your case /etc/guix/signing-key.pub is not a valid
key, which is why ‘ensure-acl’ ends up adding “()”.  Could you post the
contents of /etc/guix/signing-key.pub?  (It’s a public key, so doing it
is OK.)

Possibly this has to do with /etc/guix pointing to /etc/nix, and
/etc/nix/signing-key.pub being a public key in the format that Nix uses,
which is a completely different format.

Thanks,
Ludo’.

  reply	other threads:[~2016-06-23  8:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-22 16:44 bug#23828: unsupported sexp item type #f ``` David Craven
2016-06-22 21:28 ` Ludovic Courtès
2016-06-23  3:37   ` David Craven
2016-06-23  8:06     ` Ludovic Courtès [this message]
     [not found]       ` <CAL1_imkqvVf_usHcp54PmNfLPb5aPQB5sFe+gPkyw2KBz+dGUQ@mail.gmail.com>
2016-06-23 12:54         ` Ludovic Courtès
2016-06-26 22:15     ` bug#22459: " Ludovic Courtès

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=87d1n8s51h.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=23828@debbugs.gnu.org \
    --cc=david@craven.ch \
    /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).