unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: 18081@debbugs.gnu.org
Subject: bug#18081: openpty fails on standalone guix
Date: Tue, 22 Jul 2014 12:54:27 -0400	[thread overview]
Message-ID: <87tx695o70.fsf@yeeloong.lan> (raw)

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

             reply	other threads:[~2014-07-22 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 16:54 Mark H Weaver [this message]
2014-07-23  0:05 ` bug#18081: openpty fails on standalone guix Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tx695o70.fsf@yeeloong.lan \
    --to=mhw@netris.org \
    --cc=18081@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).