Bug 701891
| Summary: | Missing /dev breaks dejagnu=runtest | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> |
| Component: | mock | Assignee: | Clark Williams <williams> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | mebrown, williams |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-29 09:40:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Jan, I'm trying to straighten out the non-interactive build cases with respect to controlling ttys right now. When I've got that fixed I'll look at dealing with more interactive uses (like test suites that depend on having a controlling terminal). I've just built mock 1.1.11 which removes the 'newinstance' mount modifier for the devpts filesystem inside the chroot. I believe this is what was causing pty failures inside the chroot. Please read Documentation/filesystems/devpts.txt in the kernel-doc package on how to use newinstance correctly, especially the bit about the /dev/ptmx -> /dev/pts/ptmx link. *** This bug has been marked as a duplicate of bug 683111 *** |
Description of problem: One cannot run testsuites in mock chroots. Version-Release number of selected component (if applicable): mock-1.1.9-1.fc14.noarch How reproducible: Always. Steps to Reproduce: Download + build GDB. cd gdb/testsuite; make site.exp; runtest gdb.base/return.exp Actual results: gdb compile failed, spawn failed # of untested testcases 1 Expected results: # of expected passes 9 Additional info: At least this may be a problem: 15737 open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory) When using my mock replacement: http://git.jankratochvil.net/?p=nethome.git;a=blob_plain;f=bin/mocksetup;hb=master which uses full udev mount: udev on /dev type devtmpfs (rw,relatime,size=2988076k,nr_inodes=747019,mode=755) it works fine.