[Bug 833027] New: Can not open pty/tty pair within chroot (build) environment
https://bugzilla.novell.com/show_bug.cgi?id=833027 https://bugzilla.novell.com/show_bug.cgi?id=833027#c0 Summary: Can not open pty/tty pair within chroot (build) environment Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 3 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: werner@suse.com QAContact: qa-bugs@suse.de CC: meissner@suse.com, schwab@suse.com Found By: Development Blocker: --- from *local* build log of ksh: [ 3s] + grep pts /proc/mounts [ 3s] devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0 [ 3s] none /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0 [ 3s] + ls -ld /dev/ptmx [ 3s] crw-rw-rw- 1 root root 5, 2 Jun 20 09:37 /dev/ptmx [ 3s] + ls -ld /dev/pts [ 3s] drwxr-xr-x 2 root root 0 Apr 12 12:11 /dev/pts [ 3s] + exec ./sigexec /bin/bash /var/tmp/rpm-tmp.2bh8HF [ 3s] pty: can not open pty/tty pair: Operation not permitted [ 3s] error: Bad exit status from /var/tmp/rpm-tmp.2bh8HF (%build) the program sigexec uses: if (openpty(&ptm, &pts, devname, &o, &w) < 0) { perror("pty: can not open pty/tty pair"); exit(1); } guess: this due skipped pt_chown support for bnc#830257 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=833027 https://bugzilla.novell.com/show_bug.cgi?id=833027#c1 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Andreas Schwab <schwab@suse.com> 2013-08-05 09:34:49 CEST --- /dev/pts *must* be mounted with gid=5,mode=620 (where 5 = getent group tty). Update build package to the latest version from openSUSE:Tools/build. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com