GNU bug report logs - #18081
openpty fails on standalone guix

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Tue, 22 Jul 2014 16:56:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18081: closed (openpty fails on standalone guix)
Date: Wed, 23 Jul 2014 00:06:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 23 Jul 2014 02:05:23 +0200
with message-id <878unlq6rg.fsf <at> gnu.org>
and subject line Re: bug#18081: openpty fails on standalone guix
has caused the debbugs.gnu.org bug report #18081,
regarding openpty fails on standalone guix
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18081: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18081
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mark H Weaver <mhw <at> netris.org>
To: bug-guix <at> gnu.org
Subject: openpty fails on standalone guix
Date: Tue, 22 Jul 2014 12:54:27 -0400
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


[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 18081-done <at> debbugs.gnu.org
Subject: Re: bug#18081: openpty fails on standalone guix
Date: Wed, 23 Jul 2014 02:05:23 +0200
This should be fixed with 7f239fd.  Let me know if it’s not!

Ludo’.


This bug report was last modified 10 years and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.