container: don't load apparmor profile yet
This commit is contained in:
parent
a7e2db21bc
commit
d858682194
1 changed files with 4 additions and 0 deletions
|
|
@ -275,7 +275,11 @@ void LxcContainer::start(const Configuration &configuration) {
|
||||||
|
|
||||||
setup_network();
|
setup_network();
|
||||||
|
|
||||||
|
#if 0
|
||||||
set_config_item("lxc.apparmor.profile", "anbox-container");
|
set_config_item("lxc.apparmor.profile", "anbox-container");
|
||||||
|
#else
|
||||||
|
set_config_item("lxc.apparmor.profile", "unconfined");
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!privileged_)
|
if (!privileged_)
|
||||||
setup_id_map();
|
setup_id_map();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue