Accommodate changes to support read-only z/OS root for the z/OS UNIX System Services cron, mail, and uucp utilities

Description: Before z/OS V1R13, for each new release, certain post-installation activities had to be done for the z/OS UNIX System Services cron, mail, and uucp utilities in order for the root file system to be mounted read-only. Starting in z/OS V1R13, the /usr/lib/cron, /usr/mail, and /usr/spool directories are provided as symbolic links. Note that this migration action does not affect other mail utilities such as tsmail, mailx, and Communications Server sendmail.

Steps to take: Follow these steps:
Note: While this migration action should be performed before the first IPL of z/OS V2R1, the changes to use /var for this support can be done at any time. Although previous documentation had shown the use of /etc n examples, after further consideration, we now recommend using /var for these utilities.
  1. If you currently use /etc or another directory for post-installation customization for these utilities, decide if you want to continue to use those directories or move to the /var structure that is provided with z/OS V2R1. Moving to the /var structure is recommended because:
    • You can minimize any subsequent post-installation customization, since the symbolic links to /var will be provided for you by IBM. Continued use of non-/var directories may mean post-installation work every time to remove the delivered structure and replace it with your own.
    • Continued use of /etc (or another directory), requires you to manage and maintain the symbolic links required from /var to that directory, which is “double symlinking.” This “double symlinking” might be confusing for those that maintain the system.
  2. If you use /var for your post-installation customization, then ensure that the /var file system to be mounted at the z/OS V2R1 level of /var (or subdirectories shown below) contains the following directories or files for the utilities you are using. These will now be referenced by symbolic links in the z/OS V2R1 root file system when cron, mail, and uucp are used:
    • /var/mail
    • /var/spool
    • /var/spool/cron
    • /var/spool/locks
    • /var/spool/cron/atjobs
    • /var/spool/cron/crontabs
    • /var/spool/uucp
    • /var/spool/uucppublic
    • /var/spool/uucp/.Xqtdir
    • /var/spool/uucp/.Sequence
    • /var/spool/uucp/.Status
    • /var/cron
    • /var/uucp/Systems
    • /var/uucp/Devices
    • /var/uucp/Dialers
    • /var/uucp/Dialcodes
    • /var/uucp/Permissions
    • /var/uucp/config

    Note that the /var file system provided by ServerPac will contain these directories but not the files, because the files are provided when the utilities are configured and used. If you use to use the ServerPac /var and add your files to that /var file system, that is acceptable, as documented in Migrate /etc and /var system control files. This action is similar to how you would merge an /var file system provided by Server Pac with an existing file system.

    If you have any user files under /usr/spool, /usr/lib/cron, or /usr/mail in the root file system (that is, they have not been symlinked under /var or another directory to support the read-only root), then those files must be moved to /var/spool, /var/cron, or /var/mail (or another directory besides the /var that you choose).

Reference information: See the following information:z/OS UNIX System Services Planning.