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 upafter qvm-killing sys-net, can't restart it, Mac address in use (R4.0-rc1) #3163
Comments
andrewdavidwong
added
bug
C: core
labels
Oct 10, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Oct 10, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
schnurentwickler
Oct 11, 2017
That also happens in Qubes 3.2.
Because a clean shutdown is missing, some missing command cannot release the xen mac address. (I think) After some time waiting the restart works without any error. (only if the sys-net VM boots up successfully and then and only then the following network-ordered ProxyVM starts.)
schnurentwickler
commented
Oct 11, 2017
•
|
That also happens in Qubes 3.2. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ERFier
Nov 2, 2017
I had a similar issue in R4 rc2. It turned out that I can restart sys-net if i shutdown the attached sys-firewall. I dont know how its working in detail but it seems like the connected VM keeps the pipe open and the restarted vm tries to create a new one with the same MAC. Once the connected vm is shut down the channel is freed and sys-net can create it again.
ERFier
commented
Nov 2, 2017
|
I had a similar issue in R4 rc2. It turned out that I can restart sys-net if i shutdown the attached sys-firewall. I dont know how its working in detail but it seems like the connected VM keeps the pipe open and the restarted vm tries to create a new one with the same MAC. Once the connected vm is shut down the channel is freed and sys-net can create it again. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jan 8, 2018
Member
This is user visible effect of missing libvirt functionality: #1426. Closing as duplicate.
|
This is user visible effect of missing libvirt functionality: #1426. Closing as duplicate. |
marmarek
closed this
Jan 8, 2018
marmarek
added
the
duplicate
label
Jan 8, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jan 29, 2018
Member
I'm reopening this one, because there may be a way to allow this particular functionality (restarting sys-net without restarting all other VMs) without fully implementing missing underlying functionality (#1426).
|
I'm reopening this one, because there may be a way to allow this particular functionality (restarting sys-net without restarting all other VMs) without fully implementing missing underlying functionality (#1426). |
marmarek
reopened this
Jan 29, 2018
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jan 29, 2018
marmarek
removed
the
duplicate
label
Jan 29, 2018
marmarek
closed this
in
marmarek/qubes-vmm-xen@93e3700
Jan 29, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 29, 2018
Automated announcement from builder-github
The package qubes-core-dom0-4.0.21-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Jan 29, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-dom0-cur-test
label
Jan 29, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jan 29, 2018
Closed
core-admin v4.0.21 (r4.0) #395
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 30, 2018
Automated announcement from builder-github
The package xen_4.8.3-2+deb10u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing buster-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Jan 30, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-buster-cur-test
label
Jan 30, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jan 30, 2018
Closed
vmm-xen v4.8.3-2 (r4.0) #396
qubesos-bot
added
the
r4.0-jessie-cur-test
label
Jan 30, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 30, 2018
Automated announcement from builder-github
The package xen_4.8.3-2+deb9u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Jan 30, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Jan 30, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 30, 2018
Automated announcement from builder-github
The package vmm-xen has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Jan 30, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-centos7-cur-test
label
Jan 30, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 30, 2018
Automated announcement from builder-github
The package python2-xen-4.8.3-2.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Jan 30, 2018
|
Automated announcement from builder-github The package
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 30, 2018
Automated announcement from builder-github
The component vmm-xen (including package python2-xen-4.8.3-2.fc26) has been pushed to the r4.0 testing repository for the Fedora template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Jan 30, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
the
r4.0-fc26-cur-test
label
Jan 30, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The package vmm-xen has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-centos7-stable
r4.0-jessie-stable
and removed
r4.0-centos7-cur-test
r4.0-jessie-cur-test
labels
Feb 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The package xen_2001:4.8.3-2+deb9u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-stretch-stable
and removed
r4.0-stretch-cur-test
labels
Feb 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The package qubes-core-dom0-4.0.21-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
qubesos-bot
removed
the
r4.0-dom0-cur-test
label
Feb 6, 2018
qubesos-bot
added
the
r4.0-dom0-stable
label
Feb 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The package python2-xen-4.8.3-2.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Feb 6, 2018
Member
I'm reopening this one, because there may be a way to allow this particular functionality (restarting sys-net without restarting all other VMs) without fully implementing missing underlying functionality (#1426).
Is there any reason not to implement the "restarting sys-net without restarting all other VMs" feature as a script that performs the steps below?
- Sets the netvms of all ProxyVMs depending on
sys-nettonone. - Shuts down
sys-net. - Starts
sys-net. - Sets the netvms of all ProxyVMs modified in step 1 back to
sys-net.
I personally use a simple bash script for this (because the only ProxyVM I have to modify is sys-firewall).
Edit: Oh, I think I see now. The problem is that there's a bug that prevents step 3 from occurring, because sys-net won't start back up again after it's been shut down. Is that right?
Is there any reason not to implement the "restarting sys-net without restarting all other VMs" feature as a script that performs the steps below?
I personally use a simple bash script for this (because the only ProxyVM I have to modify is Edit: Oh, I think I see now. The problem is that there's a bug that prevents step 3 from occurring, because |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 6, 2018
Member
The problem is that there's a bug that prevents step 3 from occurring, because sys-net won't start back up again after it's been shut down. Is that right?
Yes. Also step 1 breaks if sys-net is already crashed.
And I think I've fixed both things already. It should be possible to start sys-net again, after it being shutdown for whatever reason, even without detaching network first. This isn't the proper fix, mostly a workaround, but I hope an effective one.
Yes. Also step 1 breaks if sys-net is already crashed. |
added a commit
to QubesOS/qubes-core-admin
that referenced
this issue
Feb 17, 2018
andrewdavidwong
referenced this issue
Mar 1, 2018
Open
FirewallVMs don’t automatically reconnect when NetVM restarts #3642
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 12, 2018
Automated announcement from builder-github
The component vmm-xen (including package python2-xen-4.8.3-3.fc26) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Mar 12, 2018
|
Automated announcement from builder-github The component
|
0spinboson commentedOct 9, 2017
Qubes OS version (e.g.,
R3.2):R4.0-rc1
Affected TemplateVMs (e.g.,
fedora-23, if applicable):debian-8
Steps to reproduce the behavior:
start, then qvm-kill sys-net, then try to restart it.
Expected behavior:
sys-net boots
Actual behavior:
sys-net fails to boot, error message is displayed about mac address.