In qubes 4.1, should apparmor be automatically enabled after setting it in the minimal template?
Here is my list of packages in a minimal template:
qubes-core-agent-passwordless-root
zenity
pulseaudio-qubes
qubes-core-agent-networking
qubes-mgmt-salt-vm-connector
qubes-core-agent-nautilus
gnome-terminal
nautilus
gnome-themes-extra
htop
xfce4-notifyd
mousepad
apparmor
apparmor-utils
apparmor-profiles
apparmor-profiles-extra
apparmor-notify
auditd
audispd-plugins
After reboot I check aa-status | cat /proc/cmdline:
~ aa-status
apparmor module is loaded.
apparmor filesystem is not mounted.
~ cat /proc/cmdline
root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 xen_scrub_pages=0
Everything works in the main Debian 11 template and checking cat /proc/cmdline sets apparmor=1 security=apparmor:
~ cat /proc/cmdline
root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 xen_scrub_pages=0 apparmor=1 security=apparmor
Should I manually install kernelopts?
As far as I remember, on my second machine, after installing apparmor in the minimal template, it immediately worked without the need to install kernelopts.