| Summary: | dhclient-script doesn't meet ifcfg file naming convention | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Sisyphus | Reporter: | Mikhail Zabaluev <mhz> | ||||
| Component: | dhcp-client | Assignee: | Sergey Bolshakov <sbolshakov> | ||||
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus | ||||
| Severity: | critical | ||||||
| Priority: | P2 | CC: | sem | ||||
| Version: | unstable | ||||||
| Hardware: | all | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
Created attachment 471 [details]
Patch to dhclient-script that fixes the problem
reassign бага не инсталлера, а dhclient-script fixed in alt9 // comment #3 was made by mistake |
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.