Fix Ubuntu AppArmor regression

Error: 
$ sudo fwknopd -f -c /etc/fwknop/fwknopd.conf 
Starting fwknopd
Added jump rule from chain: INPUT to chain: FWKNOP_INPUT
iptables 'comment' match is available
Sniffing interface: ppp0
[*] pcap_open_live() error: ppp0: You don't have permission to capture on that device (socket: Permission denied)

Syslog:

[...] kernel: [...] type=1400 audit([...]): apparmor="DENIED" operation="create" profile="/usr/sbin/fwknopd" pid=[...] comm="fwknopd" family="packet" sock_type="dgram" protocol=768
This commit is contained in:
alteman 2016-02-04 00:55:39 +03:00
parent 69070666a9
commit 4855202c98

View File

@ -12,6 +12,7 @@
network inet raw,
network packet raw,
network packet dgram,
/bin/dash rix,
/bin/bash rix,