Page 1 of 1

Problem ubuntu 18.04 can't turn on livepatch button "Livepatch requires an Internet Connection"

PostPosted: 19. Jul 2019, 11:06
by devnullius
I think I found a bug...

https://www.google.com/search?client=ub ... 8&oe=utf-8

When I try to turn on Livepatch on Ubuntu 18.04, I cannot do it. The button is unmovable / remains in the off position. Some googling explained that this was a DNS resolvement problem on localhost, and possibly with IPv6 (127.0.0.1 and 127.0.0.53 being unable to resolve canonical URL). Please see the few results which describe this problem in more detail, here: https://www.google.com/search?client=ub ... 8&oe=utf-8

If anyone has a hands-on solution, appreciated. I'd expect more people would experience this!

:) Devvie

Re: Problem ubuntu 18.04 can't turn on livepatch button "Livepatch requires an Internet Connection"

PostPosted: 19. Jul 2019, 14:51
by scottgus1
Please attach using the forum's Upload Attachment tab these two files:

the gust log, from cold boot, to seeing this problem, to shutdown from within the guest OS, to the guest window disappearing.

the guest's .vbox file.

Please don't obfuscate anything, there's no private data in the files that will compromise your computer, and you may remove the very data we need to see.

Re: Problem ubuntu 18.04 can't turn on livepatch button "Livepatch requires an Internet Connection"

PostPosted: 22. Jul 2019, 14:15
by devnullius
Extension vbox is not allowed. And which log file exactly? I think it's also too big...

Appreciated :)

Code: Select all   Expand viewCollapse view
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.16-windows">
  <Machine uuid="{ceb0557a-0f9b-4316-90dd-1eefe08a1269}" name="Webdollar" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2019-07-22T12:04:58Z">
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{e6856272-44cb-45ed-92a3-d3e38a60e961}" location="Webdollar.vmdk" format="VMDK" type="Normal"/>
      </HardDisks>
      <DVDImages>
        <Image uuid="{ad5a386a-074d-4515-a300-52a9a81e7b2f}" location="C:/Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso"/>
        <Image uuid="{2404c713-61da-4501-846b-321040e126c4}" location="C:/Users/Administrator/Downloads/ubuntu-18.04.2-live-server-amd64.iso"/>
      </DVDImages>
    </MediaRegistry>
    <ExtraData>
      <ExtraDataItem name="GUI/LastCloseAction" value="SaveState"/>
      <ExtraDataItem name="GUI/LastGuestSizeHint" value="890,764"/>
      <ExtraDataItem name="GUI/LastNormalWindowPosition" value="19,39,800,642"/>
    </ExtraData>
    <Hardware>
      <CPU count="2">
        <PAE enabled="true"/>
        <LongMode enabled="true"/>
        <X2APIC enabled="true"/>
        <HardwareVirtExLargePages enabled="true"/>
      </CPU>
      <Memory RAMSize="1024"/>
      <HID Pointing="USBTablet"/>
      <Paravirt provider="KVM"/>
      <Display controller="VMSVGA" VRAMSize="32" accelerate3D="true"/>
      <VideoCapture file="." fps="25"/>
      <BIOS>
        <IOAPIC enabled="true"/>
      </BIOS>
      <USB>
        <Controllers>
          <Controller name="OHCI" type="OHCI"/>
        </Controllers>
        <DeviceFilters>
          <DeviceFilter name="KESU USB 3.0 [0144]" active="true" vendorId="0000" productId="0000" revision="0144" manufacturer="KESU" product="USB 3.0" serialNumber="00000012D230" remote="0"/>
        </DeviceFilters>
      </USB>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="08002750A14C" type="82540EM">
          <NAT/>
        </Adapter>
      </Network>
      <AudioAdapter codec="AD1980" driver="DirectSound" enabled="true" enabledIn="false"/>
      <RTC localOrUTC="UTC"/>
      <Clipboard mode="Bidirectional"/>
      <DragAndDrop mode="Bidirectional"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/GuestAdd/HostVerLastChecked" value="6.0.8" timestamp="1563525636757196900" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Revision" value="130520" timestamp="1563525775989717000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Version" value="6.0.8" timestamp="1563525775988743103" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="6.0.8" timestamp="1563525775988743104" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/MAC" value="08002750A14C" timestamp="1563525775990692802" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/Name" value="enp0s3" timestamp="1563525775990692804" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/Status" value="Up" timestamp="1563525775990692803" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Broadcast" value="10.0.2.255" timestamp="1563525775990692800" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/IP" value="10.0.2.15" timestamp="1563525775989717005" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Netmask" value="255.255.255.0" timestamp="1563525775990692801" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="1" timestamp="1563527513963132300" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Linux" timestamp="1563525775987817704" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="4.15.0-54-generic" timestamp="1563525775988743100" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Version" value="#58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019" timestamp="1563525775988743101" flags=""/>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="nl_NL" timestamp="1563527532960890500" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0">
          <Image uuid="{ad5a386a-074d-4515-a300-52a9a81e7b2f}"/>
        </AttachedDevice>
      </StorageController>
      <StorageController name="SATA" type="AHCI" PortCount="1" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
        <AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
          <Image uuid="{e6856272-44cb-45ed-92a3-d3e38a60e961}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>

Re: Problem ubuntu 18.04 can't turn on livepatch button "Livepatch requires an Internet Connection"

PostPosted: 22. Jul 2019, 14:19
by devnullius
PS: the log file does contain personal information... Like path names and such. I consider that something to be edited... Just saying ;p

https://pastebin.com/vTRRkAj3

Re: Problem ubuntu 18.04 can't turn on livepatch button "Livepatch requires an Internet Connection"

PostPosted: 22. Jul 2019, 18:45
by scottgus1
Phooey, should have added the ubiquitous "zipped" to the file descriptions, so they will fit.

However, we might not need the log.

devnullius wrote:the log file does contain personal information

scottgus1 wrote:there's no private data in the files that will compromise your computer

See the difference between these two statements? There are 'private' information in the files, but nobody can hack you just by knowing your user name or your guest's disk path. But this discussion is beside the point.

This is the part of the .vbox I was curious about:
<Network>
<Adapter slot="0" enabled="true" MACAddress="08002750A14C" type="82540EM">
<NAT/>
</Adapter>
</Network>

I was wanting to see what network setup you had used for the guest. One of my guests has this in its .vbox:
<Network>
<Adapter slot="0" enabled="true" MACAddress="08002719BC53" cable="true" type="Am79C973">
<NAT/>
</Adapter>
</Network>

You may notice that there is a section in my lines cable="true" that isn't in yours. However, I find that another guest doesn't have that 'tag' but does access the internet. So I need to get a clarification.

However, check that your guest actually can access the internet from a web browser. If so, Virtualbox is working, and your problem may be just an Ubuntu problem. FWIW, one of the links suggested by your posted searches says this may be entirely an Ubuntu problem, regardless of the hardware, physical or virtual, the OS is running on. If you have Internet in the guest's web browser, then try inquiring in an Ubuntu forum, or go down some of the links in your search.

Re: Problem ubuntu 18.04 can't turn on livepatch button "Livepatch requires an Internet Connection"

PostPosted: 23. Jul 2019, 12:18
by devnullius
Alright, fair enough :) THANKS for your effort here!

*posted from within the VirtualMachine (Ubuntu 18.04) ;-)