7

Livepatch console reports that:

livepatch requires an internet connection

However, all connections (LAN/WAN) are operating normally, with the necessary ports on ufw open. This is a new install of Ubuntu 18.04 LTS.

What are your thoughts?

5
  • 1
    What is your "default route"? ip route.
    – waltinator
    Sep 23, 2019 at 19:28
  • 1
    Having identical behavior on Ubuntu 20.04.1 LTS, but doing a sudo canonical-livepatch status --verbose states the server check-in did succeed, no live patchers were needed, and that the kernel is unsupported... so maybe it's just a poor error message. Did @waltinator 's diagnostic and see the machine's IP address, network address, and when I tried a ping (to say 1.1.1.1) got a 4ms response. Sep 17, 2020 at 19:53
  • // , Same issue. Oct 27, 2020 at 17:52
  • // , As it happens, the error should read, "Livepatch requires an ipv6 internet connection". Oct 28, 2020 at 21:10

1 Answer 1

1

// , Livepatch needs ipv6 for who knows what silly reason. So you gotta turn off your damn VPN.

VPN==sadness

vault-scanner[master]$ sudo canonical-livepatch enable 1111069ffffffffff57fa628acaaaaac
2020/10/27 10:56:13 error executing enable: cannot enable machine: cannot send request: Post https://livepatch.canonical.com/api/machine-tokens: dial tcp: lookup livepatch.canonical.com on [::1]:53: dial udp [::1]:53: connect: network is unreachable
vault-scanner1[master]$ 

No VPN==happy

vault-scanner1[master]$ sudo canonical-livepatch enable 1111069ffffffffff57fa628acaaaaac
Successfully enabled device. Using machine-token: 1111069ffffffffff57fa628acaaaaac
vault-scanner[master]$ 

It'll be the same result in the GUI console, but I can't be arsed to post screenshots since this'll probably just get deleted anyway.

1
  • Well, THAT´s super annoying. ~:-| Especially since here it is >2 years later and someone must think that's a feature, rather than a bug.
    – fbicknel
    Mar 13, 2022 at 20:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .