Bug#969599: systemd: Valid IPv6 addresses and routes discarded erroneously under certain conditions.

Colm Buckley colm at tuatha.org
Sat Sep 5 20:31:49 BST 2020


Package: systemd
Version: 246.4-1~bpo10+1
Severity: important
Tags: ipv6

Dear Maintainer,                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  
The current BPO release of systemd includes a serious regression; valid SLAAC v6 addresses and routes                                                                                                                             
are discarded under certain circumstances. I believe this to be an instance of                                                                                                                                                    
https://github.com/systemd/systemd/issues/16719 which is possibly fixed by https://github.com/systemd/systemd/pull/16725                                                                                                          
                                                                                                                                                                                                                                  
The user-visible symptom is that the systems stop responding on their SLAAC-configured v6 addresses until the link                                                                                                                
is next reconfigured; some time later they drop these addresses again.                                                                                                                                                            
                                                                                                                                                                                                                                  
An extract from the debug log from systemd-networkd follows: note in particular the "Removing address" and "Forgetting address"                                                                                                   
lines in the log.                                                                                                                                                                                                                 
                                                                                                                                                                                                                                  
I think that pull/16725 should be cherry-picked into Debian as soon as possible.                                                                                                                                                  
                                                                                                                                                                                                                                  
Thanks,                                                                                                                                                                                                                           
                                                                                                                                                                                                                                  
     Colm                                                                                                                                                                                                                         
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  
Sep 05 20:23:13 lugh systemd-networkd[1148]: NDISC: Received Router Advertisement: flags none preference medium lifetime 0 sec                                                                                                    
Sep 05 20:23:13 lugh systemd-networkd[1148]: NDISC: Invoking callback for 'router' event.                                                                                                                                         
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: Configuring route: dst: fd79:b3fc:4a5b:1::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main, proto: ra, type: unicast                                           
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: Updating address: fd79:b3fc:4a5b:1:56b2:3ff:fe1c:63be                                                                                                                          
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: Setting SLAAC addresses.                                                                                                                                                       
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: Setting NDisc routes.                                                                                                                                                          
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: State changed: configured -> configuring                                                                                                                                       
Sep 05 20:23:13 lugh systemd-networkd[1148]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_34 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=45 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a                                                                                                                                                                            
Sep 05 20:23:13 lugh systemd-networkd[1148]: rtnl: received non-static neighbor, ignoring.                                                                                                                                        
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: Received remembered route: dst: fd79:b3fc:4a5b:1::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main, proto: ra, type: unicast                                   
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: NDisc routes set.                                                                                                                                                              
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: link_check_ready(): an address fd79:b3fc:4a5b:1:56b2:3ff:fe1c:63be/64 is not ready.                                                                                            
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: Remembering updated address: fd79:b3fc:4a5b:1:56b2:3ff:fe1c:63be/64 (valid for 2h)                                                                                             
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: link_check_ready(): an address fd79:b3fc:4a5b:1:56b2:3ff:fe1c:63be/64 is not ready.                                                                                            
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: NDisc SLAAC addresses set.                                                                                                                                                     
Sep 05 20:23:13 lugh systemd-networkd[1148]: int0: link_check_ready(): an address fd79:b3fc:4a5b:1:56b2:3ff:fe1c:63be/64 is not ready.                                                                                            
Sep 05 20:23:13 lugh systemd-networkd[1148]: rtnl: received non-static neighbor, ignoring.                                                                                                                                        
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Remembering foreign address: fd79:b3fc:4a5b:1:b055:92c6:a6b8:39b9/64 (valid for 1h 59min 59s)                                                                                  
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: link_check_ready(): an address fd79:b3fc:4a5b:1:56b2:3ff:fe1c:63be/64 is not ready.                                                                                            
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Remembering route: dst: fd79:b3fc:4a5b:1:b055:92c6:a6b8:39b9/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local, proto: kernel, type: local                     
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Remembering updated address: fd79:b3fc:4a5b:1:56b2:3ff:fe1c:63be/64 (valid for 1h 59min 59s)                                                                                   
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: link_check_ready(): dhcp4:yes dhcp6_addresses:no dhcp_routes:no dhcp_pd_addresses:no dhcp_pd_routes:no ndisc_addresses:yes ndisc_routes:yes                                    
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: State changed: configuring -> configured                                                                                                                                       
Sep 05 20:23:14 lugh systemd-networkd[1148]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_34 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=46 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a                                                                                                                                                                            
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Removing old NDisc addresses and routes.                                                                                                                                       
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Removing address 2a01:258:f100:107:56b2:3ff:fe1c:63be                                                                                                                          
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Removing route: dst: n/a, src: n/a, gw: fe80::d8fa:ceff:fede:cade, prefsrc: n/a, scope: global, table: main, proto: ra, type: unicast                                          
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Removing route: dst: 2a01:258:f100:107::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main, proto: ra, type: unicast                                             
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Remembering route: dst: fd79:b3fc:4a5b:1:56b2:3ff:fe1c:63be/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local, proto: kernel, type: local                      
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Forgetting address: 2a01:258:f100:107:56b2:3ff:fe1c:63be/64 (valid for 59min 48s)                                                                                              
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Forgetting route: dst: 2a01:258:f100:107:56b2:3ff:fe1c:63be/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local, proto: kernel, type: local                      
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Forgetting route: dst: n/a, src: n/a, gw: fe80::d8fa:ceff:fede:cade, prefsrc: n/a, scope: global, table: main, proto: ra, type: unicast                                        
Sep 05 20:23:14 lugh systemd-networkd[1148]: int0: Forgetting route: dst: 2a01:258:f100:107::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main, proto: ra, type: unicast                                           
Sep 05 20:23:27 lugh systemd-networkd[1148]: rtnl: received non-static neighbor, ignoring.                                                                                                                                        
Sep 05 20:23:27 lugh systemd-networkd[1148]: rtnl: received non-static neighbor, ignoring.                                                                                                                                        
Sep 05 20:23:36 lugh systemd-networkd[1148]: LLDP: Invoking callback for 'refreshed' event.                                                                                                                                       
Sep 05 20:23:36 lugh systemd-networkd[1148]: LLDP: Successfully processed LLDP datagram.                                                                                                                                          


-- Package-specific info:

-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable'), (400, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  adduser                          3.118
ii  libacl1                          2.2.53-4
ii  libapparmor1                     2.13.2-10
ii  libaudit1                        1:2.8.4-3
ii  libblkid1                        2.33.1-0.1
ii  libc6                            2.28-10
ii  libcap2                          1:2.25-2
ii  libcryptsetup12                  2:2.3.3-2~bpo10+1
ii  libgcrypt20                      1.8.4-5
ii  libgnutls30                      3.6.7-4+deb10u5
ii  libgpg-error0                    1.35-1
ii  libidn2-0                        2.0.5-1+deb10u1
ii  libip4tc0                        1.8.2-4
ii  libkmod2                         26-1
ii  liblz4-1                         1.8.3-1
ii  liblzma5                         5.2.4-1
ii  libmount1                        2.33.1-0.1
ii  libpam0g                         1.3.1-5
ii  libpcre2-8-0                     10.32-5
ii  libseccomp2                      2.4.1-2~bpo10+1
ii  libselinux1                      2.8-1+b1
ii  libsystemd0                      246.4-1~bpo10+1
ii  libzstd1                         1.4.4+dfsg-3~bpo10+1
ii  mount                            2.33.1-0.1
ii  systemd-timesyncd [time-daemon]  246.4-1~bpo10+1
ii  util-linux                       2.33.1-0.1

Versions of packages systemd recommends:
ii  dbus  1.12.20-0+deb10u1

Versions of packages systemd suggests:
ii  policykit-1        0.105-25
pn  systemd-container  <none>

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.133+deb10u1
pn  libnss-systemd   <none>
ii  libpam-systemd   246.4-1~bpo10+1
ii  udev             246.4-1~bpo10+1

-- Configuration Files:
/etc/systemd/logind.conf changed [not included]
/etc/systemd/resolved.conf changed [not included]

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list