Add function to configure AppArmor (needed to allow use of /etc/bind for zone files) (#6701) Closes #6071 See merge request !1582