Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Kubuntu Development (http://www.linux-archive.org/kubuntu-development/)
-   -   Write ARP=yes to ifcfg file when VSWITCH=1 is set on s390x (#561926). (http://www.linux-archive.org/kubuntu-development/324628-write-arp-yes-ifcfg-file-when-vswitch-1-set-s390x-561926-a.html)

Steffen Maier 02-11-2010 07:52 PM

Write ARP=yes to ifcfg file when VSWITCH=1 is set on s390x (#561926).
 
All commits done so far for bug 561926 should be reverted from anaconda,
since they do not cure the bug's root cause and even introduced new bugs:
0a0e251a8b92de79b2b6b1469e7f3507d1445c80 on rhel6-branch
3b90bea90eb3c65f34e358babcb866b1514a4994 on master

If this needs some time, then please apply this patch here as a
temporary pseudo revert, David.

On 02/10/2010 11:14 PM, David Cantrell wrote:
> So this is a bit silly, but after much back and forth trying to figure
> out what was happening on this bug, it was mentioned that we actually
> need ARP=yes in the ifcfg file and not ARP=no. ARP=yes is not the
> default in ifup-eth, so we need to make sure this setting is enabled
> for these device types on s390x.
> ---
> network.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/network.py b/network.py
> index 83b9998..de36680 100644
> --- a/network.py
> +++ b/network.py
> @@ -251,7 +251,7 @@ class NetworkDevice(SimpleConfigFile):
>
> if ("VSWITCH" in keys) and (self.info["VSWITCH"] == "1"):
> keys.append("ARP")
> - self.info["ARP"] = "no"
> + self.info["ARP"] = "yes"
> if "VSWITCH" in keys:
> keys.remove("VSWITCH")
>

Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 12:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.