Fix in /etc/apparmor.d/usr.bin.tcpdump by adding /etc/libibverbs.d/:

profile tcpdump /usr/bin/tcpdump {
  ...
  /etc/libibverbs.d/ r,
  /etc/libibverbs.d/** r,
  ...
}

Then: sudo service apparmor restart

Note: The two lines in /etc/apparmor.d/usr.bin.tcpdump are sufficient to
get rid of the warning in a system without InfiniBand. Somebody with
InfiniBand hardware should test this, to make sure InfiniBand actually
works with tcpdump.

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

Title:
  Warning message "libibverbs: Warning: couldn't open config directory
  '/etc/libibverbs.d'" on startup

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


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

Reply via email to