gustavo-iniguez-goya / opensnitch

OpenSnitch is a GNU/Linux application firewall
GNU General Public License v3.0
394 stars 20 forks source link

opensnitchd fails to start, Error while creating queue #0: Error unbinding existing q handler from AF_INET protocol family: invalid argument #60

Closed BullShark closed 3 years ago

BullShark commented 4 years ago

Hello

Describe the bug The opensnitch daemon won't start.

To Reproduce Steps to reproduce the behavior:

  1. yay -S opensnitch-git
  2. systemctl start opensnitchd.service
  3. systemctl status opensnitchd.service
  4. journalctl -xe
  5. tail /var/log/opensnitchd.log
  6. See errors

OS (please complete the following information):

Additional context

The package I'm using comes from the AUR.

journalctl and systemctl: Sep 01 10:03:07 plasma systemd[1]: opensnitchd.service: Failed with result 'exit-code'. The unit opensnitchd.service has entered the 'failed' state with result 'exit-code'.

/var/log/opensnitchd.log: [2020-09-01 15:08:34] IMP Starting opensnitch-daemon v1.0.1 [2020-09-01 15:08:34] INF Loading rules from /etc/opensnitchd/rules ... [2020-09-01 15:08:34] WAR Is opnensitchd already running? [2020-09-01 15:08:34] !!! Error while creating queue #0: Error unbinding existing q handler from AF_INET protocol family: invalid argument

gustavo-iniguez-goya commented 4 years ago

Hi @BullShark ! thank you for reporting this error.

Could you launch the daemon with these parameters and see if it runs?

/usr/bin/opensnitchd -rules-path /etc/opensnitchd/rules/ -ui-socket unix:///tmp/osui.sock -queue-num 1 -debug

Also, paste the output of the following commands please:

sudo cat /proc/net/netfilter/nfnetlink_queue
sudo iptables -t mangle -L OUTPUT
gustavo-iniguez-goya commented 3 years ago

If you reproduce it with latest version v1.2.0 reopen the issue and provide the above information. Thank you!