2015-03-16 15:05:29 |
Oleg Strikov |
bug |
|
|
added bug |
2015-03-16 15:05:41 |
Oleg Strikov |
description |
I'm trying to use LXC on my openstack instance which runs vivid daily:
$ sudo apt-get install lxc -y
$ sudo lxc-create -t ubuntu-cloud --name=vivid -- --flush-cache --stream=daily --release=vivid
$ sudo lxc-start --name vivid --logfile=lxc.log
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 346 To get more details, run the container in foreground mode.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
In the log file (lxc.log) I observe the following error:
lxc-start 1426516387.814 ERROR lxc_apparmor - lsm/apparmor.c:apparmor_process_label_set:183 - No such file or directory - failed to change apparmor profile to lxc-container-default
This profile *exists* under /etc/apparmor.d/lxc/lxc-default but was not loaded appropriately.
This issue disappears if I:
(a) reload apparmor profile manually: sudo /etc/init.d/apparmor reload
or
(b) reboot the instance
I'd expert that 'apt-get install lxc' has to load all appropriate apparmor profiles to allow starting containers w/o profile reloading / rebooting. |
I'm trying to use LXC on my openstack instance which runs vivid daily:
$ sudo apt-get install lxc -y
$ sudo lxc-create -t ubuntu-cloud --name=vivid -- --flush-cache --stream=daily --release=vivid
$ sudo lxc-start --name vivid --logfile=lxc.log
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 346 To get more details, run the container in foreground mode.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
In the log file (lxc.log) I observe the following error:
lxc-start 1426516387.814 ERROR lxc_apparmor - lsm/apparmor.c:apparmor_process_label_set:183 - No such file or directory - failed to change apparmor profile to lxc-container-default
This profile *exists* under /etc/apparmor.d/lxc/lxc-default but was not loaded appropriately.
This issue disappears if I:
(a) reload apparmor profile manually: sudo /etc/init.d/apparmor reload
or
(b) reboot the instance
I'd expect that 'apt-get install lxc' has to load all appropriate apparmor profiles to allow starting containers w/o profile reloading / rebooting. |
|
2015-03-16 19:25:15 |
Serge Hallyn |
lxc (Ubuntu): status |
New |
Incomplete |
|
2015-03-18 02:54:02 |
Serge Hallyn |
lxc (Ubuntu): status |
Incomplete |
Triaged |
|
2015-03-18 02:54:07 |
Serge Hallyn |
lxc (Ubuntu): importance |
Undecided |
Critical |
|
2015-03-27 00:30:28 |
Serge Hallyn |
bug task added |
|
upstart (Ubuntu) |
|
2015-03-27 00:30:39 |
Serge Hallyn |
bug task added |
|
apparmor (Ubuntu) |
|
2015-03-27 00:30:48 |
Serge Hallyn |
bug task added |
|
init-system-helpers (Ubuntu) |
|
2015-03-27 00:40:05 |
Serge Hallyn |
apparmor (Ubuntu): importance |
Undecided |
Critical |
|
2015-03-27 00:40:09 |
Serge Hallyn |
init-system-helpers (Ubuntu): importance |
Undecided |
Critical |
|
2015-03-27 00:40:13 |
Serge Hallyn |
upstart (Ubuntu): importance |
Undecided |
Critical |
|
2015-03-27 01:58:19 |
Serge Hallyn |
bug task added |
|
squid3 (Ubuntu) |
|
2015-03-30 17:20:13 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/apparmor |
|
2015-03-30 22:11:35 |
Launchpad Janitor |
apparmor (Ubuntu): status |
New |
Fix Released |
|
2015-04-02 19:03:56 |
Serge Hallyn |
lxc (Ubuntu): status |
Triaged |
Fix Released |
|
2015-04-02 19:52:08 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/init-system-helpers |
|
2015-04-02 19:55:35 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/squid3 |
|
2015-04-03 02:02:13 |
Launchpad Janitor |
init-system-helpers (Ubuntu): status |
New |
Fix Released |
|
2015-04-03 02:07:13 |
Launchpad Janitor |
upstart (Ubuntu): status |
New |
Fix Released |
|
2015-04-03 02:28:07 |
Launchpad Janitor |
squid3 (Ubuntu): status |
New |
Fix Released |
|
2015-05-07 11:22:24 |
Martin Pitt |
upstart (Ubuntu): status |
Fix Released |
Triaged |
|
2015-05-07 11:31:13 |
Martin Pitt |
lxc (Ubuntu): importance |
Critical |
Medium |
|
2015-05-07 11:31:13 |
Martin Pitt |
lxc (Ubuntu): status |
Fix Released |
Triaged |
|
2015-05-07 11:41:23 |
Martin Pitt |
init-system-helpers (Ubuntu): status |
Fix Released |
Triaged |
|
2015-05-07 11:41:28 |
Martin Pitt |
init-system-helpers (Ubuntu): assignee |
|
Martin Pitt (pitti) |
|
2015-05-07 11:41:30 |
Martin Pitt |
init-system-helpers (Ubuntu): importance |
Critical |
Medium |
|
2015-05-07 11:41:35 |
Martin Pitt |
lxc (Ubuntu): status |
Triaged |
In Progress |
|
2015-05-07 11:41:37 |
Martin Pitt |
lxc (Ubuntu): assignee |
|
Martin Pitt (pitti) |
|
2015-05-07 14:38:46 |
Martin Pitt |
lxc (Ubuntu): status |
In Progress |
Fix Committed |
|
2015-10-05 11:10:56 |
Martin Pitt |
lxc (Ubuntu): status |
Fix Committed |
Fix Released |
|
2015-10-26 07:59:59 |
Martin Pitt |
upstart (Ubuntu): importance |
Critical |
Medium |
|
2015-10-26 07:59:59 |
Martin Pitt |
upstart (Ubuntu): status |
Triaged |
In Progress |
|
2015-10-26 07:59:59 |
Martin Pitt |
upstart (Ubuntu): assignee |
|
Martin Pitt (pitti) |
|
2015-10-26 08:02:48 |
Martin Pitt |
init-system-helpers (Ubuntu): status |
Triaged |
In Progress |
|
2015-10-26 13:54:34 |
Launchpad Janitor |
init-system-helpers (Ubuntu): status |
In Progress |
Fix Released |
|
2015-10-26 13:54:42 |
Launchpad Janitor |
upstart (Ubuntu): status |
In Progress |
Fix Released |
|
2016-02-03 14:00:41 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-core-dev/upstart/ubuntu |
|
2016-04-29 21:24:18 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/upstart |
|