FS#60058 - {netctl} 1.18-1 "no link-local IPv6" with dhclient

Attached to Project: Arch Linux
Opened by Thorsten (Thorsten) - Friday, 14 September 2018, 16:07 GMT
Last edited by Jouke Witteveen (jouke) - Thursday, 28 February 2019, 12:27 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

* Description:
When configuring a profile with double stack IPv4/IPv6 using dhcp and selecting dhclient following error occur:

DEBUG: dhclient_start: do_readable dhclient -6 -q -e TIMEOUT=30 -pf /run/dhclient-enp0s25-6.pid enp0s25
dhclient[4308]: no link-local IPv6 address for enp0s25

* package version(s): netctl 1.18-1
* config:

Interface=enp0s25
Connection=ethernet
IP=dhcp
DHCPClient=dhclient
IP6=dhcp
DHCP6Client=dhclient
NETCTL_DEBUG=true

Steps to reproduce:
Set-up dhcpd4, dhcpd6, radvd. Use a client with netctl configuration above.

Switching to DHCP6Client=dhcpcd is a temporary solution to the issue.
This task depends upon

Closed by  Jouke Witteveen (jouke)
Thursday, 28 February 2019, 12:27 GMT
Reason for closing:  No response
Comment by Thorsten (Thorsten) - Wednesday, 07 November 2018, 22:53 GMT
Here is some additional informations. This error occurred after tuning configuration for IPv6 privacy address. This involve changing Linux kernel parameter "net.ipv6.conf.<ifname>.addr_gen_mode". It seems that after start and stop of NetworkManager this parameter is reset to "1". Linux documentation say "1: do no generate a link-local address, use EUI64 for addresses generated from autoconf". In this case starting netctl lead to the error described.
Possible solution could be to check value of "net.ipv6.conf.<ifname>.addr_gen_mode" before trying to start dhclient.
Comment by Jouke Witteveen (jouke) - Saturday, 10 November 2018, 17:05 GMT
What would be the correct command for starting dhclient in this case?

Loading...