From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22053: silent failure on guix environment foo --container Date: Sun, 29 Nov 2015 22:20:33 +0100 Message-ID: <87k2p0fqou.fsf@gnu.org> References: <20151129202959.6a2f6053@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39Q6-0001Id-GM for bug-guix@gnu.org; Sun, 29 Nov 2015 16:22:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a39Q2-0004N0-Ia for bug-guix@gnu.org; Sun, 29 Nov 2015 16:22:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39Q2-0004Mw-Eq for bug-guix@gnu.org; Sun, 29 Nov 2015 16:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a39Q2-0007nX-2G for bug-guix@gnu.org; Sun, 29 Nov 2015 16:22:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20151129202959.6a2f6053@debian-netbook> (Efraim Flashner's message of "Sun, 29 Nov 2015 20:29:59 +0200") 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Efraim Flashner Cc: 22053@debbugs.gnu.org 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.