Bug 62105 - New version 1.3.1-2 has broken /etc/profile.d/java_jre.csh
Summary: New version 1.3.1-2 has broken /etc/profile.d/java_jre.csh
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: IBMJava2-JRE
Version: 2.1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Karen Bennet
QA Contact:
URL:
Whiteboard:
: 64929 69643 98926 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-27 15:48 UTC by Nils Philippsen
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:48:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2002:199 0 normal SHIPPED_LIVE New Java JRE and SDK packages fix tcsh initialization script 2002-09-11 04:00:00 UTC

Description Nils Philippsen 2002-03-27 15:48:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020314

Description of problem:
/etc/profile.d/java_jre.csh is not syntactically correct


Version-Release number of selected component (if applicable):

[ I know that this version is _not_ in the public beta, but the internal
  beta misses the IBMJava2-JRE component ]

IBMJava2-JRE-1.3.1-2

How reproducible:
Always

Steps to Reproduce:
1. Install package
2. "su -" to a user with /bin/csh as login shell


Actual Results:  """
root: Command not found.
root: Undefined variable.
"""


Expected Results:  Correctly set environment


Additional info:

FIX: Replace "root = ..." with "set root = ..." in the first line of the script.

Comment 1 Preston Brown 2002-03-27 16:11:05 UTC
 fixed in 1.3.1-3 and later.

Comment 2 Nils Philippsen 2002-08-27 11:30:20 UTC
Not really fixed (in 1.3.1-3):

--- 8< ---
[root@ls3130 i386]# head -n 1 /etc/profile.d/java_*csh
==> /etc/profile.d/java_jre.csh <==
root = /opt/IBMJava2-131

==> /etc/profile.d/java_sdk.csh <==
root = /opt/IBMJava2-131
[root@ls3130 i386]# rpm -Vf /etc/profile.d/java_*csh
[root@ls3130 i386]# rpm -qf /etc/profile.d/java_*csh
IBMJava2-JRE-1.3.1-3
IBMJava2-SDK-1.3.1-3
--- >8 ---

Comment 3 Nils Philippsen 2002-08-27 11:31:54 UTC
*** Bug 64929 has been marked as a duplicate of this bug. ***

Comment 4 Nils Philippsen 2002-08-27 11:33:00 UTC
*** Bug 69643 has been marked as a duplicate of this bug. ***

Comment 5 Nils Philippsen 2002-08-27 11:35:54 UTC
PS: As you can see above, the same bug exists in IBMJava2-SDK-1.3.1-3. Shall I
open an own bug for it?

Comment 6 Preston Brown 2002-12-10 15:59:45 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2002-199.html


Comment 7 Thomas Fitzsimmons 2004-04-06 21:24:07 UTC
*** Bug 98926 has been marked as a duplicate of this bug. ***

Comment 8 Red Hat Bugzilla 2006-02-21 18:48:38 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.