SDP-113

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler created this job , modified by super-tom_tyler
Closed
Fix mkrep.sh to use $P4BIN instead of p4.
20777Tweaked HMS mkrep.sh script to avoid using p4login, as p4login assumes
it is being run on a server where there the given SDP instance is configured.
Normally the way p4login is used, that's a safe assumption.  But in this case
mkrep.sh is intended to be called on the HMS server, which may not actually
host the SDP instance for which a replica is being made. They will have their
p4_N.vars files in /p4/common/config, but may not have a /p4/N/root or even
/p4/N directory on the HMS server itself.

This introduces a dependency, deemed acceptable for HMS purposes, that all
instances that use this mkrep.sh script have the same password for the
'perforce' super user as the hms instance, as it uses only the
/p4/common/config/.p4passwd.p4_hms.admin password file (for the /p4/hms
instance).
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
C. Thomas Tyler
Reported Date
Modified By
super-tom_tyler
Modified Date
Owned By
tom_tyler
Dev Notes
This job, SDP-113, was originally named job000608.
Type
Bug