From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#37967: guix environment -CN: Operation not permitted mounting host's /var/run/nscd Date: Tue, 29 Oct 2019 23:16:49 +0100 Message-ID: <87v9s7dwoe.fsf@gnu.org> References: <20191028172741.GJ17570@sax.terramar.selidor.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38836) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPZoV-00052i-9S for bug-guix@gnu.org; Tue, 29 Oct 2019 18:18:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPZoT-00032U-5b for bug-guix@gnu.org; Tue, 29 Oct 2019 18:18:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPZoQ-00031O-Q2 for bug-guix@gnu.org; Tue, 29 Oct 2019 18:18:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPZoQ-0008KP-Fz for bug-guix@gnu.org; Tue, 29 Oct 2019 18:18:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20191028172741.GJ17570@sax.terramar.selidor.net> (Ivan Vilata i. Balaguer's message of "Mon, 28 Oct 2019 13:27:41 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ivan Vilata i Balaguer Cc: 37967@debbugs.gnu.org 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-d= irectory.6kBgXe//var/run/nscd": Operation not permitted > > nscd is installed and working in my host machine. What does =E2=80=98uname -rs=E2=80=99 return? What about =E2=80=98ls -ld /var/run/nscd=E2=80=99? > This command used to work a while ago. Actually, I pulled the Guix commit > right before `5ccec771` ("file-systems: Add /var/run/nscd to > '%network-file-mappings'.") and the command seems to work again (even if = I do > not replace the running daemon). > > Maybe the later commit introduced some kind of regression? It definitely has to do with this commit, but I wonder why you=E2=80=99d get EPERM when bind-mounting /var/run/nscd to a different place! Gracies, Ludo=E2=80=99.