Bug 227201 - network-functions sourcing files without path
network-functions sourcing files without path
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
10
All Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-03 08:43 EST by Daniel Qarras
Modified: 2014-03-16 23:05 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-03-16 14:35:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Qarras 2007-02-03 08:43:43 EST
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 16:55:23 EDT
This is still problem with F8T3.
Comment 2 Daniel Qarras 2008-05-05 18:19:59 EDT
Seen also with F9.
Comment 3 Bug Zapper 2008-05-13 22:35:18 EDT
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 03:55:16 EDT
Still seeing this with F10Beta.
Comment 5 Bug Zapper 2008-11-25 20:52:40 EST
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 14:35:48 EDT
This is fixed in rawhide.

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