Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain has failed to start: 'NoneType' object has no attribute 'count' #5772

Closed
3o14r473 opened this issue Apr 14, 2020 · 11 comments · Fixed by QubesOS/qubes-core-admin-client#139

Comments

@3o14r473
Copy link

Qubes OS version
R4.0

Affected component(s) or functionality
domU qube, Qube Manager qube settings and qvm-firewall.

Brief summary
Affected domU qube fails to start. It is no longer possible to edit or list the firewall rules of this qube via qvm-firewall and it is not possible to open the qube settings (Qube Manager) for this qube.

To Reproduce
Add a firewall rule to $qube which specifies the destination host as empty via qvm-firewall,
e.g. qvm-firewall $qube add accept dsthost=, and then reboot Qubes.

Expected behavior
qvm-firewall refusing to create this rule.

Actual behavior
qvm-firewall creating the rule.

Additional context
The Qube Manager prevents the user from creating such a firewall rule.

After the qube fails to start, a notification displays this message:

Qube Status: $qube
Domain $qube has failed to start: 'NoneType' object has no attribute 'count'

Solutions you've tried
Delete the rules that prevent the affected qube from starting by directly editing /var/lib/qubes/appvms/$qube/firewall.xml in dom0. This solves all issues described in the brief summary above.

Relevant documentation you've consulted
https://qubes-os.org/doc/firewall

@3o14r473 3o14r473 added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Apr 14, 2020
@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone Apr 15, 2020
marmarta added a commit to marmarta/qubes-core-admin-client that referenced this issue May 15, 2020
marmarta added a commit to marmarta/qubes-core-admin-client that referenced this issue May 15, 2020
marmarta added a commit to marmarta/qubes-core-admin-client that referenced this issue May 16, 2020
Firewall rule cannot be missing value in declaration
(e.g. 'dsthost=' is not a valid rule).

fixes QubesOS/qubes-issues#5772
@qubesos-bot
Copy link

Automated announcement from builder-github

The package python3-qubesadmin-4.1.7-1.fc32 has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-core-admin-client_4.1.7-1 has been pushed to the r4.1 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

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python3-qubesadmin-4.1.9-1.fc32 has been pushed to the r4.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package You 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

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package core-admin-client 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

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesadmin-4.0.32-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.

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package core-admin-client has been pushed to the r4.0 stable repository for the CentOS centos8 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-core-admin-client_4.0.32-1+deb10u1 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

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin-client (including package python2-qubesadmin-4.0.32-1.fc32) 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

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment