# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# LOGPROF-SUGGEST: no

  abi <abi/4.0>,

  include <abstractions/consoles>
  include <abstractions/nameservice-strict>
  include <abstractions/perl>

  @{sh_path}       rix,
  @{bin}/locale     ix,
  @{bin}/whiptail   px,

  /usr/share/debconf/frontend rix,
  /usr/share/debconf/confmodule r,

  /etc/debconf.conf r,

        /var/ r,
        /var/cache/ r,
        /var/cache/debconf/ r,
  owner /var/cache/debconf/{config,passwords,templates}.dat{,-new,-old} rwk,

  include if exists <abstractions/common/debconf.d>

# vim:syntax=apparmor
