There should be several symlinks to make this work:

$ namei -l /sbin/iptables
f: /sbin/iptables
drwxr-xr-x root root /
lrwxrwxrwx root root sbin -> usr/sbin
drwxr-xr-x root root   usr
drwxr-xr-x root root   sbin
lrwxrwxrwx root root iptables -> /etc/alternatives/iptables
drwxr-xr-x root root   /
drwxr-xr-x root root   etc
drwxr-xr-x root root   alternatives
lrwxrwxrwx root root   iptables -> /usr/sbin/iptables-legacy
drwxr-xr-x root root     /
drwxr-xr-x root root     usr
drwxr-xr-x root root     sbin
lrwxrwxrwx root root     iptables-legacy -> xtables-legacy-multi
-rwxr-xr-x root root       xtables-legacy-multi

Are you missing any of the symlinks?

Thanks

** Information type changed from Private Security to Public Security

** Changed in: sshguard (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884848

Title:
  sshguard.service uses wrong path for iptables; nothing actually gets
  blocked

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshguard/+bug/1884848/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to