Bug 227201

Summary: network-functions sourcing files without path
Product: [Fedora] Fedora Reporter: Daniel Qarras <dqarras>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 10CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-16 18:35:48 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 Daniel Qarras 2007-02-03 13:43:43 UTC
The function source_config in the file
/etc/sysconfig/network-scripts/network-functions contains several statements
like these:

        . $PARENTCONFIG
    . $CONFIG

There variables do not contain full path information, just a file name. This
might be an obscure security issue and this is also incompatible with other
shells than bash.

This can fixed adding path information to variables or using ". ./$CONFIG" notation.

Thanks.

Comment 1 Daniel Qarras 2007-10-12 20:55:23 UTC
This is still problem with F8T3.

Comment 2 Daniel Qarras 2008-05-05 22:19:59 UTC
Seen also with F9.

Comment 3 Bug Zapper 2008-05-14 02:35:18 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Daniel Qarras 2008-10-04 07:55:16 UTC
Still seeing this with F10Beta.

Comment 5 Bug Zapper 2008-11-26 01:52:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Bill Nottingham 2009-03-16 18:35:48 UTC
This is fixed in rawhide.