You are not logged in.

#1 2019-11-14 15:09:43

Meikk99
Member
Registered: 2019-10-09
Posts: 6

[Solved] Firewalld no longer starting after update

Today I noticed when rebooting that firewalld was no longer starting, I suspect it has to do with today's python update, however I cannot say this with certainty, the logs don't seem to provide a lot of information.

systemctl status firewalld: Output

journalctl -xe: Output

Does anyone know how to get more info on this, or how to solve this.

Edit:
I also get a ton of parse errors in my /var/log/firewalld file Content of file

Edit2: It looks like I also updated firewalld, so it might not have to do with the python update.

Last edited by Meikk99 (2019-11-14 20:29:35)

Offline

#2 2019-11-14 16:32:17

giostark
Member
Registered: 2016-12-03
Posts: 39

Re: [Solved] Firewalld no longer starting after update

Same here :-(
Same log but no idea what it can be.

edit:
https://archive.archlinux.org/packages/
Installed the old 0.7.2-2 and no issue. So should be the pack.
In "view change" I can see a 0.8.0-2

Last edited by giostark (2019-11-14 17:00:25)

Offline

#3 2019-11-14 16:49:00

ndegruchy
Member
From: United States
Registered: 2014-11-30
Posts: 5
Website

Re: [Solved] Firewalld no longer starting after update

I, too, am having this issue.

Meikk99 might be on to something. Perhaps the firewall rule XML files are malformed?

Offline

#4 2019-11-14 18:00:47

ganthore
Member
Registered: 2017-12-28
Posts: 5

Re: [Solved] Firewalld no longer starting after update

I'm having the same problem...

When I try to fire up firewalld using the --debug switch, I'm seeing a python dependency issue related to nftables. The same error happens regardless if I use iptables or iptables-nft for the backend.

sudo /usr/bin/firewalld --nofork --nopid --debug
Traceback (most recent call last):
  File "/usr/bin/firewalld", line 194, in <module>
    main()
  File "/usr/bin/firewalld", line 189, in main
    startup(args)
  File "/usr/bin/firewalld", line 142, in startup
    from firewall.server import server
  File "/usr/lib/python3.8/site-packages/firewall/server/server.py", line 44, in <module>
    from firewall.server.firewalld import FirewallD
  File "/usr/lib/python3.8/site-packages/firewall/server/firewalld.py", line 36, in <module>
    from firewall.core.fw import Firewall
  File "/usr/lib/python3.8/site-packages/firewall/core/fw.py", line 33, in <module>
    from firewall.core import nftables
  File "/usr/lib/python3.8/site-packages/firewall/core/nftables.py", line 35, in <module>
    from nftables.nftables import Nftables
ModuleNotFoundError: No module named 'nftables'

Downgrading to 0.7.2-2 fixes the problem for now, but a bug should be filed about this...
https://archive.org/download/archlinux_ … pkg.tar.xz

Last edited by ganthore (2019-11-14 18:03:32)

Offline

#5 2019-11-14 18:15:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] Firewalld no longer starting after update

It need nftables from Testing. They should have gotten moved together.

Edit: should be fixed now.

Last edited by Scimmia (2019-11-14 18:28:50)

Offline

#6 2019-11-14 19:19:40

ndegruchy
Member
From: United States
Registered: 2014-11-30
Posts: 5
Website

Re: [Solved] Firewalld no longer starting after update

Scimmia wrote:

It need nftables from Testing. They should have gotten moved together.

Edit: should be fixed now.

Awesome!

Offline

#7 2019-11-14 19:57:51

ganthore
Member
Registered: 2017-12-28
Posts: 5

Re: [Solved] Firewalld no longer starting after update

The stable update to nftables-1:0.9.2-2 just came out and I can confirm that this fixes the issue. Thanks.

Offline

Board footer

Powered by FluxBB