[Solved]ufw stops running in antiX19 base-frugal

  • This topic has 1 reply, 1 voice, and was last updated Dec 3-6:29 am by Anonymous.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30104
    Anonymous

      Ufw used to run on boot before.The only change I made was updating kernel from 4.19.83 to 5.4. Installed 5.4 a week before when it is released by anti.Only now I noticed that ufw is not working and gufw does not start from control centre or from terminal.Note:/etc/rc.local is edited before by adding ‘ufw enable’ to enable ufw on boot.Thankyou.

      demo@antix1:~
      $ sudo ufw status
      ERROR: Couldn't stat '/etc/default/ufw'
      demo@antix1:~
      $ sudo ufw enable
      ERROR: Couldn't stat '/etc/default/ufw'
      demo@antix1:~
      $ sudo gufw
      
      (gufw.py:5858): dbind-WARNING **: 08:07:35.552: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
      Traceback (most recent call last):
        File "/usr/share/gufw/gufw/gufw.py", line 30, in <module>
          gufw = Gufw(controler.get_frontend())
        File "/usr/share/gufw/gufw/gufw/view/gufw.py", line 80, in __init__
          self._set_initial_values()
        File "/usr/share/gufw/gufw/gufw/view/gufw.py", line 223, in _set_initial_values
          self.incoming.set_active(self.POLICY2NUM[self.fw.get_policy('incoming')])
      KeyError: None
      demo@antix1:~
      #30111
      Anonymous
        Helpful
        Up
        0
        ::

        The problem happens to be with spacefm(?).It is showing two instances of file systems. In loop0: /live/linux/etc/default/ufw.(ufw file available)But in loop2:/etc/default no ufw file.So I copied ufw file from /live/linux/etc/default to /etc/default (i think im confusing) and now ufw and gufw are back to normal.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.