Bug 460675 - mock --shell fails to mount /dev/pts, remote X fails
Summary: mock --shell fails to mount /dev/pts, remote X fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: el5
Hardware: powerpc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: ActualBug
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-29 17:05 UTC by Kai Engert (:kaie) (inactive account)
Modified: 2013-01-10 01:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-11 19:56:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kai Engert (:kaie) (inactive account) 2008-08-29 17:05:25 UTC
Description of problem:
ssh -Y remote-ppc-rhel 5.2-host
xauth list
mock --init
mock --install xterm
mock --shell 
export HOME=/root
xauth add ...

mock-chroot> xterm
xterm: Error 32, errno 2: No such file or directory
Reason: get_pty: not enough ptys


Version-Release number of selected component (if applicable):
mock-0.9.10-1.el5

  
Actual results:
xterm does not start


Expected results:
xterm should start


Additional info:
Thanks a lot to mikeb who found the cause.
/dev/pts is not mounted

Workaround:
mock-chroot> mount -t devpts mock_devpts /dev/pts

Comment 1 Clark Williams 2009-07-09 01:17:21 UTC
This should be addressed in 0.9.17 (actually should have worked prior to that)

Comment 2 Clark Williams 2010-09-01 14:22:59 UTC
Kai, 

Have we fixed this bug?

Comment 3 Kai Engert (:kaie) (inactive account) 2010-09-01 17:29:31 UTC
Sorry, I don't have an environment to verify the fix.

Let's assumed it's fixed, since the bug was understood and addressed.


Note You need to log in before you can comment on or make changes to this bug.