NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38629: tty returns garbage in a chroot environment with PTYFS



>Number:         38629
>Category:       kern
>Synopsis:       tty returns garbage in a chroot environment with PTYFS
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 11 17:05:00 +0000 2008
>Originator:     Michael van Elst
>Release:        NetBSD 4.0_STABLE
>Organization:
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."
>Environment:
        
        
System: NetBSD henery 4.0_STABLE NetBSD 4.0_STABLE (HENERY) #0: Sat May 3 
13:59:17 CEST 2008 
mlelstv@henery:/home/netbsd4/obj.i386/home/netbsd4/src/sys/arch/i386/compile/HENERY
 i386
Architecture: i386
Machine: i386
>Description:
On a system with PTYFS you will get bad output from the tty
command when you run it inside a chroot environment. E.g.

# fstat -n -p $$
[...]
root     ksh        19588    1 123,1        5 20620   5,1  rw
[...]
# tty
/1

>How-To-Repeat:
see above

>Fix:

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index