This is the mail archive of the
mailing list for the glibc project.
[Bug libc/3353] ttyname's new strict dependency on /proc breaks chrooted applications
- From: "jnair at ensim dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Oct 2006 05:30:32 -0000
- Subject: [Bug libc/3353] ttyname's new strict dependency on /proc breaks chrooted applications
- References: <firstname.lastname@example.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jnair at ensim dot com 2006-10-13 05:30 -------
(In reply to comment #2)
> BTW, if you for whatever reason don't want to mount whole /proc into the chroots,
> you can always at least mount --bind there parts of it sufficient enough
> to make all programs you want to run in the chroot happy.
I agree but, 'ttyname' i belive does a 'readlink' on '/proc/self/fd/n' and
'self' will be known only to the forked 'sshd' child,so binding 'part' of the
proc fs in this case is not possible. Hope i got it right.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.