TZ is not set in /var/spool/PBS/pbs_environment on RHEL7

Description

In Installation , In PBS habitat tries to set time zone in pbs_environment . But fails on RHEL7

Acceptance Criteria

None

Activity

Show:
pbsproadmin
November 26, 2015, 11:11 AM

Issue valid on all rhel7 supported builds[Security:Internal]

pbsproadmin
November 29, 2015, 11:11 PM

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]

pbsproadmin
December 1, 2015, 7:12 AM

<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>

Assignee

Unassigned

Reporter

Former user

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Components

Priority

High
Configure