[Bug 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-17 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Importance: Undecided = Medium

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1051080/+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 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-17 Thread Serge Hallyn
lxc isn't needed to reproduce this.  You can simply mount an overlayfs
with lowerdir set to an nfs mounted directory, then ls in the overlay
mount, and get an oops.

That was in precise.  I will try on a quantal host and, assuming it
reproduces, apport-collect from there.

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1051080/+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 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-17 Thread Serge Hallyn
This actually appears to be fixed in quantal.  marking as affecting
precise.

** Also affects: linux (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: lxc (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Quantal)
   Importance: Undecided
   Status: Incomplete

** Also affects: lxc (Ubuntu Quantal)
   Importance: Medium
   Status: New

** Changed in: linux (Ubuntu Precise)
   Status: New = Incomplete

** Changed in: linux (Ubuntu Quantal)
   Status: Incomplete = Fix Released

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1051080/+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 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-17 Thread Serge Hallyn
i couldn't run apport-collect since I didn't file the bug.  Here is the
dmesg output after reproducing this failure in precise.  Here were the
precise steps:

0. create user ubuntu2 on both 10.42.43.1 and 10.42.43.16.  .16 will be the 
client
1. sudo mount -t nfs 10.42.43.1:/home/ubuntu2 /home/ubuntu2  # mounted 
rw,no_root_squash,no_subtree_check
2. mkdir /tmp/a
3. sudo mount -t overlayfs -oupperdir=/tmp/a,lowerdir=/home/ubuntu2 none /mnt
4. ls /mnt

** Attachment added: d2
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1051080/+attachment/3320787/+files/d2

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1051080/+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 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-17 Thread Serge Hallyn
@Dan,

would you mind doing apport-collect 1051080 as requested above?

I do notice that even on quantal, where the kernel bug does not appear
to exist, lxc-start-ephemeral still fails with nfs-backed directories.
If you run into that, please submit a new bug against lxc for that
rather than re-using this one.

I will mark this particular bug as invalid against lxc, as this is a
kernel bug.

Thanks!

** Changed in: lxc (Ubuntu Precise)
   Status: New = Invalid

** Changed in: lxc (Ubuntu Quantal)
   Status: New = Invalid

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1051080/+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 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-17 Thread Dan Kegel
apport information

** Tags added: apport-collected precise

** Description changed:

  On Ubuntu 12.04.1, ephemeral containers seem to conflict with NFS home
  directories.
  
  The user's home directory is on a remote NFS server.
  The original container is created with 
sudo lxc-create -t ubuntu -n foobar -- -r lucid  --bindhome $LOGNAME
  The ephemeral container is started with
lxc-start-ephemeral -o foobar
  The user logs in to the ephemeral container.  This hangs.
  
  After that, any reference to the home directory -- inside or outside of
  the container -- seems to hang.
  
  mount in the container shows:
  
  none on / type overlayfs 
(rw,relatime,lowerdir=/var/lib/lxc/buildhost2-ubu10,upperdir=/tmp/lxc-lp-v92y7NU)
  none on /mnt/home/builder type overlayfs 
(rw,relatime,lowerdir=/mnt/home/builder,upperdir=/var/lib/lxc/buildhost2-ubu10-temp-loNNGB5/ephemeralbind/mnt/home/builder)
  
  mount outside the container shows:
  obnas1a:/vol/homes/builder 419430400 362328576  57101824  87% 
/mnt/home/builder
  But sometimes, mount outside the container shows nothing for 
/mnt/home/builder after the problem happens.
  
  This seems 100% repeatable.
+ --- 
+ AlsaDevices:
+  total 0
+  crw-rw---T 1 root audio 116,  1 Sep 14 15:17 seq
+  crw-rw---T 1 root audio 116, 33 Sep 14 15:17 timer
+ AplayDevices: aplay: device_list:252: no soundcards found...
+ ApportVersion: 2.0.1-0ubuntu13
+ Architecture: amd64
+ ArecordDevices: arecord: device_list:252: no soundcards found...
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
+ CRDA: Error: [Errno 2] No such file or directory
+ CurrentDmesg:
+  Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg 
-'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
+  dmesg: write failed: Broken pipe
+ DistroRelease: Ubuntu 12.04
+ InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120402)
+ Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize 
libusb: -99
+ MachineType: VMware, Inc. VMware Virtual Platform
+ NonfreeKernelModules: vmci
+ Package: linux (not installed)
+ PciMultimedia:
+  
+ ProcEnviron:
+  TERM=xterm
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+ ProcFB: 0 svgadrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-30-generic 
root=UUID=51e9e90f-c222-4072-892d-871faa221c9b ro quiet splash
+ ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
+ PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
+ RfKill:
+  
+ Tags:  precise
+ Uname: Linux 3.2.0-30-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups:
+  
+ WifiSyslog:
+  
+ dmi.bios.date: 01/07/2011
+ dmi.bios.vendor: Phoenix Technologies LTD
+ dmi.bios.version: 6.00
+ dmi.board.name: 440BX Desktop Reference Platform
+ dmi.board.vendor: Intel Corporation
+ dmi.board.version: None
+ dmi.chassis.asset.tag: No Asset Tag
+ dmi.chassis.type: 1
+ dmi.chassis.vendor: No Enclosure
+ dmi.chassis.version: N/A
+ dmi.modalias: 
dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd01/07/2011:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
+ dmi.product.name: VMware Virtual Platform
+ dmi.product.version: None
+ dmi.sys.vendor: VMware, Inc.

** Attachment added: AcpiTables.txt
   
https://bugs.launchpad.net/bugs/1051080/+attachment/3320835/+files/AcpiTables.txt

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1051080/+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 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-17 Thread Serge Hallyn
** Changed in: linux (Ubuntu Precise)
   Status: Incomplete = Confirmed

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1051080/+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 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-17 Thread Serge Hallyn
(Actually lxc-start-ephemeral with nfs-mounted homedir is completely
working for me in q)

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1051080/+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 1051080] Re: lxc-start-ephemeral hangs if bind mounting nfs homedir

2012-09-14 Thread Dan Kegel
** Package changed: ubuntu = lxc (Ubuntu)

-- 
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/1051080

Title:
  lxc-start-ephemeral hangs if bind mounting nfs homedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1051080/+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