INSTALL uses /var/tmp

Description

When INSTALL was called using sudo with /opt/tools/wrappers in the beginning of PATH it was found that /var/tmp was being used.

After these questions:
<...snip...>
Execution directory? /opt/pbs/13.0.2.152875
PBS needs to have a private directory (referred to as 'PBS_HOME'
in the documentation) where it can permanently store information.
Please enter the full path for the PBS_HOME location you would like
or press enter to accept the default.
Home directory? /var/spool/PBS
<...snip...>

we see that the following commands are being used, for example in 13.0.2:

chmod 644 /var/tmp/pbs.conf.13.0.2.152875.2308
mkdir -m 0700 /var/tmp/PBS_licensing_dir

The issue was traced back to 13.0.0.150941. Previous builds did not seem to have this issue.

Acceptance Criteria

None

Activity

Show:
pbsproadmin
October 27, 2015, 3:10 AM

Per Harry:<br>'you really shouldn't be using /var/tmp. It's sometimes smaller and &nbsp;it persists across reboots'[Security:Internal]

pbsproadmin
October 27, 2015, 4:10 AM

<p>I ran the scripts with the -vx option and found that previous to PBSPro_13.0.0.150941, INSTALL was doing this:</p>

<p>chmod 644 ${tmp_conf}^M<br />
+ chmod 644 /tmp/pbs.conf.12.3.0.143517.20777</p>

<p><br />
while in xxxx:<br />
chmod 644 ${tmp_conf}^M<br />
+ chmod 644 /var/tmp/pbs.conf.13.0.0.150941.20835^M</p>

Assignee

Unassigned

Reporter

Former user

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Components

Priority

High
Configure