Bug 161170 - ifdown-aliases uses relative directory references but doesn't cd /etc/sysconfig/network-scripts
ifdown-aliases uses relative directory references but doesn't cd /etc/sysconf...
Status: CLOSED NEXTRELEASE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: initscripts (Show other bugs)
4.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-20 19:42 EDT by Phil Smith
Modified: 2014-03-16 22:54 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-20 20:41:21 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 Phil Smith 2005-06-20 19:42:53 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
When ifdown-aliases is called from a directory other than /etc/sysconfig/network-scripts it fails

EG.
# /etc/sysconfig/network-scripts/ifdown-aliases  eth0

/etc/sysconfig/network-scripts/ifdown-aliases: line 13: network-functions: No such file or directory


Version-Release number of selected component (if applicable):
initscripts-7.93.13.EL-2

How reproducible:
Always

Steps to Reproduce:
Execute 

/etc/sysconfig/network-scripts/ifdown-aliases  eth0

from /

Actual Results:  /etc/sysconfig/network-scripts/ifdown-aliases: line 13: network-functions: No such file or directory

Expected Results:  alias removed from eth0

Additional info:

Just need to add the following line @ line 12


cd /etc/sysconfig/network-scripts
Comment 1 Bill Nottingham 2005-06-20 20:41:21 EDT
Fixed in CVS HEAD. Will be in RHEL 5.

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