Bug#397309: [Pkg-uml-pkgs] Bug#397309: restoring with /etc/network/if-*down.d/uml-utilities

shaulka at 012.net.il shaulka at 012.net.il
Mon Nov 6 23:37:56 CET 2006


On Monday, November 6, 2006 8:42 pm, Mattia Dongili wrote:

> > 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.

  Still, are other entries in the interfaces verbose like that? One can
expect that the admin who wrote the stanza in the interfaces file 
tested it and now he just expect to have the interface up with no 
more hassle.

> 
> > --- /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?

  Wrong. These are hardly ifupdown (or, if you like, /etc/network/interfaces)
options. If at all, these are uml-utilities options. To quote interfaces.5:

        Additionally, all options given in an interface definition stanza
        are  exported  to the environment in upper case with "IF_" prepended
        and with hyphens converted to underscores and non-alphanumeric char-
        acters discarded.

  I, too, am not an ifupdown expert and I was confused about it myself at the
beginning. Think about that quote when you take another look at the tap1
example from /usr/share/doc/uml-utilities/examples/interfaces.example.

> > +  # Don't know why
> > +  #    arp -d "$i" pub
> > +  # failed
> 
> hummm, did arp -Ds succeded in the first place?

  Yes. arp -Ds succeded in the first place  It succeded in the sense
that the arp table was modified. I am not sure if I succeded to get
rootstrap to use the host network, but this is tangantile for this
discussion. Actually, it might not be tangtaile. Perhaps the fact
that I still haven't ran rootstrap succesfully is the reason for the
failure. More specifically, I get a `to be determined' answer from
arp:

    $ /usr/sbin/arp -n | grep -v ether
    Address                  HWtype  HWaddress           Flags Mask            Iface
    192.168.1.120            *       <from_interface>    MP                    eth0

  In any case, as I have already pointed out in my second report to
the BTS,

    arp -i "${IF_UML_PROXY_ETHER}" -d "$i" pub

does remove the uml line from the arp table.






More information about the Pkg-uml-pkgs mailing list