[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-29 Thread Serge Hallyn
Assuming this is running upstart (as it looks like), try adding the
debug and verbose flags as shown in the upstart cookbook?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-23 Thread Ondrej Kubik
Finally some time to check more.
Using new  /etc/init/lxc-android-config.conf from Stephane 
http://paste.ubuntu.com/15264484/

When running manually $ lxc-start -n android -F -- /init
I can see init process be created, but then it exits. Also there are no logs in 
syslog or /proc/kmesg
So looks like init is super unhappy inside the container and does not do much.

But because it actually tries to run, following passes fine
lxc-wait -n android -s RUNNING -t 30
containerpid="$(lxc-info -n android -p -H)"
if [ -n "$containerpid" ]; then

and tries to continue with boot, while container actually fails to boot.
Is there way we can get more logs from running container, I tried this:
lxc-start -l 0 -n android -F -- /init
rm: cannot remove '/var/lib/lxc/android/rootfs/sbin/adbd': No such file or 
directory
run-parts: /var/lib/lxc/android/pre-start.d/10-no-adbd exited with return code 1
sed: can't read /var/lib/lxc/android/rootfs/init.manta.usb.rc: No such file or 
directory
cp: cannot stat '/var/lib/lxc/android/overrides/*': No such file or directory
mkfifo: cannot create fifo '/dev/socket/micshm': File exists

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-20 Thread kevin gunn
** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) => Ondrej Kubik (w-ondra)

** Changed in: canonical-devices-system-image
 Assignee: Ondrej Kubik (w-ondra) => John McAleely (john.mcaleely)

** Changed in: lxc (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-19 Thread John McAleely
** Changed in: canonical-devices-system-image
Milestone: ww08-2016 => backlog

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Stéphane Graber
Update init script is: http://paste.ubuntu.com/15264484/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Stéphane Graber
That part of the init script looks just plain wrong to me... I'm
guessing the intent was for /dev/cpuctl to be a bind-mount of
/sys/fs/cgroup but that's not at all what the code does.

I'll update my local copy here to replace that by a simple symlink from
/dev/cpuctl to /sys/fs/cgroup/cpu

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Ondrej Kubik
missing android signal was caused by double mounting of cgroup cpu,
which was already mounted. Fixing that did take boot further, now
lightdm becomes alive, still boot fails, and kills adb in the process...

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Stéphane Graber
I have a debdiff ready to upload for the changes so far but will wait
until we figure out the rest of this issue.

Serge Hallyn is also working on a cgroup-lite changes to get us rid of
most of that diff too.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Ondrej Kubik
more debugging and android signal is still not emitted, though android init 
process is running
Will keep debugging to get closer to the issue
we are progressing

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Ondrej Kubik
lxc-container is now running, system still does not boot, but container is no 
more issue
needed changes:
install 
https://launchpad.net/ubuntu/+source/cgroup-lite/1.10/+build/6001591/+files/cgroup-lite_1.10_all.deb
and modify /etc/init/lxc-android-config.conf to this:
http://paste.ubuntu.com/15261714/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Ondrej Kubik
update from running system:
$  cat /proc/cgroups 
#subsys_namehierarchy   num_cgroups enabled
debug   3   1   1
cpu 1   1   1
cpuacct 2   1   1
freezer 4   1   1

$ cat /proc/self/cgroup 
5:name=systemd:/
4:freezer:/
3:debug:/
2:cpuacct:/
1:cpu:/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Stéphane Graber
That is very weird, the cgroup-lite upstart job should result in your
case in 4 cgroup mounts, so I'm not sure why it's not happening here...

Could you run "bash -x /bin/cgroups-mount" as root and post its output
including a dump of /proc/self/mountinfo before and after running it?
that should help us figure out why exactly it didn't feel like mounting
those cgroups...

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Jean-Baptiste Lallement
/proc/cgroups 
#subsys_namehierarchy   num_cgroups enabled
debug   0   1   1
cpu 0   1   1
cpuacct 0   1   1
freezer 0   1   1

/proc/self/cgroup is empty

There is no /var/log/upstart/cgroup-lite.log file and I verified that
the upstart job cgroup-lite starts.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Jean-Baptiste Lallement
And the content of fstab
/system/etc # cat fstab 
# override the forced fsck from /lib/init/fstab, we use a bindmount which 
confuses mountall
/dev/root   /   rootfs  defaults0   0

# swap file
/SWAP.swap  noneswapsw  0   0

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-03-01 Thread Jean-Baptiste Lallement
** Changed in: canonical-devices-system-image
 Assignee: (unassigned) => Ondrej Kubik (w-ondra)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Stéphane Graber
So far that does seem to confirm the hypothesis that since the phone has
systemd installed (but unused), this meets lxc's dependency on systemd |
cgroup-lite but as upstart is used to boot and upstart itself doesn't
mount the cgroup controllers, this results in a system without cgroups
mounted.

Having whatever package sets up the android container depend directly on
cgroup-lite would fix that dependency issue, though from the logs
provided so far, it looks like cgroup-lite is either not starting or is
failing.


I'm keeping the LXC task open for now, but there's so far been no indication of 
an actual bug in LXC or in its packaging, instead the phone seed is doing 
something that's not seen anywhere else (depend on systemd but not use it) 
which we can't do anything about from a packaging point of view. The rest of 
the issue appears to be some bad interaction between cgroup-lite and the init 
configuration on the Ubuntu phone.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Stéphane Graber
Some more information on cgroup-lite and where it may fail.

 - cgroup lite is triggered on "mounted MOUNTPOINT=/sys/fs/cgroup" => the path 
is shown as mountend above, so not it
 - The job then gets skipped if /bin/cgroups-mount doesn't exist => part of the 
cgroup-lite package, so not it
 - The job then gets skipped if /sys/fs/cgroup doesn't exist => was shown as 
mounted above, so not it
 - cgroup-lite exits if a cgroup entry is found in /etc/fstab
 - cgroup-lite exits if /proc/cgroups doesn't exist => all Ubuntu kernels have 
it, so not it

So the most likely reason I believe would be a "cgroup" entry of some
sort in /etc/fstab, the second most likely reason would be a failure for
the "mounted MOUNTPOINT=/sys/fs/cgroup" to be emitted by upstart
somehow.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Stéphane Graber
That mountinfo shows no mounted cgroup controller, hinting that cgroup-
lite didn't start or otherwise failed to start.

Could you look for a /var/log/upstart/cgroup-lite.log file?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Serge Hallyn
Hi,

sorry, mountinfo does not show the hierarchies.  Can you show
/proc/cgroups  and /proc/self/cgroup output?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Jean-Baptiste Lallement
android container log with cgroup-lite installed and content of
mountinfo from the same boot.

** Attachment added: "mountinfo.out"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+attachment/4584668/+files/mountinfo.out

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Jean-Baptiste Lallement
And syslog

** Attachment added: "syslog"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+attachment/4584669/+files/syslog

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Jean-Baptiste Lallement
The phone uses upstart. I'll try to get the content of mountinfo

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Stéphane Graber
Do you know if the phone actually uses systemd as its init system
nowadays?

LXC requires either systemd or cgroup-lite to mount all the cgroup bits
properly, if systemd is installed but not used, that could explain what
you are seeing. Installing cgroup-lite should have fixed it though,
unless the container is started before cgroup-lite is done. That's not
possible with the regular lxc init script, but if the phone has
something custom, it could be possible.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Stéphane Graber
We're gonna need a /proc/self/mountinfo output if we want to figure out
what the controller #7 is on your system...

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Jean-Baptiste Lallement
With cgroup-lite install the error message is different:
  lxc-start 20160229153538.890 ERRORlxc_cgfs - cgfs.c:cgfs_init:2300 - 
cgroupfs failed to detect cgroup metadata
  lxc-start 20160229153538.890 ERRORlxc_start - start.c:lxc_spawn:1026 
- failed initializing cgroup support
  lxc-start 20160229153538.891 ERRORlxc_start - 
start.c:__lxc_start:1276 - failed to spawn 'android'
  lxc-start 20160229153538.891 ERRORlxc_start_ui - lxc_start.c:main:344 
- The container failed to start.
  lxc-start 20160229153538.891 ERRORlxc_start_ui - lxc_start.c:main:348 
- Additional information can be obtained by setting the --logfile and 
--logpriority options.
  lxc-start 20160229160049.670 ERRORlxc_cgfs - 
cgfs.c:lxc_cgroupfs_create:874 - Could not find writable mount point for cgroup 
hierarchy 7 while trying to create cgroup.
  lxc-start 20160229160049.671 ERRORlxc_cgfs - cgfs.c:cgroup_rmdir:208 
- Device or resource busy - cgroup_rmdir: failed to delete 
/sys/fs/cgroup/freezer/
  lxc-start 20160229160049.672 ERRORlxc_cgfs - cgfs.c:cgroup_rmdir:208 
- Device or resource busy - cgroup_rmdir: failed to delete 
/sys/fs/cgroup/cpuacct/
  lxc-start 20160229160049.672 ERRORlxc_cgfs - cgfs.c:cgroup_rmdir:208 
- Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/cpu/
  lxc-start 20160229160049.672 ERRORlxc_cgfs - cgfs.c:cgroup_rmdir:208 
- Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/debug/
  lxc-start 20160229160049.672 ERRORlxc_start - start.c:lxc_spawn:1033 
- failed creating cgroups
  lxc-start 20160229160049.673 ERRORlxc_start - 
start.c:__lxc_start:1276 - failed to spawn 'android'
  lxc-start 20160229160049.673 ERRORlxc_start_ui - lxc_start.c:main:344 
- The container failed to start.
  lxc-start 20160229160049.673 ERRORlxc_start_ui - lxc_start.c:main:348 
- Additional information can be obtained by setting the --logfile and 
--logpriority options.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Jean-Baptiste Lallement
I installed cgroup-lite 1.10 but it still doesn't boot.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Jean-Baptiste Lallement
cgroup-lite is not installed:
un  cgroup-lite   
ii  systemd:armhf 229-1ubuntu4

I cannot paste the content of /proc/mounts because I only have adb in
recovery (the devices fails before adb starts otherwise)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1551150] Re: devel-proposed - android lxc container fails to start

2016-02-29 Thread Stéphane Graber
Can you paste the content of /proc/mounts on such a system and confirm that 
either one of those is true:
 - systemd is installed and used as init system
 - cgroup-lite is installed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs