|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper in chrooted environment: "Cannot read input: bad stream or EOF." | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.4 | Reporter: | Andreas Nordal <andreas_nordal_4> |
| Component: | YaST2 | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED INVALID | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | abergmann |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | openSUSE 11.4 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Andreas Nordal
2011-08-08 22:01:13 UTC
The problem disappears if "mount --bind /dev /suse/dev" is executed before "chroot /suse". IMHO, since mount-binding /dev is a good idea anyway, an acceptible fix would be to just inform about this (unintuitive) dependency of the /dev pseudo filesystem in the error message. Example: "Did you remember to mount the /dev filesystem?" I've ran into this problem with an OpenVZ virtualized guest system. After upgrading from openSUSE 11.4 to 12.1 I've got the same error message. "Cannot read input: bad stream or EOF." The problem was a the missing "/dev/tty" device. Instead of an character device I found an empty regular file. # ls -l /dev/tty -rw-r--r-- 1 root root 0 Jan 26 11:03 /dev/tty So I removed that file and created the right character device again. # rm /dev/tty # mknod /dev/tty c 5 0 # ls -l /dev/tty crw-r--r-- 1 root root 5, 0 Jan 26 12:16 /dev/tty Happy days! Everything is back to normal. PS: I'm not hundred percent convinced that this is reproducible. no zypp issue |