The script (executed as root) randomly fails. If I manually execute it again after if failed (or during next cron execution) it seems to work again.
Debug output:
[INFO] You have IPv6 connectivity. Continuing.
[INFO] Finished cleaning up previous setup. [INFO] Waiting for the propagation in the Linux kernel.
[DEBUG] Debug info:
random_ipv6_address --> 2a01:4f8:200:33ee:ac3c:270:da01:29ae
random_ipv6_address_mask --> 64
gateway --> fe80::1
interface_index --> 2
interface_name --> eno1
ipv6_subnet --> 2a01:4f8:200:33ee::/64
[Error] Failed to remove the test IPv6 subnet.
May be expected if the route were not yet configured and that was a cleanup due to an error.
[Error] Failed to remove the configured (Google) IPv6 subnets.
May be expected if the route were not yet configured and that was a cleanup due to an error.
[INFO] Finished cleaning up previous setup.
[INFO] Waiting for the propagation in the Linux kernel.
[Error] Failed to configure the test IPv6 route. The setup did not work!
Exception:
(22, 'Invalid argument')
Next execution:
[INFO] You have IPv6 connectivity. Continuing.
[INFO] No cleanup of previous setup needed.
[DEBUG] Debug info:
random_ipv6_address --> 2a01:4f8:200:33ee:f769:b034:af7b:8fd1
random_ipv6_address_mask --> 64
gateway --> fe80::1
interface_index --> 2
interface_name --> eno1
ipv6_subnet --> 2a01:4f8:200:33ee::/64
[INFO] Correctly using the new random IPv6 address, continuing.
[INFO] Correctly configured the IPv6 routes for Google IPv6 ranges.
[INFO] Successful setup. Waiting for the propagation in the Linux kernel.
The script (executed as root) randomly fails. If I manually execute it again after if failed (or during next cron execution) it seems to work again.
Debug output:
[INFO] You have IPv6 connectivity. Continuing.
[INFO] Finished cleaning up previous setup. [INFO] Waiting for the propagation in the Linux kernel.
[DEBUG] Debug info:
random_ipv6_address --> 2a01:4f8:200:33ee:ac3c:270:da01:29ae
random_ipv6_address_mask --> 64
gateway --> fe80::1
interface_index --> 2
interface_name --> eno1
ipv6_subnet --> 2a01:4f8:200:33ee::/64
[Error] Failed to remove the test IPv6 subnet.
May be expected if the route were not yet configured and that was a cleanup due to an error.
[Error] Failed to remove the configured (Google) IPv6 subnets.
May be expected if the route were not yet configured and that was a cleanup due to an error.
[INFO] Finished cleaning up previous setup.
[INFO] Waiting for the propagation in the Linux kernel.
[Error] Failed to configure the test IPv6 route. The setup did not work!
Exception:
(22, 'Invalid argument')
Next execution:
[INFO] You have IPv6 connectivity. Continuing.
[INFO] No cleanup of previous setup needed.
[DEBUG] Debug info:
random_ipv6_address --> 2a01:4f8:200:33ee:f769:b034:af7b:8fd1
random_ipv6_address_mask --> 64
gateway --> fe80::1
interface_index --> 2
interface_name --> eno1
ipv6_subnet --> 2a01:4f8:200:33ee::/64
[INFO] Correctly using the new random IPv6 address, continuing.
[INFO] Correctly configured the IPv6 routes for Google IPv6 ranges.
[INFO] Successful setup. Waiting for the propagation in the Linux kernel.