Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1337691 - malformed tcsh shell profile file causes tcsh to 'set: Variable name must begin with a letter.'
Summary: malformed tcsh shell profile file causes tcsh to 'set: Variable name must beg...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: alliance
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-19 20:07 UTC by René Genz
Modified: 2016-08-05 06:51 UTC (History)
5 users (show)

Fixed In Version: alliance-5.1.1-6.20160506gitd8c05cd.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-24 18:04:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description René Genz 2016-05-19 20:07:26 UTC
Description of problem:
After installation of tcsh and alliance a malformed shell profile file causes tcsh to throw an error message and drop further interpretation of other shell profile files.

Version-Release number of selected component (if applicable):
$ rpm -q alliance
alliance-5.1.1-4.20160220git10a7b7e.fc24.x86_64

How reproducible:
100%

Steps to Reproduce:
1. sudo dnf install -y tcsh
2. tcsh # no error message
3. exit
4. sudo dnf install -y alliance
5. tcsh # error message

Actual results:
$ tcsh
set: Variable name must begin with a letter.
$

Expected results:
no error message

Additional info:
The lines causing the issue:
set  SYSCONF_TOP            "/etc/alliance"
set  CELLS_TOP              "/usr/share/alliance/cells"

are from file:
/etc/profile.d/alc_env.csh

Fix either with:
setenv  SYSCONF_TOP            "/etc/alliance"
setenv  CELLS_TOP              "/usr/share/alliance/cells"

or with:
set SYSCONF_TOP="/etc/alliance"
set CELLS_TOP="/usr/share/alliance/cells"

I would go with setenv.

Comment 1 Ralf Corsepius 2016-05-20 04:53:31 UTC
Thanks for the report. I'll go with setenv.

Comment 2 Fedora Update System 2016-05-20 12:06:18 UTC
alliance-5.1.1-6.20160506gitd8c05cd.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-21c78f7d47

Comment 3 Fedora Update System 2016-05-21 01:31:13 UTC
alliance-5.1.1-6.20160506gitd8c05cd.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-21c78f7d47

Comment 4 Fedora Update System 2016-05-24 18:04:54 UTC
alliance-5.1.1-6.20160506gitd8c05cd.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 djj 2016-08-05 02:21:15 UTC
Fedora 24: tcsh "set: Variable name must begin with a letter."

with alliance and tcsh flavours


alliance-5.1.1-6.20160506gitd8c05cd.fc24.x86_64
tcsh-6.19.00-10.fc24.x86_64

I'm still getting this "set: Variable ...." error for a tcsh xterm.

and my /etc/profile.d/alc_anv.csh file has the lines 

# Where the Alliance CAD is installed
 setenv ALLIANCE_TOP         "/usr/lib64/alliance"
 setenv SYSCONF_TOP          "/etc/alliance"
 setenv CELLS_TOP            "/usr/share/alliance/cells"


.... and ideas ?

Dr. David James
Cerro Tololo InterAmerican Observatory
djames44

Comment 6 Ralf Corsepius 2016-08-05 06:51:34 UTC
(In reply to djj from comment #5)
> # Where the Alliance CAD is installed
>  setenv ALLIANCE_TOP         "/usr/lib64/alliance"
>  setenv SYSCONF_TOP          "/etc/alliance"
>  setenv CELLS_TOP            "/usr/share/alliance/cells"
This is what they are supposed to be.

> .... and ideas ?
Unfortunately no. I can't reproduce your issue, either.

Do you have any other potentially conflicting local profiles around 
rsp. is your /etc/profiles.d/alc_env.csh modified?


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