[comp.mail.uucp] /usr/lib/uucp/R_stat

piziali@convex.com (Andy Piziali) (01/06/91)

I have run into some strange behavior of /usr/bin/uucp recently which I cannot
explain so I'm turning to your UUCP expertise for help.

If I start with zero length L_stat and R_stat files and run /usr/bin/uucp to
initiate a remote file transfer, uucp removes the /usr/lib/uucp/R_stat file.
The following is a log which demonstrates the problem on my IBM Xenix 1.02
system (Microsoft Xenix 3.0), which basically runs UUCP version 2:

    % umask
    22

    % id
    uid=4(uucp) gid=4(uucp)

    % pwd
    /usr/lib/uucp

    % ls -dl /usr/lib/uucp
    drwxr-xr-x   2 uucp     uucp         640 Jan  5 21:15 /usr/lib/uucp/

    % ls -il ?_*
      110 -rw-r--r--   1 uucp     uucp        137 Jan  5 21:07 L_stat 
      498 -rw-r--r--   1 uucp     uucp          0 Jan  5 21:05 L_sub 
      103 -rw-r--r--   1 uucp     uucp          0 Jan  5 21:12 R_stat 
      475 -rw-r--r--   1 uucp     uucp          0 Jan  5 21:06 R_sub 

    % /usr/bin/uucp -m -x9 convex!~/piziali/x ~

    ** START **
    UID 4, User uucp,PATH /usr/lib/uucp
    file1 - ~/piziali/x
    receive file - 1
    file - C.convexn2661
    Enter us_crs, cfile: C.convexn2661
     Enter us_open, file: /usr/spool/uucp/rstat.0015571
     normal return from us_open.c
      Enter us_open, file: /usr/lib/uucp/R_stat
     normal return from us_open.c
     link /usr/lib/uucp/R_stat fails in us_crs.c

    % ls -il ?_*
      110 -rw-r--r--   1 uucp     uucp         137 Jan  5 21:07 L_stat 
      498 -rw-r--r--   1 uucp     uucp           0 Jan  5 21:05 L_sub 
      475 -rw-r--r--   1 uucp     uucp           0 Jan  5 21:06 R_sub 

It appears as though uucp fails to create a file system link to
/usr/lib/uucp/R_stat.  A second symptom of this UUCP problem are the following
messages on the IBM PC-AT console each morning:

    no file
    no file
    no file
    no file
    no file

They appear to have been displayed once per hour, each time uucico is run.  It
apparently doesn't like to see /usr/lib/uucp/R_stat missing.
--
--
                   andy@piziali.lonestar.org                   |
{convex,egsner,frontier,laczko}!piziali!andy     ________------+------________
					                      / \     

andy@piziali.lonestar.org (Andy Piziali) (04/01/91)

I am running a close relative of version 7 UUCP, bundled with IBM Xenix 1.0 on
an IBM PC-AT.  Xenix 1.0 is a repackaged Microsoft Xenix 3.0.  The problem I am
having is this: the "uucp" program removes the /usr/lib/uucp/R_stat file.
Given an existing /usr/lib/uucp/R_stat with the following owners and file
permissions:

    -rw-r--r--   1 uucp   uucp       0 Mar 31 20:37 /usr/lib/uucp/R_stat 

if I run "uucp," which is installed like this:

    -rws--x--x   1 uucp   uucp   27341 Aug 31  1984 /usr/bin/uucp*

the file /usr/lib/uucp/R_stat is removed.  There seems to be no adverse effect
in terms of UUCP transfers but the message

    File /usr/lib/uucp/R_stat access denied

is displayed by both "uucp" and "uustat" and "uustat" is not able to report on
UUCP job status.

Why would "uucp" be deleting this file?
--
Home:	           andy@piziali.lonestar.org                |
{convex,egsner,frontier,laczko}!piziali!andy  ________------+------________
Office:                   piziali@convex.com               / \     
           {sun,texsun,uunet}!convex!piziali              *---*