non-armhf logs this:
...
autopkgtest [18:31:57]: test simple-mysql: [-----------------------
Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile
Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode.
...
armhf logs this:
...
autopkgtest [18:12:54]: test simple-mysql: [-----------------------
Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile
ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined?
Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode.
Warning, failed to enforce apparmor profile.
On armhf and Ubuntu DEP8 infrastructure, this is not a fatal error.
See #2008393 for details.
...
I made some changes to make it fail if the apparmor profile cannot be enforced, if:
a) it's ubuntu
b) it's armhf
New run is green: autopkgtest. ubuntu. com/results/ autopkgtest- lunar-ahasenack -lunar- rsyslog- apparmor- armhf/? format= plain) 8.2302. 0-1ubuntu2~ ppa4 8.2302. 0-1ubuntu2~ ppa4 8.2302. 0-1ubuntu2~ ppa4
Results: (from http://
rsyslog @ amd64:
28.02.23 18:43:26 Log 🗒️ ✅ Triggers: rsyslog/
rsyslog @ arm64:
28.02.23 18:28:03 Log 🗒️ ✅ Triggers: rsyslog/
rsyslog @ armhf:
28.02.23 18:16:18 Log 🗒️ ✅ Triggers: rsyslog/
non-armhf logs this: ------- ------- --- d/usr.sbin. rsyslogd apparmor profile d/usr.sbin. rsyslogd to enforce mode.
...
autopkgtest [18:31:57]: test simple-mysql: [------
Enforcing the /etc/apparmor.
Setting /etc/apparmor.
...
armhf logs this: ------- ------- --- d/usr.sbin. rsyslogd apparmor profile
...
autopkgtest [18:12:54]: test simple-mysql: [------
Enforcing the /etc/apparmor.
ERROR: /sbin/apparmor_ parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined?
Setting /etc/apparmor. d/usr.sbin. rsyslogd to enforce mode.
Warning, failed to enforce apparmor profile.
On armhf and Ubuntu DEP8 infrastructure, this is not a fatal error.
See #2008393 for details.
...
Please take another look