Your message dated Thu, 19 May 2016 13:49:23 +0000
with message-id <[email protected]>
and subject line Bug#824686: fixed in ifupdown 0.8.12
has caused the Debian Bug report #824686,
regarding ifupdown: dad-attempts 0 should cause nodad confflag to be passed to 
ip -6 addr add
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
824686: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824686
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ifupdown
Version: 0.8.11
Severity: normal
Tags: ipv6

Hi,

I'm trying to configure a tap-device using a inet6 static stanza, but it ends
up unusable:

/etc/network/interfaces:
---------------8<---------------------
iface tap1 inet6 static
        dad-attempts    0
        privext         2
        pre-up          tunctl -t $IFACE; ip addr flush dev $IFACE
        address         fd00:1::/128
        post-down       tunctl -d $IFACE
-------------->8----------------------



Turns out, after an `ifup tap1`, the v6 address shows up as tentative, even
though dad-attempts is set to 0:

---------------8<---------------------
# ifup --verbose tap1

Configuring interface tap1=tap1 (inet6)
tunctl -t $IFACE; ip addr flush dev $IFACE
Set 'tap1' persistent and owned by uid 0
/bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/bridge
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/uml-utilities
/sbin/modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.
/sbin/sysctl -q -e -w net.ipv6.conf.tap1.use_tempaddr=2

/sbin/sysctl -q -e -w net.ipv6.conf.tap1.autoconf=0

/bin/ip link set dev tap1  up
/bin/ip -6 addr add fd00:1::/128  dev tap1

/bin/run-parts --exit-on-error --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/addresses
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/nslcd
Sending network state change signal to nslcd...done.
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/proxy-setup
run-parts: executing /etc/network/if-up.d/uml-utilities
run-parts: executing /etc/network/if-up.d/upstart

# ip addr list dev tap1
15: tap1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state
DOWN group default qlen 1000
    link/ether 3a:de:89:d6:47:15 brd ff:ff:ff:ff:ff:ff
    inet6 fd00:1::/128 scope global tentative          <--------------------
       valid_lft forever preferred_lft forever

# ping6 -c1 fd00:1::
PING fd00:1::(fd00:1::) 56 data bytes
>From fd00:4818::216:3eff:fe00:36 icmp_seq=1 Destination unreachable: Address
unreachable

--- fd00:1:: ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
-------------->8----------------------




Doing the same thing in a "manual" stanza and calling `ip -6 addr add` with the
nodad confflag set, another tap device ends up in a usable state:

/etc/network/interfaces:
---------------8<---------------------
iface tap3 inet6 manual
        dad-attempts    0
        privext         2
        pre-up          tunctl -t $IFACE; ip addr flush dev $IFACE
        post-up         ip -6 addr add dev $IFACE fd00:3::/128 nodad
        post-down       tunctl -d $IFACE
-------------->8----------------------



---------------8<---------------------
# ifup --verbose tap3

Configuring interface tap3=tap3 (inet6)
tunctl -t $IFACE; ip addr flush dev $IFACE
Set 'tap3' persistent and owned by uid 0
/bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/bridge
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/uml-utilities


/bin/ip link set dev tap3 up 2>/dev/null || true
ip -6 addr add dev $IFACE fd00:3::/128 nodad
/bin/run-parts --exit-on-error --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/addresses
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/nslcd
Sending network state change signal to nslcd...done.
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/proxy-setup
run-parts: executing /etc/network/if-up.d/uml-utilities
run-parts: executing /etc/network/if-up.d/upstart

# ip addr list dev tap3
16: tap3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state
DOWN group default qlen 1000
    link/ether ea:90:c4:b2:12:a4 brd ff:ff:ff:ff:ff:ff
    inet6 fd00:3::/128 scope global nodad 
       valid_lft forever preferred_lft forever

/# ping6 -c1 fd00:3::
PING fd00:3::(fd00:3::) 56 data bytes
64 bytes from fd00:3::: icmp_seq=1 ttl=64 time=0.028 ms

--- fd00:3:: ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.028/0.028/0.028/0.000 ms
-------------->8----------------------



Thanks

Dnaiel




-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages ifupdown depends on:
ii  adduser              3.114
ii  init-system-helpers  1.33
ii  iproute2             4.3.0-1+b1
ii  libc6                2.22-9
ii  lsb-base             9.20160110

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.3.4-1

Versions of packages ifupdown suggests:
ii  ppp     2.4.7-1+2
pn  rdnssd  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ifupdown
Source-Version: 0.8.12

We believe that the bug you reported is fixed in the latest version of
ifupdown, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guus Sliepen <[email protected]> (supplier of updated ifupdown package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 19 May 2016 15:36:02 +0200
Source: ifupdown
Binary: ifupdown
Architecture: source amd64
Version: 0.8.12
Distribution: unstable
Urgency: medium
Maintainer: Guus Sliepen <[email protected]>
Changed-By: Guus Sliepen <[email protected]>
Description:
 ifupdown   - high level tools to configure network interfaces
Closes: 824686
Changes:
 ifupdown (0.8.12) unstable; urgency=medium
 .
   * Add "nodad" to ip -6 addr add if dad-attempts is set to zero.
     Closes: #824686
   * Bump Standards-Version.
Checksums-Sha1:
 20d378f015f7385c88b890d62bc6b4acda74aeda 1563 ifupdown_0.8.12.dsc
 a1296f100a10ce7e4d8ba940d4122b152549ad4e 70768 ifupdown_0.8.12.tar.xz
 126447fd3799d7717d2128281b3bb0ef4be896b5 62144 ifupdown-dbgsym_0.8.12_amd64.deb
 87281feb70e6b045078f539b9c8814cac8929b9d 74132 ifupdown_0.8.12_amd64.deb
Checksums-Sha256:
 34f492f0854fa9fa5b6e9b206961b592484d87838b36605c723be6f2a6e9fe16 1563 
ifupdown_0.8.12.dsc
 acdae38e87cb5addc3ccc33c5678b35236e4b499069f680924c3153b04e2a4cf 70768 
ifupdown_0.8.12.tar.xz
 944613d6fa2888d82ff37dc2459deeccf75bb0bc4bf94e09b5dad31a09e1d6c3 62144 
ifupdown-dbgsym_0.8.12_amd64.deb
 f417fd322aef859399c9a5c8e353a40a2d9734bf895b5298dca47aece236e786 74132 
ifupdown_0.8.12_amd64.deb
Files:
 97d6f45d73d25acfb138c0bf84895083 1563 admin important ifupdown_0.8.12.dsc
 f131a378bd1ec979d852de2f48d99a62 70768 admin important ifupdown_0.8.12.tar.xz
 80c77ac6cf5b37b23c2bbd1a64636ae1 62144 debug extra 
ifupdown-dbgsym_0.8.12_amd64.deb
 8d5dd4b8ef9b8300ffd9d82ba9327c9e 74132 admin important 
ifupdown_0.8.12_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXPcFkAAoJED9JDeuHHvn6gR4P/1JixFbaygLNht9AJKzMswPm
d3kXHqv0GD84wQCEnuB4kSiUqg+oi9FfxWAXKttxUpJcD2LLk+5MhOMP6IgwaYd8
wjTh56rlYa+u6LiSBEpruqTiXwEGNi2zctTur+sLHj0iXsQNy59L+QjMWa14PGLf
IHJWL4oZc5P97uD6agQ6UvY6M8BDaN4bhDGufuvFu1WHppoA+/RPOFHv5SPqcbpo
evJVQcwOLjWE6DTQMLlpvLIu/G3kbo3zGgifyd9tXrrTKvxHfYVUaz5K11rN9n/1
9aeEXc6uSJXr3jw9VW7Mbgrnd9GtULA5aBnQ6SpjU0OdLY8+ykncNYVRtRWa7z5O
iKhQk5Vcun/4c+ouKGecnL2LRLG+sostBErJ3FU2wQuy7mbK9Lu7j8iIi5uTTLxC
EYcYAyJBBzN7Mywt/tI0HWhGk3kooMbT45lUMTlSZKUVil07VLCR0TfAZU4XkyFv
IUCB9ZtBj4UfjW1GmRC+uhy6EmjF1L6f2L7x540exSWo3ymOXjFi2Q2SgS327Hvu
Bv10ilYLTMd3iloClZOfSHTKS2t5+UH26Y+ggrhdG/nHGJ5xv6RXpsNPzEwy9zLi
t6YgDBTPNFy12nD+zZkiIle2hwslYevTtbejRLrp1zuyfgLFJYWQw7ZwDruI0atv
LHv/LRWlFGJQC4AtSIYF
=bZmw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to