Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-11-01 Thread Stéphane Graber
On Fri, Nov 01, 2013 at 12:19:11PM -0500, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > 14 15 0:13 / /proc/sys/fs/binfmt_misc rw,relatime shared:20 - autofs > > systemd-1 rw,fd=32,pgrp=1,timeout=300,minproto=5,maxproto=5,direct > > D'oh. D'oh. D'oh. > > I've been g

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-11-01 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > 14 15 0:13 / /proc/sys/fs/binfmt_misc rw,relatime shared:20 - autofs > systemd-1 rw,fd=32,pgrp=1,timeout=300,minproto=5,maxproto=5,direct D'oh. D'oh. D'oh. I've been going over detect_shared_rootfs() again and again, confirming that it should

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-19 Thread S . Çağlar Onur
I don't know whether it's a ubuntu bug or a feature but it looks like saucy version of busybox binary doesn't come with chpasswd enabled and that causes the failure in the first place. caglar@oOo:~/Projects/lxc(master)] /bin/busybox | grep chpasswd [caglar@oOo:~/Projects/lxc(master)] On Sat, Oc

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-19 Thread S . Çağlar Onur
Hi, On Sat, Oct 19, 2013 at 1:43 PM, S.Çağlar Onur wrote: > Hey, > > I upgraded my ubuntu box to saucy (using do-release-upgrade tool) minutes > ago and I realized that this very same problem starts to happen on my > system as well (using lxc@master). > > Never mind this as it turns out to be a

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-19 Thread S . Çağlar Onur
Hey, I upgraded my ubuntu box to saucy (using do-release-upgrade tool) minutes ago and I realized that this very same problem starts to happen on my system as well (using lxc@master). [caglar@oOo:~] lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 13.10 Rele

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-14 Thread Michael H. Warfield
On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > lxc-create -n Ubuntu-test -t ubuntu > > > > Bingo... > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > > (rw,relatime,seclabel,data=ordered) > > > > Why is lxc-create even creating that mount? I don't see any reason

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-14 Thread Michael H. Warfield
Hey Serge, Was out of town the last several days. Sorry about not getting back sooner. Just getting back to this now... Because my big server, Hydra, has a lot of running containers on it now, I switched testing over to another server, MtKing, that has no other containers on it so I had a clean

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Wed, 2013-10-09 at 10:10 -0500, Serge Hallyn wrote: > > Quoting Michael H. Warfield (m...@wittsend.com): > > > On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > > > > lxc-create -n Ubuntu-test -t ubuntu > > > > > > > > > > Bingo... >

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Michael H. Warfield
On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > lxc-create -n Ubuntu-test -t ubuntu > > > > Bingo... > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > > (rw,relatime,seclabel,data=ordered) > > > > Why is lxc-create even creating that mount? I don't see any reason

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Michael H. Warfield
On Wed, 2013-10-09 at 10:10 -0500, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > > > lxc-create -n Ubuntu-test -t ubuntu > > > > > > > > Bingo... > > > > > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/roo

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > > lxc-create -n Ubuntu-test -t ubuntu > > > > > > Bingo... > > > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > > > (rw,relatime,seclabel,data=ordered) > > > > > >

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Michael H. Warfield
On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > lxc-create -n Ubuntu-test -t ubuntu > > > > Bingo... > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > > (rw,relatime,seclabel,data=ordered) > > > > Why is lxc-create even creating that mount? I don't see any reason

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Serge Hallyn
> lxc-create -n Ubuntu-test -t ubuntu > > Bingo... > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > (rw,relatime,seclabel,data=ordered) > > Why is lxc-create even creating that mount? I don't see any reason for Check lxccontainer.c:785 and line 805. We call bdev_mount() in ca

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Michael H. Warfield
On Wed, 2013-10-09 at 09:19 -0500, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > Hey all, > > > > Since I'm working on testing a bunch of things, including the Fedora > > templates, I've been creating and destroying a LOT of containers. Every > > once in a while I ge

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > Hey all, > > Since I'm working on testing a bunch of things, including the Fedora > templates, I've been creating and destroying a LOT of containers. Every > once in a while I get a failure due to failure to mount on... What I > find are a large

[lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-08 Thread Michael H. Warfield
Hey all, Since I'm working on testing a bunch of things, including the Fedora templates, I've been creating and destroying a LOT of containers. Every once in a while I get a failure due to failure to mount on... What I find are a large number (half dozen or more) of dangling mounts like this: /