Re: /etc/network/if-pre-up.d/cloud_inet6: 12: IF_TRY_DHCP: parameter not set
On 9/14/21 10:04 AM, Simon Josefsson wrote:
> Hi,
>
> I get the following in syslog on first startup with localds config with
> static network:
>
> Sep 14 07:54:11 foo systemd[1]: Starting Raise network interfaces...
> Sep 14 07:54:11 foo ifup[332]: ifup: waiting for lock on /run/network/ifstate.enp1s0
> Sep 14 07:54:11 foo sh[409]: /etc/network/if-pre-up.d/cloud_inet6: 12: IF_TRY_DHCP: parameter not set
> Sep 14 07:54:11 foo sh[408]: run-parts: /etc/network/if-pre-up.d/cloud_inet6 exited with return code 2
> Sep 14 07:54:11 foo systemd[1]: ifup@enp1s0.service: Main process exited, code=exited, status=1/FAILURE
> Sep 14 07:54:11 foo sh[333]: ifup: failed to bring up enp1s0
> Sep 14 07:54:11 foo systemd[1]: ifup@enp1s0.service: Failed with result 'exit-code'.
> Sep 14 07:54:11 foo ifup[416]: RTNETLINK answers: File exists
> Sep 14 07:54:11 foo ifup[332]: ifup: failed to bring up enp1s0
> Sep 14 07:54:11 foo systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
> Sep 14 07:54:11 foo systemd[1]: networking.service: Failed with result 'exit-code'.
>
> As a result, IPv6 is not setup correctly.
>
> Below is how to reproduce it (VM host is a Debian buster machine -- but
> that should not matter).
>
> root@bull:~# wget -q -O foo.qcow2 https://cloud.debian.org/images/cloud/bullseye/20210814-734/debian-11-genericcloud-amd64-20210814-734.qcow2
Hi,
Do not use that image, it's known to be broken. Please use something
newer than this one, where the commit was reverted.
Cheers,
Thomas Goirand (zigo)
Reply to: