Description of problem: lxc is built without AppArmor support but /usr/share/lxc/config/nesting.conf contains the below line. Containers that include this file don't start. lxc.apparmor.profile = lxc-container-default-with-nesting Version-Release number of selected component (if applicable): lxc-templates-4.0.8-1.fc34 How reproducible: Create and start a container with nesting enabled. Steps to Reproduce: 1. Become root. 2. lxc-create -n mycontainer -t download -- -d fedora -r 34 -a amd64 3. sed -i '\|^#lxc.include = /usr/share/lxc/config/nesting.conf| s/^#//' /var/lib/lxc/mycontainer/config 4. lxc-start -n mycontainer -F Actual results: lxc-start: mycontainer: confile.c: set_config_apparmor_profile: 1463 Invalid argument - Built without AppArmor support lxc-start: mycontainer: parse.c: lxc_file_for_each_line_mmap: 131 Failed to parse config file "/usr/share/lxc/config/nesting.conf" at line "lxc.apparmor.profile = lxc-container-default-with-nesting" Expected results: The container starts up. Additional info: Nesting works if the lxc.apparmor.profile line is commented out in /usr/share/lxc/config/nesting.conf.
We could patch nesting.conf. On the other hand I think it would be nice if LXC simply ignored that config, hence I opened https://github.com/lxc/lxc/issues/3839.
FEDORA-2021-f97726e894 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f97726e894
FEDORA-2021-f7e9ea3ba9 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f7e9ea3ba9
FEDORA-2021-56e6155a0a has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-56e6155a0a
FEDORA-2021-56e6155a0a has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-56e6155a0a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-56e6155a0a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-f7e9ea3ba9 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f7e9ea3ba9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f7e9ea3ba9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-f97726e894 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f97726e894` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f97726e894 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-56e6155a0a has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-f7e9ea3ba9 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-f97726e894 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.