Annotation of researchv8dc/cmd/uucp/init/README, revision 1.1.1.1

1.1       root        1: Read the manual first.  The manual is in /n/bowell/src/cmd/uucp/doc/*.
                      2: 
                      3: 1.  Copy the new lib directory (this) to a safe place (/usr/lib/nuucp).
                      4: It's probably there already.
                      5: 
                      6: 2.  Copy any of the following files which should be preserved
                      7: into /usr/lib/nuucp:
                      8:        L.sys* (not L.sysequiv)
                      9:        L.dialcodes
                     10:        L.cmds
                     11: Check them for any junk which can be removed.  In particular, look for
                     12: garbage in L.cmds (pointers to commands which don't exist any more,
                     13: like uusendda and fget), and for out-of-date (pre-1+ dialling) and
                     14: unused L.dialcodes files.  If L.sys.general exists, rename it L.sys.gen. 
                     15: (Systems.general is 15 characters, and namei doesn't like that anymore.)
                     16: 
                     17: The next two steps (setlib and setspool) should be performed
                     18: either as root (if uucp and bin are the correct user and group
                     19: for uucp files -- the group will have write permissions), or
                     20: as the appropriate user (in which event some specious `Not owner'
                     21: messages will appear).
                     22: 
                     23: 3.  cd /usr/lib/nuucp; init/setlib
                     24: This will change old L.* files into new ones: L.sys* -> Systems*;
                     25: L.dialcodes -> Dialcodes; L.cmds (and other stuff) -> Permissions.
                     26: Examine the resulting Permissions file; make sure it includes all
                     27: the user-IDs it should, and that it otherwise satisfies you.
                     28: 
                     29: 4.  Decide on a temporary new spool directory (/usr/spool/nuucp).
                     30: Create it.  Then
                     31:        cd /usr/spool/nuucp; /usr/lib/nuucp/init/setspool
                     32: This makes some necessary subdirectories, and sets modes and ownership
                     33: on the spool directory and the subdirectories.
                     34: 
                     35: Stop being root unless you never make mistakes.
                     36: 
                     37: 5.  cd /usr/lib/nuucp and browse through uudemon.*, hacking to
                     38: suit.  Pay particular attention to `mailto' in uudemon.day, and
                     39: to the argument to uudemon.cleanu.
                     40: 
                     41: 6.  You're now ready to install things.  Wait until things are
                     42: quiescent, if that's possible.  (Make them so, or don't complain).
                     43: 
                     44: 7.  Save the old programs from /usr/bin if you're so inclined
                     45: (convention: create /usr/lib/uucp/usrbin, and put them there).
                     46: Suggestion:
                     47:        mkdir /usr/lib/uucp/usrbin
                     48:        ln /usr/bin/uu* /usr/lib/uucp/usrbin
                     49: 
                     50: 8.  The real installation:
                     51:        cd /usr/lib; mv uucp ouucp; mv nuucp uucp
                     52:        cd /usr/spool; mv uucp ouucp; mv nuucp uucp
                     53:        cd /usr/bin; rm uucp uux uulog uustat uuname
                     54:        cd /usr/lib/uucp/usrbin; ln * /usr/bin
                     55:        cd /usr/bin; rm uuget uuclean
                     56: 
                     57: At this point it might be sensible to run /usr/lib/uucp/uucheck -v,
                     58: which will print out a sort of interpretation of the Permissions
                     59: file, and complain if any important files or directories are missing.
                     60: (It would be better to run it before installing things, but it insists
                     61: on files being in their final places.)
                     62: 
                     63: 9.  If there's old work sitting around (J. files),
                     64:        cd /usr/spool/ouucp; /usr/lib/uucp/init/cvtwork
                     65: will attempt to move it to the new spool directory and mend its format.
                     66: 
                     67: 10. After you're sure the new stuff works (you might want to wait a
                     68: day or two),
                     69:        rm -rf /usr/spool/ouucp /usr/lib/ouucp

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.