Bug#397309: [Pkg-uml-pkgs] Bug#397309: restoring with
/etc/network/if-*down.d/uml-utilities
Mattia Dongili
malattia at linux.it
Mon Nov 6 19:42:45 CET 2006
On Mon, Nov 06, 2006 at 03:25:32PM +0200, shaulka at 012.net.il wrote:
> Package: uml-utilities
> Version: 20060323-3
> Severity: normal
> Tags: patch
>
> 1) Is it necessary to have sysctl verbose?
Well, I'd say yes. If for no other reason, to tell the user what we are
doing.
> 2) I believe it is a good practice to restore the previous situation as much
> as possible after the work is done.
Yes, thanks, just some comments/questions as I'm no ifupdown expert at
all and I admit I did never dug into this stuff wrt uml-utilities.
> --- /etc/network/if-up.d/uml-utilities 2006-04-14 20:58:37.000000000 +0300
> +++ up 2006-11-05 20:30:22.000000000 +0200
> @@ -3,7 +3,7 @@
> test -n "${IF_UML_PROXY_ARP}" || exit 0
> test -n "${IF_UML_PROXY_ETHER}" || exit 0
So we have 2 undocumented options for /etc/network/interfaces, right?
The former should contain a list of hostnames for which arp proxying is
to enabled, the latter an interface name (the switch interface? eg:
tap0 in the README.Debian).
> -sysctl -w net/ipv4/conf/"${IFACE}"/proxy_arp=1
> +sysctl -q -w net/ipv4/conf/"${IFACE}"/proxy_arp=1
>
> for i in ${IF_UML_PROXY_ARP};
> do
>
> --- /etc/network/if-down.d/uml-utilities 1970-01-01 02:00:00.000000000
> +0200
> +++ down 2006-11-06 14:13:46.000000000 +0200
> @@ -0,0 +1,10 @@
> +#!/bin/sh
> +
> +test -n "${IF_UML_PROXY_ARP}" || exit 0
> +test -n "${IF_UML_PROXY_ETHER}" || exit 0
> +
> +for i in ${IF_UML_PROXY_ARP};
> +do
> + # Don't know why
> + # arp -d "$i" pub
> + # failed
hummm, did arp -Ds succeded in the first place?
Thanks for your help
--
mattia
:wq!
More information about the Pkg-uml-pkgs
mailing list