NetBSD-Bugs archive

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

Re: kern/49846: fdescfs behavior changed between 6.1.5 and 7.0_BETA - bug?



The following reply was made to PR kern/49846; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost, 
	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/49846: fdescfs behavior changed between 6.1.5 and 7.0_BETA - bug?
Date: Tue, 21 Apr 2015 21:28:15 -0400

 On Apr 20,  8:15pm, riz%NetBSD.org@localhost (riz%NetBSD.org@localhost) wrote:
 -- Subject: kern/49846: fdescfs behavior changed between 6.1.5 and 7.0_BETA -
 
 | >Number:         49846
 | >Category:       kern
 | >Synopsis:       fdescfs behavior changed between 6.1.5 and 7.0_BETA - bug?
 | >Confidential:   no
 | >Severity:       serious
 | >Priority:       medium
 | >Responsible:    kern-bug-people
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Mon Apr 20 20:15:00 +0000 2015
 | >Originator:     Jeff Rizzo
 | >Release:        7.0_BETA
 | >Organization:
 | >Environment:
 | NetBSD vagrant 7.0_BETA NetBSD 7.0_BETA (GENERIC.201504181110Z) amd64
 | >Description:
 | On a freshly-installed 7.0_BETA virtual machine, having fdesc mounted over /dev causes "su" to fail:
 | 
 | vagrant% grep fdesc /etc/fstab
 | fdesc /dev fdesc ro,-o=union 0 0
 | vagrant% ls -l /dev/tty
 | crw-rw-rw-  1 root  wheel  1, 0 Apr 20 20:07 /dev/tty
 | vagrant% df -h |grep fdesc
 | fdesc                                            1.0K       1.0K         0B 100% /dev
 | vagrant% su -
 |  Inappropriate ioctl for device
 | su: Sorry: conversation failure
 | vagrant% uname -a
 | NetBSD vagrant 7.0_BETA NetBSD 7.0_BETA (GENERIC.201504181110Z) amd64
 | 
 | >How-To-Repeat:
 | - install 7.0_BETA
 | mount fdesc with:
 | fdesc /dev fdesc ro,-o=union 0 0
 | 
 
 I fixed that in:
 
 1.125        (christos 05-Sep-14):      if (error == 0 && ix == FD_CTTY)
 1.125        (christos 05-Sep-14):              (*vpp)->v_type = VCHR;
 
 
 christos
 


Home | Main Index | Thread Index | Old Index