bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-11-08 Thread Björn Höfling
On Mon, 04 Nov 2019 23:37:07 +0100 Ludovic Courtès wrote: > Hi, > > Ivan Vilata i Balaguer skribis: > > > I applied your patch on top of bf7b08c4, pulled Guix and did > > successfully start `guix environment -CN`, with network support and > > all. > > Awesome, pushed as 625bdf09d344302ec2d5

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-11-04 Thread Ludovic Courtès
Hi, Ivan Vilata i Balaguer skribis: > I applied your patch on top of bf7b08c4, pulled Guix and did successfully > start `guix environment -CN`, with network support and all. Awesome, pushed as 625bdf09d344302ec2d5da7f35fe35ca1d128a93. Gràcies! :-) Ludo’.

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-11-04 Thread Ivan Vilata i Balaguer
Ludovic Courtès (2019-11-04 18:07:05 +0100) wrote: > Ivan Vilata i Balaguer skribis: > > > BTW, I ran that under strace and it looks like the read-only remount fails > > after mounting `/var/run/nscd` in the new namespace has succeeded: > > > > $ strace -f unshare -mUr mount --bind -o ro /va

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-11-04 Thread Ludovic Courtès
Saluton! Ivan Vilata i Balaguer skribis: > Ivan Vilata i Balaguer (2019-11-01 11:10:02 -0400) wrote: > >> Ludovic Courtès (2019-11-01 15:26:27 +0100) wrote: >> >> > […] What about a read-only bind mount like this: >> > >> > unshare -mUr mount --bind -o ro /var/run/nscd /tmp/tt >> > >> > ? >

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-11-03 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer (2019-11-01 11:10:02 -0400) wrote: > Ludovic Courtès (2019-11-01 15:26:27 +0100) wrote: > > > […] What about a read-only bind mount like this: > > > > unshare -mUr mount --bind -o ro /var/run/nscd /tmp/tt > > > > ? > > This one looks more interesting: > > $ unshar

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-11-01 Thread Ivan Vilata i Balaguer
Ludovic Courtès (2019-11-01 15:26:27 +0100) wrote: > Ivan Vilata i Balaguer skribis: > > > Ludovic Courtès (2019-10-29 23:16:49 +0100) wrote: > >> > >> Ivan Vilata i Balaguer skribis: > >> > >> > Hi! While using Guix commit `c9fc03a3` on Debian unstable, whenever I > >> > run > >> > `guix e

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-11-01 Thread Ludovic Courtès
Ivan Vilata i Balaguer skribis: > Salut Ludovic ! Hola! :-) > Ludovic Courtès (2019-10-29 23:16:49 +0100) wrote: > >> Bon dia Ivan, >> >> Ivan Vilata i Balaguer skribis: >> >> > Hi! While using Guix commit `c9fc03a3` on Debian unstable, whenever I run >> > `guix environment -CN` (either as

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-10-29 Thread Ivan Vilata i Balaguer
Salut Ludovic ! Ludovic Courtès (2019-10-29 23:16:49 +0100) wrote: > Bon dia Ivan, > > Ivan Vilata i Balaguer skribis: > > > Hi! While using Guix commit `c9fc03a3` on Debian unstable, whenever I run > > `guix environment -CN` (either as a normal user or as root) I get an error > > like this:

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-10-29 Thread Ludovic Courtès
Bon dia Ivan, Ivan Vilata i Balaguer skribis: > Hi! While using Guix commit `c9fc03a3` on Debian unstable, whenever I run > `guix environment -CN` (either as a normal user or as root) I get an error > like this: > > guix environment: error: mount: mount "/var/run/nscd" on > "/tmp/guix-dire

bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd

2019-10-28 Thread Ivan Vilata i Balaguer
Hi! While using Guix commit `c9fc03a3` on Debian unstable, whenever I run `guix environment -CN` (either as a normal user or as root) I get an error like this: guix environment: error: mount: mount "/var/run/nscd" on "/tmp/guix-directory.6kBgXe//var/run/nscd": Operation not permitted nscd i