Bug 189858 - /etc/profile.d/cvs.sh overwrite personal settings
Summary: /etc/profile.d/cvs.sh overwrite personal settings
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cvs
Version: 5
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-25 09:14 UTC by Axel
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-09 12:09:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Axel 2006-04-25 09:14:09 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. my .bash_profile sets and exports CVS_SSH to my-ssh

  
Actual results:
when I open a terminal, CVS_SSH is set to ssh

Expected results:
CVS_SSH is set to my-ssh

Additional info
according to bash man page, this should not happen
installation is pretty much out of the box

Comment 1 Santeri Paavolainen 2006-05-05 12:04:58 UTC
Here's a simple fix. Change /etc/profile.d/cvs.sh to the following:

  # change default from rsh to ssh for cvs command
  export CVS_RSH=${CVS_RSH-ssh}

This will cause CVS_RSH to default to ssh, unless the user has already set CVS_RSH .

Comment 2 Martin Stransky 2006-05-09 12:09:57 UTC
updated in cvs, thanks.


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