[systemd-bugs] [Bug 81177] RFE: systemd-networkd: implement setting tokens for .network

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 13 01:20:36 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=81177

Fireball <gsbox39stz at thurston.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
            Summary|RFE: systemd-networkd:      |RFE: systemd-networkd:
                   |implement setting tokens    |implement setting tokens
                   |for .link/.netdev           |for .network

--- Comment #3 from Fireball <gsbox39stz at thurston.ru> ---
Hello again.
I'm setting token for two of my interfaces: eth0 and br0 (they are unrelated,
br0 includes tap1 and veth0).
Setting the token works for eth0 always.

Recently it broke for br0.
So I set Environment=SYSTEMD_LOG_LEVEL=debug for networkd.

My br0.network:

[Match]
Name=br0

[Network]
Description=Network Bridge For VPN
IPv6Token=::32
IPForward=yes

A piece of log during boot (journalctl -b|grep networkd|grep br0):

 systemd-networkd[432]: br0             : loaded bridge
 systemd-networkd[432]: br0             : creating
 systemd-networkd[432]: br0             : flags change: +MULTICAST +BROADCAST
 systemd-networkd[432]: br0             : link 13 added
 systemd-networkd[432]: device 0x7f45925790d0 has devpath
'/devices/virtual/net/br0'
 systemd-networkd[432]: br0             : udev initialized link
 systemd-networkd[432]: br0             : netdev has index 13
 systemd-networkd[432]: br0             : netdev ready
 systemd-networkd[432]: br0             : saved original MTU: 1500
 systemd-networkd[432]: br0             : created
 systemd-networkd[432]: br0             : link state is up-to-date
 systemd-networkd[432]: br0             : found matching network
'/etc/systemd/network/br0.network'
 systemd-networkd[432]: br0             : bringing link up
 systemd-networkd[432]: br0             : link configured
 systemd-networkd[432]: veth0           : enslaving by 'br0'
 systemd-networkd[432]: br0             : enslaving link 'veth0'
 systemd-networkd[432]: br0             : flags change: +UP
 systemd-networkd[432]: br0             : br0             : could not bring up
interface: Invalid argument
 systemd-networkd[432]: br0             : flags change: +LOWER_UP +RUNNING
 systemd-networkd[432]: br0             : gained carrier
 systemd-networkd[432]: br0             : Adding address:
fe80::8cb7:3bff:fe38:1f40/64 (valid for ever)
 systemd-networkd[432]: br0             : Adding address:
xxxx:xxxx:xxxx:xxxx:8cb7:3bff:fe38:1f40/64 (valid for 23h 59min 59s)

The token is not shown with "ip token get dev br0".
If I remove IPv6Token= the error "could not bring up interface: Invalid
argument" is not shown anymore.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150313/ff2de7e6/attachment.html>


More information about the systemd-bugs mailing list