In Installation , In PBS habitat tries to set time zone in pbs_environment . But fails on RHEL7
Issue valid on all rhel7 supported builds[Security:Internal]
Vishesh,<br><br>Do you see any other impact on PBS due to the missing TZ? Such as, do the logs have the correct time? Are PBS reservations affected? Can you set TZ (as a workaround) after install?<br><br>-TEBG[Security:Internal]
<p>Hi ,</p>
<p>I do not see any impact . I do not where know where TZ is used in the codeline . But logs have correct time .<br />
while submitting reservation</p>
<p>[pbsuser1@machine1 ~]$ pbs_rsub -R 2200 -E 2300 -r 'FREQ=DAILY; COUNT=3'pbs_rsub error: a valid PBS_TZID timezone environment variable is required.<br />
But even if the TZ is set in the environment on rhel6 platform, I am facing the same issue . We have to set PBS_TZID.</p>
<p>[pbsuser1@machine1 ~]$ cat /var/spool/PBS/pbs_environmentTZ=America/Los_AngelesPATH=/bin:/usr/bin</p>
<p>[pbsuser1@machine2 ~]$ pbs_rsub -R 2200 -E 2300 -r 'FREQ=DAILY; COUNT=3'pbs_rsub error: a valid PBS_TZID timezone environment variable is required.<br />
[pbsuser1@machine2 ~]$ env | grep PBS_TZID</p>
<p>Workaround would be we have to set manually TZ in pbs_environment file.</p>
<p>Thanks,<br />
Vishesh[Security:Internal]</p>