FS#67467 - [lxd] Backport a upstream commit to allow running without AppArmor
Attached to Project:
Community Packages
Opened by Chih-Hsuan Yen (yan12125) - Sunday, 02 August 2020, 18:01 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 07 August 2020, 07:24 GMT
Opened by Chih-Hsuan Yen (yan12125) - Sunday, 02 August 2020, 18:01 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 07 August 2020, 07:24 GMT
|
Details
Description:
Since lxd 4.4, containers refuse to start if apparmor is not installed: 8月 03 01:27:26 PC951 lxd[2077263]: t=2020-08-03T01:27:26+0800 lvl=eror msg="The start hook failed" container=db err="Failed to run: apparmor_parser --version: " 8月 03 01:27:56 PC951 lxd[2077263]: t=2020-08-03T01:27:56+0800 lvl=eror msg="Failed starting container" action=start created=2020-03-12T15:46:34+0800 ephemeral=false name=db project=default stateful=false used=2020-07-29T00:50:04+0800 After patching the package with the upstream fix linked below, lxd-managed containers run fine. Additional info: Package version: community/lxd 4.4-1 Upstream fix: https://github.com/lxc/lxd/commit/e88d0ea6392fb059a31faedc47c0d3fd77b5deaa Steps to reproduce: 1. Make sure community/apparmor is not installed 2. Try to start containers with the latest lxd |
This task depends upon
Closed by Morten Linderud (Foxboron)
Friday, 07 August 2020, 07:24 GMT
Reason for closing: Fixed
Additional comments about closing: lxd 4.4-2
Friday, 07 August 2020, 07:24 GMT
Reason for closing: Fixed
Additional comments about closing: lxd 4.4-2
Sounds reasonable.