Package: chrony
Version: 3.3-2
Hi,
Why is the AppArmor profile put into complain mode? The preinst
has this:
case "$1" in
upgrade)
APP_PROFILE="usr.sbin.chronyd"
APP_CONFFILE="/etc/apparmor.d/$APP_PROFILE"
APP_COMPLAIN="/etc/apparmor.d/force-complain/$APP_PROFILE"
# force-complain on upgrade from pre-shipped profile
if dpkg --compare-versions "$2" lt "3.2-2" ; then
mkdir -p `dirname "$APP_COMPLAIN"` 2>/dev/null || true
ln -sf "$APP_CONFFILE" "$APP_COMPLAIN"
fi
;;
What pre-shipped profiles is this about? It seems to trigger for
every upgraded, and I don't understand why.
Kurt