Bug 159099

Summary: /etc/vpnc/vpnc-script assumes root's $PATH
Product: [Fedora] Fedora Reporter: Miloslav Trmač <mitr>
Component: vpncAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vpnc-0.3.3-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-30 08:28:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miloslav Trmač 2005-05-29 16:58:06 UTC
Description of problem:
/etc/vpnc/vpnc-script refers to utilities installed in /sbin and /usr/sbin
without making sure the PATH points to them; this causes a failure to set
up routing when such a PATH is not set (e.g. when using sudo).

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

Additional info:
Just add 
  PATH=/sbin:/usr/sbin:$PATH
at the beginning of /etc/vpnc/vpnc-script

Comment 1 Tomas Mraz 2005-05-30 08:28:54 UTC
Fixed as suggested, rebuild requested.