Subject: kern/15597: touch /dev/null does not work when /dev is on NFS
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martin@NetBSD.ORG>
List: netbsd-bugs
Date: 02/13/2002 04:09:43
>Number: 15597
>Category: kern
>Synopsis: touch /dev/null does not work when /dev is on NFS
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 13 04:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Martin Husemann
>Release: current (cvs updateted Feb 13, 2002)
>Organization:
>Environment:
NetBSD krups.aprisoft.de 1.5ZA NetBSD 1.5ZA (KRUPS_WS) #1: Wed Feb 13 12:25:49 CET 2002 martin@beasty.aprisoft.de:/usr/src/sys/arch/sparc/compile/KRUPS_WS sparc
>Description:
When trying to build a pkg as an ordinary user I ran into this:
=> Linking xpm files into /usr/pkgsrc/x11/rxvt/work/.buildlink.
touch: /dev/null: Inappropriate file type or format
*** Error code 123
This machine is diskless, /dev is on / which is mounted via NFS.
NFS server is an i386 running 1.5.3_Alpha. The device nodes are correct (for sparc):
crw-rw-rw- 1 root wheel 3, 2 Feb 13 12:52 /dev/null
The problem does not occur for root.
>How-To-Repeat:
mount /dev on NFS, then try:
martin@krups > touch /dev/null
touch: /dev/null: Inappropriate file type or format
martin@krups > su
Password:
krups# touch /dev/null
krups#
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: