Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upNo Networking in Qubes R4 AppVMs After Upgrade From R3.2 #4075
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
manasb
Jul 13, 2018
I had used a fedora-28 StandaloneVM which was upgraded, backed up & restored in a similar way to write that last post. Now, after a reboot no programs from that StandaloneVM are working, I am able to sudo xl console <vm> into the system but no graphical programs will run and it too is now unable to access the network.
manasb
commented
Jul 13, 2018
•
|
I had used a |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 13, 2018
Member
Make sure you have qubes-vm-recommended package installed there (if you haven't it there originally, install during upgrade). Check this for details about individual packages.
|
Make sure you have |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
manasb
Jul 13, 2018
Excellent! That fixed network connectivity for my AppVMs.
I'm thinking about how I could apply this to my StandaloneVM where the network doesn't work.. Any ideas?
Here was my attempt:
List last installed packages on the fedora-28 TemplateVM
rpm -qa --lastDownload all the packages (I saved the package names as a file called packages)
cat packages | awk '{ print "dnf download --downloadonly --downloaddir=PACKAGES/ "$1 }' | parallelMove all the packages to the StandaloneVM and install with:
sudo xl console <vm_name>
sudo dnf -C install ./*.rpm
manasb
commented
Jul 13, 2018
•
|
Excellent! That fixed network connectivity for my AppVMs. Here was my attempt: List last installed packages on the rpm -qa --lastDownload all the packages (I saved the package names as a file called cat packages | awk '{ print "dnf download --downloadonly --downloaddir=PACKAGES/ "$1 }' | parallelMove all the packages to the StandaloneVM and install with: sudo xl console <vm_name>
sudo dnf -C install ./*.rpm |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 13, 2018
Member
You need to setup network manually (add IP address, default route, DNS) according to values in VM settings (DNS address is 10.139.1.1).
|
You need to setup network manually (add IP address, default route, DNS) according to values in VM settings (DNS address is 10.139.1.1). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
manasb
Jul 13, 2018
Networking is functioning in my StandaloneVM again, thank you. I did not try your instructions, I was able to resolve it by downloading the packages through the TemplateVM, shifting them over, installing and restarting the VM.
I am not able to run any programs in the StandaloneVM, however.
I have tried to do this through the Qubes Manager as well as with qvm-run. The command hangs and does not complete, a command such as qvm-run <vm> konsole does not start up the konsole terminal client.
The StandaloneVM is running and functional as far as I can tell, I am able to access the console and have verified that networking is working. I am not able to run any programs, though.
manasb
commented
Jul 13, 2018
•
|
Networking is functioning in my StandaloneVM again, thank you. I did not try your instructions, I was able to resolve it by downloading the packages through the TemplateVM, shifting them over, installing and restarting the VM. I am not able to run any programs in the StandaloneVM, however. The StandaloneVM is running and functional as far as I can tell, I am able to access the console and have verified that networking is working. I am not able to run any programs, though. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Do you have |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
manasb
Jul 13, 2018
Yes:
$ sudo dnf list installed | grep -i qubes-vm-recommended
qubes-vm-recommended.noarch 4.0.2-1.fc28 @@commandlineFound some restore instructions here: https://github.com/Qubes-Community/Contents/blob/master/docs/system/restore-3.2.md
Will test and update this post.
These instructions fixed it.
Specifically, these two lines:
$ dnf install qubes-core-agent qubes-kernel-vm-support
$ systemctl enable qubes-gui-agentThanks for your help @marmarek
I will continue with my testing and make/update tickets as required.
manasb
commented
Jul 13, 2018
•
|
Yes: $ sudo dnf list installed | grep -i qubes-vm-recommended
qubes-vm-recommended.noarch 4.0.2-1.fc28 @@commandlineFound some restore instructions here: https://github.com/Qubes-Community/Contents/blob/master/docs/system/restore-3.2.md
These instructions fixed it. $ dnf install qubes-core-agent qubes-kernel-vm-support
$ systemctl enable qubes-gui-agentThanks for your help @marmarek |
manasb commentedJul 13, 2018
Qubes OS version:
R4Affected component(s):
AppVMs imported from Qubes R3.2 - This AppVM and the TemplateVM it is based on were imported from a R3.2 backup.
fedora-28in this caseSteps to reproduce the behavior:
fedoratemplate tofedora-28fedora-26template in Qubes R4 from the/etc/yum.repos.d/directory as well as the PGP key in the/etc/pki/rpm-gpgdirectory)fedora-28TemplateVM is able to fetch updates throughdnf)sys-firewallNetVM (confirm bothsys-firewallandsys-netcan successfully make DNS queries and ping)ifconfigin AppVM only shows the loopback interfaceExpected behavior:
Actual behavior:
General notes:
Found some networking-related scripts in the
/etc/xendirectory on thefedora-26TemplateVM that comes with R4 and copied them over tofedora-28, this did not help however.Related issues: