Activity log for bug #2008393

Date Who What changed Old value New value Message
2023-02-23 20:16:47 Andreas Hasenack bug added bug
2023-02-23 20:19:49 Andreas Hasenack description The armhf DEP8 testers in Ubuntu infrastructure have some restrictions and cannot change an apparmor profile. This is causing the tests to fail, because they try to make sure rsyslog is being tested in enforced mode: Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode. ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined? The armhf DEP8 testers in Ubuntu infrastructure have some restrictions and cannot change an apparmor profile. This is causing the tests to fail, because they try to make sure rsyslog is being tested in enforced mode: Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode. ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined? The package migrated to lunar even with this error because it never had DEP8 tests before, and the armhf baseline was born in this error state.
2023-02-24 13:21:25 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ahasenack/ubuntu/+source/rsyslog/+git/rsyslog/+merge/437884
2023-02-28 17:05:05 Andreas Hasenack description The armhf DEP8 testers in Ubuntu infrastructure have some restrictions and cannot change an apparmor profile. This is causing the tests to fail, because they try to make sure rsyslog is being tested in enforced mode: Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode. ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined? The package migrated to lunar even with this error because it never had DEP8 tests before, and the armhf baseline was born in this error state. The armhf DEP8 testers in Ubuntu infrastructure have some restrictions and cannot change an apparmor profile. This is causing the tests to fail, because they try to make sure rsyslog is being tested in enforced mode: Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode. ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined? The package migrated to lunar even with this error because it never had DEP8 tests before, and the armhf baseline was born in this error state. These are the LXD settings used for armhf containers: https://git.launchpad.net/autopkgtest-cloud/tree/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/armhf-lxd.userdata#n76 I created an armhf container on a pi4 host (arm64) with these settings, but couldn't reproduce the issue there. There is something else going on in the autopkgtest infra regarding arhmf. FTR, I created the container like this: lxc launch ubuntu-daily:lunar pi4:l-armhf \ -c raw.lxc="apparmor.profile=unconfined" \ -c raw.lxc="seccomp.profile=" \ -c security.nesting=true
2023-02-28 17:10:23 Andreas Hasenack description The armhf DEP8 testers in Ubuntu infrastructure have some restrictions and cannot change an apparmor profile. This is causing the tests to fail, because they try to make sure rsyslog is being tested in enforced mode: Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode. ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined? The package migrated to lunar even with this error because it never had DEP8 tests before, and the armhf baseline was born in this error state. These are the LXD settings used for armhf containers: https://git.launchpad.net/autopkgtest-cloud/tree/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/armhf-lxd.userdata#n76 I created an armhf container on a pi4 host (arm64) with these settings, but couldn't reproduce the issue there. There is something else going on in the autopkgtest infra regarding arhmf. FTR, I created the container like this: lxc launch ubuntu-daily:lunar pi4:l-armhf \ -c raw.lxc="apparmor.profile=unconfined" \ -c raw.lxc="seccomp.profile=" \ -c security.nesting=true The armhf DEP8 testers in Ubuntu infrastructure have some restrictions and cannot change an apparmor profile. This is causing the tests to fail, because they try to make sure rsyslog is being tested in enforced mode: Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode. ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined? The package migrated to lunar even with this error because it never had DEP8 tests before, and the armhf baseline was born in this error state. These are the LXD settings used for armhf containers: https://git.launchpad.net/autopkgtest-cloud/tree/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/armhf-lxd.userdata#n76 I created an armhf container on a pi4 host (arm64) with these settings, but couldn't reproduce the issue there. There is something else going on in the autopkgtest infra regarding arhmf. FTR, I created the container like this: lxc launch ubuntu-daily:lunar pi4:l-armhf \ -c raw.lxc="apparmor.profile=unconfined" \ -c raw.lxc="seccomp.profile=" \ -c security.nesting=true EDIT: hm, the above actually doesn't work. Only the last raw.lxc value is used. See https://blog.simos.info/how-to-add-multi-line-raw-lxc-configuration-to-lxd/
2023-02-28 17:16:54 Andreas Hasenack description The armhf DEP8 testers in Ubuntu infrastructure have some restrictions and cannot change an apparmor profile. This is causing the tests to fail, because they try to make sure rsyslog is being tested in enforced mode: Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode. ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined? The package migrated to lunar even with this error because it never had DEP8 tests before, and the armhf baseline was born in this error state. These are the LXD settings used for armhf containers: https://git.launchpad.net/autopkgtest-cloud/tree/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/armhf-lxd.userdata#n76 I created an armhf container on a pi4 host (arm64) with these settings, but couldn't reproduce the issue there. There is something else going on in the autopkgtest infra regarding arhmf. FTR, I created the container like this: lxc launch ubuntu-daily:lunar pi4:l-armhf \ -c raw.lxc="apparmor.profile=unconfined" \ -c raw.lxc="seccomp.profile=" \ -c security.nesting=true EDIT: hm, the above actually doesn't work. Only the last raw.lxc value is used. See https://blog.simos.info/how-to-add-multi-line-raw-lxc-configuration-to-lxd/ The armhf DEP8 testers in Ubuntu infrastructure have some restrictions and cannot change an apparmor profile. This is causing the tests to fail, because they try to make sure rsyslog is being tested in enforced mode: Enforcing the /etc/apparmor.d/usr.sbin.rsyslogd apparmor profile Setting /etc/apparmor.d/usr.sbin.rsyslogd to enforce mode. ERROR: /sbin/apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined? The package migrated to lunar even with this error because it never had DEP8 tests before, and the armhf baseline was born in this error state. These are the LXD settings used for armhf containers: https://git.launchpad.net/autopkgtest-cloud/tree/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/armhf-lxd.userdata#n76 I created an armhf container on a pi4 host (arm64) with these settings, but couldn't reproduce the issue there. There is something else going on in the autopkgtest infra regarding arhmf. FTR, I created the container like this: lxc launch ubuntu-daily:lunar pi4:l-armhf \ -c raw.lxc="apparmor.profile=unconfined" \ -c raw.lxc="seccomp.profile=" \ -c security.nesting=true EDIT: hm, the above actually doesn't work. Only the last raw.lxc value is used. See https://blog.simos.info/how-to-add-multi-line-raw-lxc-configuration-to-lxd/ But still, apparmor works just fine. There is some other setup going on in the autopkgtest infrastructure.
2023-03-03 23:36:08 Launchpad Janitor rsyslog (Ubuntu): status In Progress Fix Released