touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #64397
[Bug 1434737] Re: lxc-start failure on vivid
*** This bug is a duplicate of bug 1432683 ***
https://bugs.launchpad.net/bugs/1432683
Sorry for the mess - I was thinking this was the cgmangaer bug. yes,
this is due to not having cgroup-bin package installed
** Also affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Changed in: lxc (Ubuntu)
Status: New => Confirmed
** Changed in: lxc (Ubuntu)
Importance: Undecided => Critical
** Changed in: lxc (Ubuntu)
Assignee: (unassigned) => Serge Hallyn (serge-hallyn)
** Also affects: cgmanager (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- lxc-start failure on vivid
+ lxc-start failure (systemd vs cgmanager) on vivid
** Changed in: cgmanager (Ubuntu)
Status: New => Confirmed
** Changed in: cgmanager (Ubuntu)
Importance: Undecided => Critical
** Summary changed:
- lxc-start failure (systemd vs cgmanager) on vivid
+ lxc-start failure on vivid
** No longer affects: cgmanager (Ubuntu)
** Changed in: lxc (Ubuntu)
Assignee: Serge Hallyn (serge-hallyn) => recep (rbasak)
** This bug has been marked a duplicate of bug 1432683
apt-get install lxc doesn't load required apparmor profiles
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1434737
Title:
lxc-start failure on vivid
Status in lxc containers:
New
Status in lxc package in Ubuntu:
Confirmed
Bug description:
When I run the following (after populating the template directory with
2 files) it fails:
sudo lxc-start --daemon --name juju-vivid-lxc-template --logfile
/var/lib/juju/containers/juju-vivid-lxc-template/container.log
--logpriority WARN --console-log /var/lib/juju/containers/juju-vivid-
lxc-template/console.log
I'm trying to determine if this is an issue in juju or in lxc. The
two files are a cloud-init script and lxc.conf. The conf file
contains the following:
# network config
# interface "eth0"
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.mtu = 9001
After running the command I find a new container.log with a bunch of
logging and an empty console.log (also new). In the container.log
file everything looks fine until the following lines right after a
bunch of "cgroup" messages:
lxc-start 1426888101.167 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
lxc-start 1426888101.167 ERROR lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 4
lxc-start 1426888101.167 ERROR lxc_start - start.c:__lxc_start:1157 - failed to spawn 'juju-vivid-lxc-template'
This is followed by a bunch of other error messages, but I figured
this is the key bit. If necessary I can attach the whole log.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lxc/+bug/1434737/+subscriptions