From fb92aa571691afed4b19f1678dd51b6fa3363210 Mon Sep 17 00:00:00 2001 From: nobody43 Date: Mon, 3 Apr 2023 01:47:26 +0000 Subject: [PATCH] fixes --- apparmor.d/groups/apps/calibre | 5 ++--- dists/flags/main.flags | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apparmor.d/groups/apps/calibre b/apparmor.d/groups/apps/calibre index 4487594e..b9998622 100644 --- a/apparmor.d/groups/apps/calibre +++ b/apparmor.d/groups/apps/calibre @@ -39,10 +39,9 @@ profile calibre @{exec_path} { capability sys_ptrace, + network inet, + network inet6, network netlink raw, - # also denies network mounts - deny network inet, - deny network inet6, unix (send, receive) type=stream peer=(addr=none, label=xorg), unix (bind, listen) type=stream addr="@*-calibre-gui.socket", diff --git a/dists/flags/main.flags b/dists/flags/main.flags index fdf81ee3..54e84bbf 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -5,6 +5,7 @@ acpid attach_disconnected,complain agetty complain anacron complain atd complain +atril-previewer complain auditctl complain auditd attach_disconnected,complain augenrules complain @@ -54,6 +55,8 @@ downloadhelper complain e2fsck complain etckeeper complain evince complain +evince-previewer complain +evince-thumbnailer complain fail2ban-client attach_disconnected,complain fail2ban-server attach_disconnected,complain fdisk complain