I wrote:
> I'll try to boot the system with debian buster but with the same new
> kernel and report back.

Followup: I've tested this with a debian buster root filesystem with the
same new 5.14.12 kernel: The behaviour is identical to the one with
bullseye. So at this time I believe that this is not a regression in the
debian ifupdown mechanisms.  Can we leave this open for some time until
I've verified what the problem is? I currently see two possibilities:

- I've done something differently for my other root-NFS setups
- There is a difference in newer kernels that causes this

The message "RTNETLINK answers: File exists" typically occurs if there
already is a route that some program is trying to set up. I've verified
that it is not the default route: If I remove the default route and
*then* try ifup I'm still getting the same behaviour:

root@sun7i:~# ip route ls                                                       
default via 10.23.5.254 dev eth0                                                
10.23.5.0/24 dev eth0 proto kernel scope link src 10.23.5.173                   

root@sun7i:~# ip route del default
root@sun7i:~# ip route ls
10.23.5.0/24 dev eth0 proto kernel scope link src 10.23.5.173

root@sun7i:~# ifup eth0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/02:42:b3:f0:2d:3e
Sending on   LPF/eth0/02:42:b3:f0:2d:3e
Sending on   Socket/fallback
Created duid "\000\001\000\001#\367\373\240\002B\263\360->".
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 10.23.5.173 from 10.23.5.254
DHCPREQUEST for 10.23.5.173 on eth0 to 255.255.255.255 port 67
DHCPACK of 10.23.5.173 from 10.23.5.254
RTNETLINK answers: File exists
DHCPDECLINE of 10.23.5.173 on eth0 to 255.255.255.255 port 67
[...]

Of course I cannot remove the kernel link-scope route to the local
network with NFS-root. So I couldn't check if that route causes the
RTNETLINK message.

All the experiments in this email were with a debian buster rootfs,
they're identical to the behaviour with bullseye.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]

Reply via email to