Linux 2.0 and rcp problems

Daniel Roche (dan@apolline.lectra.fr)
Fri, 26 Jul 1996 13:30:39 +0200


Hello Linux Guys !

I have found a strange bugs in linux-2.0.x ! ( tested on 2.0.0 - 2.0.9 )

take two programs , prog_a and prog_b.
take also 2 linux machines on a network.

on machine1 do : rcp prog_a machine2:/tmp/prog

on machine2 execute /tmp/prog , it is OK.

now on machine1 do : rcp prog_b machine2:/tmp/prog

on machine2 you can see that the file /tmp/prog have changed , but
if you try to execute it , it is still prog_a which is running.

as far as i can see , the problem does not appairs with a local cp, just
with rcp ! ( i precise that i have no NFS mount (server nor client)
on the systems !
if i sync , or if i wait ( 10 minutes) the second program is still not
seen !
The only things i have found is to remove the prog and redo the rcp !

strange isn't it ?

Is there any program cache that can be fooled by a rcp ?.

-- 
===============================================================================
|                               _                  |       dan@lectra.fr      |
|  __/ _    _  o  _   /        /_) _   _  /  _     |                          |
| (_/ (_(_ / ) ( (-' /        /\  (_) (_ /) (-'    |  May the source be with  |
|                                                  |            you  !!       |
===============================================================================