Subject: port-vax/14238: /bin/cp produces a zero length file on port-vax
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kwellsch@tampabay.rr.com>
List: netbsd-bugs
Date: 10/13/2001 09:37:23
>Number:         14238
>Category:       port-vax
>Synopsis:       /bin/cp on my VAX, built from -current, produces zero length files
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 13 06:38:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD-current (Fri Oct 12)
>Organization:
>Environment:
System: NetBSD vs4090a 1.5Y NetBSD 1.5Y (VS4090) #0: Fri Oct 12 10:39:05 EDT 2001 kwellsch@vs4090a:/usr/src/sys/arch/vax/compile/VS4090 vax
Architecture: vax
Machine: vax
>Description:
My last build, circa Sept 20th broke when I rebooted it this
week to build -current.  I then discovered, that the few /etc
files I had copied on the previous build were of zero length.
I track this to /bin/cp and ended up using "tar" to do copies.
>How-To-Repeat:
I just completed building -current circa Fri Oct 12 and here
is what the new copy of /bin/cp does (still):
vs4090a# /bin/cp -p /etc/passwd /tmp/x
vs4090a# ls -lg /etc/passwd /tmp/x
-rw-r--r--  1 root  wheel  666 Mar 30  2001 /etc/passwd
-rw-r--r--  1 root  wheel    0 Mar 30  2001 /tmp/x
>Fix:
I put back an old copy of /bin/cp (hardly a fix)
>Release-Note:
>Audit-Trail:
>Unformatted: