Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian 10 firewall Python errors?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Debtian
Posts: 1
Joined: 2022-01-27 21:03

Debian 10 firewall Python errors?

#1 Post by Debtian »

Running Debian 10 with firewalld 0.6.3-5 and iptables 1.8.2-4, when executing a command eg: firewall-cmd --get-zones it returns the following error:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/firewall-cmd", line 31, in <module>
    from firewall.client import FirewallClient, FirewallClientIPSetSettings, \
  File "/usr/lib/python3/dist-packages/firewall/client.py", line 29, in <module>
    import slip.dbus
  File "/usr/lib/python3/dist-packages/slip/dbus/__init__.py", line 8, in <module>
    from . import service
  File "/usr/lib/python3/dist-packages/slip/dbus/service.py", line 30, in <module>
    from six import with_metaclass
ImportError: bad magic number in 'six': b'\x03\xf3\r\n'
I did read that version 1.8.2 of iptables in Debian 10 is bugged. It can be fixed by upgrading to 1.8.3 from buster-backports. However, when executing the same command on another machine which is running the same versions and cloned from the same VM it runs successfully. The only other change to the server experiencing the issue is that an additional network interface was added recently.

Any advice?

Post Reply