Skip to content

Commit

Permalink
apparmor apt-news: distinguish xenial and bionic where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
panlinux committed Dec 31, 2023
1 parent dd24fd8 commit a6b0ce3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions debian/apparmor/ubuntu_pro_apt_news.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ profile ubuntu_pro_apt_news flags=(attach_disconnected) {
/usr/bin/@{multiarch}-ld.bfd rix,
/usr/lib/gcc/@{multiarch}/*/collect2 rix,
/usr/bin/@{multiarch}-objdump rix,

# for some reason, these are not needed in later ubuntu releases
{% endif %}
{% if ubuntu_codename in ["xenial"] %}
# for some reason, these were just needed in xenial
capability chown,
capability fowner,
capability dac_override,
Expand Down

0 comments on commit a6b0ce3

Please sign in to comment.