public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/3353] New: ttyname's new strict dependency on /proc breaks chrooted applications
@ 2006-10-12 11:38 jnair at ensim dot com
2006-10-12 20:57 ` [Bug libc/3353] " drepper at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: jnair at ensim dot com @ 2006-10-12 11:38 UTC (permalink / raw)
To: glibc-bugs
I am a FC6(test3) user. glibc version comes with the distro is 2.4.90-29.
My application runs sshd daemon and logons users to their respective chrooted
homes. Now /proc is not purposely made available in the chrooted env.
sshd's login process (chrooted) calls ttyname. It fails as it does not find
/proc mounted. This used to work with glibc-2.4-4 (on FC5) and before.
Now this strict dependency breaks my application. Even simple command like `tty`
fails in if /proc is not mounted.
--
Summary: ttyname's new strict dependency on /proc breaks chrooted
applications
Product: glibc
Version: 2.4
Status: NEW
Severity: critical
Priority: P1
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: jnair at ensim dot com
CC: glibc-bugs at sources dot redhat dot com,shekhar dot
tiwatne at ensim dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3353
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/3353] ttyname's new strict dependency on /proc breaks chrooted applications
2006-10-12 11:38 [Bug libc/3353] New: ttyname's new strict dependency on /proc breaks chrooted applications jnair at ensim dot com
@ 2006-10-12 20:57 ` drepper at redhat dot com
2006-10-12 21:04 ` jakub at redhat dot com
2006-10-13 5:30 ` jnair at ensim dot com
2 siblings, 0 replies; 6+ messages in thread
From: drepper at redhat dot com @ 2006-10-12 20:57 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2006-10-12 20:57 -------
glibc cannot work reliably at all without /proc. This is (unfortunately) the
only interface to all kinds of kernel details.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://sourceware.org/bugzilla/show_bug.cgi?id=3353
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/3353] ttyname's new strict dependency on /proc breaks chrooted applications
2006-10-12 11:38 [Bug libc/3353] New: ttyname's new strict dependency on /proc breaks chrooted applications jnair at ensim dot com
2006-10-12 20:57 ` [Bug libc/3353] " drepper at redhat dot com
@ 2006-10-12 21:04 ` jakub at redhat dot com
2006-10-13 5:30 ` jnair at ensim dot com
2 siblings, 0 replies; 6+ messages in thread
From: jakub at redhat dot com @ 2006-10-12 21:04 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jakub at redhat dot com 2006-10-12 21:04 -------
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.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3353
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/3353] ttyname's new strict dependency on /proc breaks chrooted applications
2006-10-12 11:38 [Bug libc/3353] New: ttyname's new strict dependency on /proc breaks chrooted applications jnair at ensim dot com
2006-10-12 20:57 ` [Bug libc/3353] " drepper at redhat dot com
2006-10-12 21:04 ` jakub at redhat dot com
@ 2006-10-13 5:30 ` jnair at ensim dot com
2 siblings, 0 replies; 6+ messages in thread
From: jnair at ensim dot com @ 2006-10-13 5:30 UTC (permalink / raw)
To: glibc-bugs
------- 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.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3353
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/3353] ttyname's new strict dependency on /proc breaks chrooted applications
[not found] <bug-3353-131@http.sourceware.org/bugzilla/>
2014-06-17 4:51 ` fweimer at redhat dot com
@ 2014-06-17 13:39 ` fweimer at redhat dot com
1 sibling, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17 13:39 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=3353
--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
*** This bug has been marked as a duplicate of bug 14516 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/3353] ttyname's new strict dependency on /proc breaks chrooted applications
[not found] <bug-3353-131@http.sourceware.org/bugzilla/>
@ 2014-06-17 4:51 ` fweimer at redhat dot com
2014-06-17 13:39 ` fweimer at redhat dot com
1 sibling, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17 4:51 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=3353
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
Resolution|WONTFIX |DUPLICATE
Flags| |security-
--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
Fixed.
*** This bug has been marked as a duplicate of bug 1451 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-17 13:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12 11:38 [Bug libc/3353] New: ttyname's new strict dependency on /proc breaks chrooted applications jnair at ensim dot com
2006-10-12 20:57 ` [Bug libc/3353] " drepper at redhat dot com
2006-10-12 21:04 ` jakub at redhat dot com
2006-10-13 5:30 ` jnair at ensim dot com
[not found] <bug-3353-131@http.sourceware.org/bugzilla/>
2014-06-17 4:51 ` fweimer at redhat dot com
2014-06-17 13:39 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).