FS#47557 - ipv6 privacy extensions don't work with systemd-networkd

Attached to Project: Arch Linux
Opened by Adrian Czerniak (Abaddon) - Tuesday, 29 December 2015, 16:22 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 30 December 2015, 03:50 GMT
Task Type Bug Report
Category Hardware Issues
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have configured privacy extensions for IPv6:

# cat /etc/sysctl.d/40-ipv6.conf
# Enable IPv6 Privacy Extensions
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
net.ipv6.conf.enp5s0.use_tempaddr = 2

# cat /etc/systemd/network/wired.network
[Match]
Name=enp5s0

[Network]
DHCP=ipv4
IPv6PrivacyExtensions=true

IPv6 address is set but only SLAAC, there is no temporary address set on the interface:

# ip -6 addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 2002:5940:ff:ff:fff:ff:ff::ff/64 scope global noprefixroute dynamic
valid_lft 86397sec preferred_lft 14397sec
inet6 fe80::22cf:30ff:fef5:5be1/64 scope link
valid_lft forever preferred_lft forever
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Wednesday, 30 December 2015, 03:50 GMT
Reason for closing:  Upstream
Comment by Adrian Czerniak (Abaddon) - Tuesday, 29 December 2015, 16:42 GMT
I have second computer in the same network. It is laptop running Arch Linux. On this machine, instead of systemd-networkd, network is configured by NetworkManager and privacy extensions work just fine. That suggests that issue is related directly to systemd.
Comment by Adrian Czerniak (Abaddon) - Tuesday, 29 December 2015, 21:17 GMT
Indeed systemd-228 breaks privacy extensions. I downgraded to 227 and everything works fine.
Comment by Adrian Czerniak (Abaddon) - Tuesday, 29 December 2015, 21:23 GMT

Loading...