Skip to content

Commit

Permalink
Merge pull request #140 from mdegat01/aa-fix-ssl-compactor
Browse files Browse the repository at this point in the history
Needs access to ssl cnf file and files in /tmp
  • Loading branch information
mdegat01 authored Jan 10, 2022
2 parents f95f0f2 + 51be709 commit 6422590
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions loki/apparmor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ profile loki flags=(attach_disconnected,mediate_deleted) {
/dev/tty rw,
@{do_usr}/lib/locale/{,**} r,
@{do_etc}/ssl/openssl.cnf r,
@{do_etc}/ssl1.1/openssl.cnf r,
@{do_etc}/{group,hosts,passwd,resolv.conf} r,
/dev/null k,

Expand Down Expand Up @@ -86,6 +87,7 @@ profile loki flags=(attach_disconnected,mediate_deleted) {
/share/** r,

# Runtime usage
/tmp/marker-view-** rw,
/usr/bin/loki rm,
@{do_etc}/hosts r,
@{do_etc}/{nsswitch,resolv}.conf r,
Expand Down Expand Up @@ -127,5 +129,6 @@ profile loki flags=(attach_disconnected,mediate_deleted) {
/usr/sbin/nginx rm,
@{do_etc}/{group,passwd} r,
@{do_etc}/ssl/openssl.cnf r,
@{do_etc}/ssl1.1/openssl.cnf r,
}
}

0 comments on commit 6422590

Please sign in to comment.