Subject: pkg/6437: pkg rdist6 software bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ahorn@anim.dreamworks.com>
List: netbsd-bugs
Date: 11/13/1998 17:51:33
>Number:         6437
>Category:       pkg
>Synopsis:       -ochknfs seems to cause rdist6 to fail silently
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 13 18:05:01 1998
>Last-Modified:
>Originator:     "Alan C. Horn" <ahorn@anim.dreamworks.com>
>Organization:
Dreamworks Feature Animation
>Release:        1.3.1
>Environment:
	
System: NetBSD breezeblock 1.3.1 NetBSD 1.3.1 (_BREEZEBLOCK_) #3: Sat Sep 26 11:42:51 PDT 1998 root@breezeblock:/usr/src/sys/arch/sparc/compile/_BREEZEBLOCK_ sparc


>Description:

I'm running an rdist6 with the option -ochknfs, either locally against
'breezeblock' using rdist6.1.4, or remotely from an irix box running
rdist6.1.3 against breezeblock.

In both cases the rdist will fail silently until the -ochknfs option
is removed from the command line of rdist/rdist6.

>How-To-Repeat:

(At no point were there any NFS filesystems involved in this... :)

Tested by running a local rdist on the system in question

(breezeblock /etc)127# cd /tmp
(breezeblock /tmp)128# touch FILE
(breezeblock /tmp)129# mkdir blah
(many lines missed while I figure out what I'm doing today...)
(breezeblock /tmp)144# rdist6 -ochknfs -f -
/tmp/FILE -> breezeblock
	install /tmp/blah ;
breezeblock: updating host breezeblock
breezeblock: updating of breezeblock finished

(breezeblock /tmp)146# ls -als blah
total 2
1 drwxr-xr-x  2 root  wheel  512 Nov 13 16:24 .
1 drwxrwxrwt  5 root  wheel  512 Nov 13 16:27 ..

/tmp/FILE did not get rdisted over to /tmp/blah

When tried with the -ochknfs option, it works, thus :

(breezeblock /tmp)148# rdist6 -f -
/tmp/FILE -> breezeblock
	install /tmp/blah ;
breezeblock: updating host breezeblock
breezeblock: /tmp/FILE: updating
breezeblock: /tmp/blah: removed
breezeblock: updating of breezeblock finished
(breezeblock /tmp)149# !ls
ls -als blah
0 -rw-r--r--  1 root  wheel  0 Nov 13 16:24 blah

>Fix:
Don't check for nfs (a bit dodgy this... ;)


>Audit-Trail:
>Unformatted: