Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-18 Thread 韋嘉誠
On Mon, Aug 17, 2015 at 10:57 PM, Eric Bavier wrote: >> Any patches related to bootstrapping gcc? I'm getting lib/lib64 confusion. > > > Yes, that's been one issue. > > Attached are the patches I have so far. Hopefully they can get you a bit > further. I've been able to build a number of packag

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-18 Thread Eric Bavier
On 2015-08-17 15:46, Claes Wallin wrote: On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier wrote: I have experimented with this a bit lately. It works to some extent, but I have had to apply a few patches to some package recipes. Some packages have failing tests (where presumably they would pass

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-18 Thread 韋嘉誠
On Mon, Aug 17, 2015 at 10:57 PM, Eric Bavier wrote: > On 2015-08-17 15:46, Claes Wallin wrote: >> On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier >> wrote: >> >>> I have experimented with this a bit lately. It works to some extent, >>> but I have had to apply a few patches to some package recipes

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread 韋嘉誠
On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier wrote: > I have experimented with this a bit lately. It works to some extent, > but I have had to apply a few patches to some package recipes. Some > packages have failing tests (where presumably they would pass or be > skipped in the chroot), which

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread 韋嘉誠
On Mon, Aug 17, 2015 at 5:25 PM, Thompson, David wrote: > On Mon, Aug 17, 2015 at 11:16 AM, Claes Wallin (韋嘉誠) > wrote: >>> I think that to really make unprivileged use of Guix work acceptably, >>> we need to use the user namespaces feature first introduced in Linux >>> 3.8. This would allow un

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread Thompson, David
On Mon, Aug 17, 2015 at 11:16 AM, Claes Wallin (韋嘉誠) wrote: > On Mon, Aug 17, 2015 at 4:34 PM, Thompson, David > wrote: >> On Mon, Aug 17, 2015 at 4:33 AM, Eric Bavier >> wrote: >>> On Mon, 17 Aug 2015 14:45:28 +0200 >>> Claes Wallin (韋嘉誠) wrote: > https://www.gnu.org/software/guix/manual

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread 韋嘉誠
I'm almost done talking to myself, I promise. This is just all very exciting. On Mon, Aug 17, 2015 at 4:31 PM, Claes Wallin (韋嘉誠) wrote: > On Mon, Aug 17, 2015 at 4:27 PM, Claes Wallin (韋嘉誠) > wrote: > >> Now I'm doing this: >> >> git clean -fxd && # recover from previous attempts >> git checkou

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread 韋嘉誠
On Mon, Aug 17, 2015 at 4:34 PM, Thompson, David wrote: > On Mon, Aug 17, 2015 at 4:33 AM, Eric Bavier > wrote: >> On Mon, 17 Aug 2015 14:45:28 +0200 >> Claes Wallin (韋嘉誠) wrote: >>> https://www.gnu.org/software/guix/manual/guix.html#Build-Environment-Setup >>> >>> "If you are installing Guix

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread Thompson, David
On Mon, Aug 17, 2015 at 4:33 AM, Eric Bavier wrote: > On Mon, 17 Aug 2015 14:45:28 +0200 > Claes Wallin (韋嘉誠) wrote: > >> On Sun, Aug 16, 2015 at 4:01 PM, Claes Wallin (韋嘉誠) >> wrote: >> > [Reposting with correct sender. Sorry, David.] >> > >> > Great! I ran into this when trying to compile and

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread 韋嘉誠
On Mon, Aug 17, 2015 at 3:42 PM, Claes Wallin (韋嘉誠) wrote: > On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier > wrote: >>> https://www.gnu.org/software/guix/manual/guix.html#Build-Environment-Setup >>> >>> "If you are installing Guix as an unprivileged user, it is still >>> possible to run guix-dae

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread 韋嘉誠
On Mon, Aug 17, 2015 at 4:27 PM, Claes Wallin (韋嘉誠) wrote: > Now I'm doing this: > > git clean -fxd && # recover from previous attempts > git checkout HEAD . && # ditto > gettextize --po-dir=po{/guix,/packages,} && > sed -re '/^[[:blank:]]*po\/(guix|packages)\/Makefile.in[[:blank:]]*$/d' > -i con

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread 韋嘉誠
On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier wrote: > On Mon, 17 Aug 2015 14:45:28 +0200 > Claes Wallin (韋嘉誠) wrote: >> On Sun, Aug 16, 2015 at 4:01 PM, Claes Wallin (韋嘉誠) >> wrote: >> > [Reposting with correct sender. Sorry, David.] >> > >> > Great! I ran into this when trying to compile and r

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread Eric Bavier
On Mon, 17 Aug 2015 14:45:28 +0200 Claes Wallin (韋嘉誠) wrote: > On Sun, Aug 16, 2015 at 4:01 PM, Claes Wallin (韋嘉誠) > wrote: > > [Reposting with correct sender. Sorry, David.] > > > > Great! I ran into this when trying to compile and run guix on a > > machine at work, where I'm not root. > > > >

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread 韋嘉誠
On Sun, Aug 16, 2015 at 4:01 PM, Claes Wallin (韋嘉誠) wrote: > [Reposting with correct sender. Sorry, David.] > > Great! I ran into this when trying to compile and run guix on a machine at > work, where I'm not root. > > I was planning to run guix as a stow of steroids. But I'm still wondering > whe

Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-16 Thread 韋嘉誠
[Reposting with correct sender. Sorry, David.] Great! I ran into this when trying to compile and run guix on a machine at work, where I'm not root. I was planning to run guix as a stow of steroids. But I'm still wondering whether what I'm attempting is even intended to be possible? Of course, I w

Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-16 Thread 韋嘉誠
On 16-Aug-2015 2:19 pm, "David Thompson" wrote: Great! I ran into this when trying to compile and run guix on a machine at work, where I'm not root. I was planning to run guix as a stow of steroids. But I'm still wondering whether what I'm attempting is even intended to be possible? Of course, I