Hi
I amended some dns setting in Networking Configuration (just added two hosts) and when I rebooted the server it would not start. Finally discovered via rescue mode and mounting the file structure so that I could access the site and webmin that firewalld has crashed. If I got to Linux Firewall it no longer tells me I am using firewalld but there are also no entries (and I do not know how to add them safely to open 22 and 10000. Advice on that would be a good startQ
The message I get from firewall-cmd --status is:
root@rescue-pro:/etc# firewall-cmd --state
Not using slip
Traceback (most recent call last):
- File “/usr/bin/firewall-cmd”, line 696, in *
- fw = FirewallClient()*
- File “”, line 2, in init*
- File “/usr/lib/python2.7/dist-packages/firewall/client.py”, line 52, in handle_exceptions*
- return func(*args, *kwargs)
- File “/usr/lib/python2.7/dist-packages/firewall/client.py”, line 1594, in init*
- self.bus = dbus.SystemBus()*
- File “/usr/lib/python2.7/dist-packages/dbus/_dbus.py”, line 194, in new*
- private=private)*
- File “/usr/lib/python2.7/dist-packages/dbus/_dbus.py”, line 100, in new*
- bus = BusConnection.new(subclass, bus_type, mainloop=mainloop)*
- File “/usr/lib/python2.7/dist-packages/dbus/bus.py”, line 122, in new*
- bus = cls._new_for_bus(address_or_type, mainloop=mainloop)*
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Google search gave me this:
Turns out it is an iptables bug in Debian 10.
Version 1.8.2 of iptables in Debian 10 is bugged. It can be fixed by upgrading to 1.8.3 from buster-backports.
Happy to upgrade firewalld but not sure how to add backports and do the upgrade.
Can someone guide me please?
Geoff