From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 16:21:07 2015 Received: (at 22053) by debbugs.gnu.org; 29 Nov 2015 21:21:08 +0000 Received: from localhost ([127.0.0.1]:59841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a39P9-0007mP-Dh for submit@debbugs.gnu.org; Sun, 29 Nov 2015 16:21:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54420) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a39Oq-0007lV-1N for 22053@debbugs.gnu.org; Sun, 29 Nov 2015 16:21:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a39Oj-0004Hn-Gv for 22053@debbugs.gnu.org; Sun, 29 Nov 2015 16:20:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39Oe-0004HA-HR; Sun, 29 Nov 2015 16:20:36 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:54398 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a39Od-0008Ij-NR; Sun, 29 Nov 2015 16:20:36 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Efraim Flashner Subject: Re: bug#22053: silent failure on guix environment foo --container References: <20151129202959.6a2f6053@debian-netbook> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 Frimaire an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 29 Nov 2015 22:20:33 +0100 In-Reply-To: <20151129202959.6a2f6053@debian-netbook> (Efraim Flashner's message of "Sun, 29 Nov 2015 20:29:59 +0200") Message-ID: <87k2p0fqou.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22053 Cc: David Thompson , 22053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Efraim Flashner skribis: > When trying to run `guix environment foo --container` I don't get a conta= iner > with a new shell or any useful information, it just thinks about it for a > while and then returns to the command prompt, allowing me to enter another > command. > > efraim@debian-netbook:~$ strace -f -o log guix environment vim --containe= r ; echo $? > 1 The failure is: --8<---------------cut here---------------start------------->8--- 21228 mount("none", "/tmp/guix-directory.5sVcGc//dev/pts", "devpts", MS_NOS= UID|MS_NOEXEC, "newinstance,ptmxmode=3D0666,mode=3D6"...) =3D -1 EPERM (Ope= ration not permitted) 21228 exit_group(1) =3D ? --8<---------------cut here---------------end--------------->8--- The problem may be that the kernel does not support CONFIG_DEVPTS_MULTIPLE_INSTANCES. Could you check that in /proc/config.gz or similar? The other problem is that there=E2=80=99s no error reporting, which doubles= user frustration. David, could you look into it? :-) Ludo=E2=80=99.