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

Firewall disable timer errors out #4111

Open
virtualdxs opened this Issue Jul 20, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@virtualdxs

virtualdxs commented Jul 20, 2018

Qubes OS version:

R4.0

Affected component(s):

Firewall

When you temporarily disable the outgoing firewall, it fails and errors in the systemd journal.

Traceback from journalctl:

Jul 19 19:58:09 dom0 qubesd[1399]: unhandled exception while calling src=b'dom0' meth=b'admin.vm.firewall.Set' dest=b'build' arg=b'' le
Jul 19 19:58:09 dom0 qubesd[1399]: Traceback (most recent call last):
Jul 19 19:58:09 dom0 qubesd[1399]:   File "/usr/lib/python3.5/site-packages/qubes/api/__init__.py", line 262, in respond
Jul 19 19:58:09 dom0 qubesd[1399]:     untrusted_payload=untrusted_payload)
Jul 19 19:58:09 dom0 qubesd[1399]:   File "/usr/lib64/python3.5/asyncio/futures.py", line 381, in __iter__
Jul 19 19:58:09 dom0 qubesd[1399]:     yield self  # This tells Task to wait for completion.
Jul 19 19:58:09 dom0 qubesd[1399]:   File "/usr/lib64/python3.5/asyncio/tasks.py", line 310, in _wakeup
Jul 19 19:58:09 dom0 qubesd[1399]:     future.result()
Jul 19 19:58:09 dom0 qubesd[1399]:   File "/usr/lib64/python3.5/asyncio/futures.py", line 294, in result
Jul 19 19:58:09 dom0 qubesd[1399]:     raise self._exception
Jul 19 19:58:09 dom0 qubesd[1399]:   File "/usr/lib64/python3.5/asyncio/tasks.py", line 240, in _step
Jul 19 19:58:09 dom0 qubesd[1399]:     result = coro.send(None)
Jul 19 19:58:09 dom0 qubesd[1399]:   File "/usr/lib64/python3.5/asyncio/coroutines.py", line 210, in coro
Jul 19 19:58:09 dom0 qubesd[1399]:     res = func(*args, **kw)
Jul 19 19:58:09 dom0 qubesd[1399]:   File "/usr/lib/python3.5/site-packages/qubes/api/admin.py", line 1265, in vm_firewall_set
Jul 19 19:58:09 dom0 qubesd[1399]:     self.dest.firewall.save()
Jul 19 19:58:09 dom0 qubesd[1399]:   File "/usr/lib/python3.5/site-packages/qubes/firewall.py", line 570, in save
Jul 19 19:58:09 dom0 qubesd[1399]:     nearest_expire:
Jul 19 19:58:09 dom0 qubesd[1399]: TypeError: unorderable types: datetime.datetime() < bool()

Steps to reproduce the behavior:

  1. Open edit qube firewall settings
  2. Select limit outgoing connections
  3. Check allow full access
  4. Click ok

Expected behavior:

Allows all outbound access for VM for next 5 min

Actual behavior:

Error message in journal

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