Bug 4665

Summary: dhclient-script doesn't meet ifcfg file naming convention
Product: Sisyphus Reporter: Mikhail Zabaluev <mhz>
Component: dhcp-clientAssignee: Sergey Bolshakov <sbolshakov>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: critical    
Priority: P2 CC: sem
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
Patch to dhclient-script that fixes the problem none

Description Mikhail Zabaluev 2004-07-03 11:14:06 MSD
As of dhcp-client-3.0.1-alt8, dhclient-script expects interface configuration to
be included from /etc/sysconfig/network-scripts/<interface_name>:


====== 8< ======
cd /etc/sysconfig/network-scripts
. /etc/sysconfig/network-scripts/network-functions
. /etc/rc.d/init.d/functions
 
[ -f ../network ] && . ../network
[ -f ../networking/network ] && . ../networking/network
 
CONFIG=$interface
 
[ -f "${CONFIG}" ] || {
    echo $"$0: configuration for $interface not found." >&2
    exit_with_hooks 1
}
 
source_config
====== >8 ======


Proper location for this, as documented in net-scripts README, is
/etc/sysconfig/network-scripts/ifcfg-<interface_name>.

The temporary workaround is to make a symbolic link to the ifcfg-prefixed file
so that dhclient-script finds it.
Comment 1 Mikhail Zabaluev 2004-07-03 11:24:22 MSD
Created attachment 471 [details]
Patch to dhclient-script that fixes the problem
Comment 2 Anton Farygin 2004-07-05 09:55:18 MSD
reassign
Comment 3 Dmitriy Porollo 2004-07-05 16:14:40 MSD
бага не инсталлера, а
dhclient-script
Comment 4 Sergey Bolshakov 2004-07-05 16:54:39 MSD
fixed in alt9
// comment #3 was made by mistake