[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Daemon update
From: |
Ludovic Courtès |
Subject: |
Re: Daemon update |
Date: |
Wed, 27 May 2015 17:18:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Alexander Vorobiev <address@hidden> 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’.
- Daemon update, Ludovic Courtès, 2015/05/12
- Daemon update, Ludovic Courtès, 2015/05/19
- Re: Daemon update, Alex Vorobiev, 2015/05/20
- Re: Daemon update, Taylan Ulrich Bayırlı/Kammer, 2015/05/21
- Re: Daemon update, Ludovic Courtès, 2015/05/21
- Re: Daemon update, Alexander Vorobiev, 2015/05/22
- Re: Daemon update, Taylan Ulrich Bayırlı/Kammer, 2015/05/22
- Re: Daemon update, Ludovic Courtès, 2015/05/22
- Re: Daemon update, Alexander Vorobiev, 2015/05/26
- Re: Daemon update,
Ludovic Courtès <=
- Re: Daemon update, Alexander Vorobiev, 2015/05/27
- Re: Daemon update, Ludovic Courtès, 2015/05/27
- Re: Daemon update, Alexander Vorobiev, 2015/05/28
- Re: Daemon update, Ludovic Courtès, 2015/05/29
- Re: Daemon update, Alexander Vorobiev, 2015/05/29
- Re: Daemon update, Ludovic Courtès, 2015/05/31