dhclient-script: PREINIT6: make sure link-local address is available (#1129500)
This commit is contained in:
parent
5505bb7689
commit
991bd354d9
@ -710,6 +710,14 @@ case "${reason}" in
|
|||||||
# so the following is not needed anymore
|
# so the following is not needed anymore
|
||||||
#ip -6 addr flush dev ${interface} scope global permanent
|
#ip -6 addr flush dev ${interface} scope global permanent
|
||||||
|
|
||||||
|
# we need a link-local address to be ready (not tentative)
|
||||||
|
for i in $(seq 50); do
|
||||||
|
# tentative flag == DAD is still not complete
|
||||||
|
tentative=$(ip -6 addr show dev ${interface} scope link | grep tentative)
|
||||||
|
[[ -z "${tentative}" ]] && exit_with_hooks 0
|
||||||
|
sleep 0.1
|
||||||
|
done
|
||||||
|
|
||||||
exit_with_hooks 0
|
exit_with_hooks 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
Summary: Dynamic host configuration protocol software
|
Summary: Dynamic host configuration protocol software
|
||||||
Name: dhcp
|
Name: dhcp
|
||||||
Version: 4.3.1
|
Version: 4.3.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
||||||
# dcantrell maintaining the package) made incorrect use of the epoch and
|
# dcantrell maintaining the package) made incorrect use of the epoch and
|
||||||
# that's why it is at 12 now. It should have never been used, but it was.
|
# that's why it is at 12 now. It should have never been used, but it was.
|
||||||
@ -592,6 +592,9 @@ done
|
|||||||
%doc doc/html/
|
%doc doc/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 14 2014 Jiri Popelka <jpopelka@redhat.com> - 12:4.3.1-2
|
||||||
|
- dhclient-script: PREINIT6: make sure link-local address is available (#1129500)
|
||||||
|
|
||||||
* Tue Aug 12 2014 Jiri Popelka <jpopelka@redhat.com> - 12:4.3.1-1
|
* Tue Aug 12 2014 Jiri Popelka <jpopelka@redhat.com> - 12:4.3.1-1
|
||||||
- 4.3.1
|
- 4.3.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user