unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alexander Vorobiev <alexander.vorobiev@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Daemon update
Date: Wed, 27 May 2015 17:18:19 +0200	[thread overview]
Message-ID: <87d21mhww4.fsf@gnu.org> (raw)
In-Reply-To: <CAGOCFPWDNL0CNw2vWN16wf7PnAnojDahqY2unZqX28=yQnOh4Q@mail.gmail.com> (Alexander Vorobiev's message of "Tue, 26 May 2015 22:27:41 -0500")

Alexander Vorobiev <alexander.vorobiev@gmail.com> skribis:

> Ok, I have just tried to build the binary tarball on a VM where I
> reproduced all the paths I want (basically, instead of /gnu I want
> /shared/shape_tier3/common/local/guix) and which has c++11 compliant gcc --
> that also failed.

What failed exactly?

Note that ‘make guix-binary.x86_64-linux.tar.xz’ produces a tarball that
uses the exact same store directory as the host Guix.  So if you want to
produce a binary tarball with a custom store directory, you first need
to build Guix --with-store-dir=/custom/store.

If, in addition, you want a custom $localstatedir, then at least the
‘guix’ recipe in (gnu packages package-management) must be adjusted, as
well as the “/var” in ‘self-contained-tarball’ in (gnu system install).

> I pulled today's git and ran guix-daemon --no-substitutes. The error
> seems to be "unable to fork: Operation not permitted". I am running
> guix-daemon as myself

When running guix-daemon unprivileged, you need to pass --disable-chroot
(EACCES is returned by clone(2) here since we ask for separate name
spaces, which only root or someone with CAP_SYS_ADMIN can do.)

It’s better to use run it as root though (info "(guix) Invoking
guix-daemon").

Thanks,
Ludo’.

  reply	other threads:[~2015-05-27 15:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19 14:15 Daemon update Ludovic Courtès
2015-05-21  3:03 ` Alex Vorobiev
2015-05-21  7:24   ` Taylan Ulrich Bayırlı/Kammer
2015-05-21  8:24   ` Ludovic Courtès
2015-05-22  1:47     ` Alexander Vorobiev
2015-05-22  8:35       ` Taylan Ulrich Bayırlı/Kammer
2015-05-22 13:45       ` Ludovic Courtès
2015-05-27  3:27         ` Alexander Vorobiev
2015-05-27 15:18           ` Ludovic Courtès [this message]
2015-05-27 20:10             ` Alexander Vorobiev
2015-05-27 20:51               ` Ludovic Courtès
2015-05-28 17:56                 ` Alexander Vorobiev
2015-05-29 20:57                   ` Ludovic Courtès
2015-05-29 22:34                     ` Alexander Vorobiev
2015-05-31 19:14                       ` Ludovic Courtès
2015-06-01 16:50                         ` Alexander Vorobiev
2015-06-01 19:58                           ` Ludovic Courtès
2015-06-01 20:23                             ` Alexander Vorobiev
2015-06-02  5:26                               ` Alexander Vorobiev
2015-06-03  8:24                                 ` Ludovic Courtès
2015-06-03 16:04                                   ` Alexander Vorobiev
  -- strict thread matches above, loose matches on Subject: below --
2015-05-12  7:58 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=87d21mhww4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alexander.vorobiev@gmail.com \
    --cc=guix-devel@gnu.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).