APAR status
Closed as program error.
Error description
This is a bit of an edge case, but here's how it breaks down. In BF, have a CLEARCASE_VIEW set. In the BF step, have the step command be a perl script, not calling a perl script, but have the contents of a perl script: #!perl print 'Hello, world!\n'; When the step is executed, the $SHELL is set to be 'perl' instead of the login shell for the auth user. The agent, seeing the CC bits, will call 'cleartool setview -exec' cleartool setview -exec will spawn whatever the current shell is (as defined by the SHELL environment variable) and pass it the following command '-c {rest of command from -exec}', so, in this case, what happens is 'setview -exec 'perl -c {script}' '
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** The root cause was that the agent was setting SHELL to a value other than the user's normal logon shell. This is not really an appropriate thing to do.
Problem conclusion
SHELL will now get set to the user's logon shell, even when #! has been used to change the shell for the step command's script.
Temporary fix
Comments
APAR Information
APAR number
PM42892
Reported component name
BUILD FORGE EE
Reported component ID
5724S2702
Reported release
712
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-07-01
Closed date
2011-08-31
Last modified date
2011-08-31
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
BUILD FORGE EE
Fixed component ID
5724S2702
Applicable component levels
R712 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSB2MV","label":"Rational Build Forge"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
31 August 2011