- Restrict interface names given on the dhcpd command line to length

IFNAMSIZ or shorter (#441524)
- Change to /etc/sysconfig/network-scripts in dhclient-script before
    calling need_config or source_config (#496233)
This commit is contained in:
David Cantrell 2009-04-21 20:41:30 +00:00
parent f4c359e5e8
commit cdcc09a23b
2 changed files with 4 additions and 1 deletions

View File

@ -420,7 +420,8 @@ if [ -f /etc/sysconfig/networking/network ]; then
. /etc/sysconfig/networking/network
fi
CONFIG="/etc/sysconfig/network-scripts/ifcfg-${interface}"
cd /etc/sysconfig/network-scripts
CONFIG="ifcfg-${interface}"
need_config ${CONFIG}
source_config >/dev/null 2>&1

View File

@ -426,6 +426,8 @@ fi
* Mon Apr 20 2009 David Cantrell <dcantrell@redhat.com> - 12:4.1.0-19
- Restrict interface names given on the dhcpd command line to length
IFNAMSIZ or shorter (#441524)
- Change to /etc/sysconfig/network-scripts in dhclient-script before
calling need_config or source_config (#496233)
* Mon Apr 20 2009 David Cantrell <dcantrell@redhat.com> - 12:4.1.0-18
- Make dhclient-script work with pre-configured wireless interfaces (#491157)