From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#18081: openpty fails on standalone guix Date: Tue, 22 Jul 2014 12:54:27 -0400 Message-ID: <87tx695o70.fsf@yeeloong.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9dMK-0001O0-O9 for bug-guix@gnu.org; Tue, 22 Jul 2014 12:56:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9dMA-0003eC-TU for bug-guix@gnu.org; Tue, 22 Jul 2014 12:56:12 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:39558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9dMA-0003e8-R3 for bug-guix@gnu.org; Tue, 22 Jul 2014 12:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X9dMA-0005LU-E8 for bug-guix@gnu.org; Tue, 22 Jul 2014 12:56:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9dLH-0001IG-Nq for bug-guix@gnu.org; Tue, 22 Jul 2014 12:55:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9dL9-00030x-AJ for bug-guix@gnu.org; Tue, 22 Jul 2014 12:55:07 -0400 Received: from world.peace.net ([96.39.62.75]:52691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9dL9-0002zP-6q for bug-guix@gnu.org; Tue, 22 Jul 2014 12:54:59 -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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 18081@debbugs.gnu.org openpty fails for unprivileged users on standalone guix. For example, running 'script' or 'screen' fails, and running M-x shell within emacs results in a bash without job control, because emacs uses pipes to communicate with the subprocess instead of pseudo-ttys, apparently because it was unable to use openpty. I've found that I can fix the problem by unmounting /dev/pts and then remounting with the same options that LFS uses for its /etc/fstab: "gid=1004,mode=620". That gid corresponds to the 'tty' group. Mark