[Bug 986385] Re: lxc.mount.entry fails into mnt/subdir

2012-06-25 Thread Stéphane Graber
Confirmed to work fine here.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  lxc.mount.entry fails into mnt/subdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385/+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 986385] Re: lxc.mount.entry fails into mnt/subdir

2012-06-25 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-3ubuntu59

---
lxc (0.7.5-3ubuntu59) precise-proposed; urgency=low

  [ Serge Hallyn ]
  * 0085-pivot-dir: use a directory other than /mnt to put the pivot_root
old dir into (LP: #986385)
  * 0086-lxc-unshare-zero-args: fix lxc-unshare segfaulting when no command
is given (LP: #1011603)
  * 0087-lxc-ls-dash: fix lxc-ls for containers whose names start with a
dash  (LP: #1006332)
  * 0088-ubuntu-template-flock: don't fail when flock is busy, just wait,
so concurrent lxc-creates don't break.  (LP: #1007483)
  * debian/rules, debian/lxc.apport: install apport hook (LP: #1011644)

  [ Stéphane Graber ]
  * Ship /etc/dnsmasq.d/lxc to configure an eventual system wide
dnsmasq daemon not to listen on the LXC bridge interface. (LP: #928524)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 11 Jun 2012 19:56:30 -0500

** Changed in: lxc (Ubuntu Precise)
   Status: Fix Committed = 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/986385

Title:
  lxc.mount.entry fails into mnt/subdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385/+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 986385] Re: lxc.mount.entry fails into mnt/subdir

2012-06-14 Thread Brian Murray
Hello Serge, or anyone else affected,

Accepted lxc into precise-proposed. The package will build now and be
available in a few hours. Please help us by testing this new package.
See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.  If this package fixes the bug for you
please change the bug tag from verification-needed to verification-done.
If it does not, change the tag to verification-failed.  In either case
details of your testing will help us make a better decision.  Further
information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

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

** Tags added: verification-needed

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

Title:
  lxc.mount.entry fails into mnt/subdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385/+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 986385] Re: lxc.mount.entry fails into mnt/subdir

2012-06-14 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-proposed/lxc

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

Title:
  lxc.mount.entry fails into mnt/subdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385/+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 986385] Re: lxc.mount.entry fails into mnt/subdir

2012-06-11 Thread Serge Hallyn
** Also affects: lxc (Ubuntu Precise)
   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/986385

Title:
  lxc.mount.entry fails into mnt/subdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385/+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 986385] Re: lxc.mount.entry fails into mnt/subdir

2012-06-11 Thread Serge Hallyn
** Description changed:

+ === SRU Justification ===
+ Impact: containers configured to have host directories bind mounted under
+  subdirectories of /mnt will not see those mounts
+ Development fix: change the directory which lxc uses (in ubuntu templates)
+  for pivot_root from mnt to mnt.putold.
+ Stable fix: same as development fix.
+ Test case:
+  Create a container:
+   sudo apt-get -y install lxc
+   sudo lxc-create -t ubuntu -n p1
+  Create a bind mount under an /mnt subdir of the container:
+   sudo mkdir -b /var/lib/lxc/p1/rootfs/mnt/etc
+   cat  EOF | sudo tee -a /var/lib/lxc/p1/config
+   lxc.mount.entry = /etc mnt/etc none bind 0 0
+   EOF
+  Start the container, and look under /mnt
+   sudo lxc-start -n p1
+   #(log in as user ubuntu, password ubuntu, and do)
+   ls /mnt/etc
+ 
+ Regression potential: this simply uses an existing, working lxc configuration
+  variable to use a more sensible location for the pivot_root put_old 
directory.
+  There should be no regression.
+ =
+ 
  A lxc.mount.entry line like
  
  lxc.mount.entry = /var/lib mnt/series none bind 0 0
  
  fails to mount the host's /var/lib under the container's /mnt/series,
  while
  
  lxc.mount.entry = /var/lib mnt none bind 0 0
  
  works.

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

Title:
  lxc.mount.entry fails into mnt/subdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385/+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 986385] Re: lxc.mount.entry fails into mnt/subdir

2012-05-29 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu10

---
lxc (0.8.0~rc1-4ubuntu10) quantal; urgency=low

  [ Serge Hallyn ]
  * 0084-lxc-ubuntu-drop-duplicate-code.patch: drop some duplicate code from
the ubuntu template. (LP: #1004118)
  * 0085-pivot-dir: use a directory other than /mnt to put the pivot_root
old dir into (LP: #986385)

  [ Stéphane Graber ]
  * Ship /etc/dnsmasq.d/lxc to configure an eventual system wide
dnsmasq daemon not to listen on the LXC bridge interface. (LP: #928524)
  * Drop rm calls from postrm for apparmor rules, these were in the purge
target so didn't really serve any purpose.
 -- Stephane Graber stgra...@ubuntu.com   Tue, 29 May 2012 16:56:25 -0400

** Changed in: lxc (Ubuntu)
   Status: Triaged = 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/986385

Title:
  lxc.mount.entry fails into mnt/subdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385/+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 986385] Re: lxc.mount.entry fails into mnt/subdir

2012-04-22 Thread Serge Hallyn
The reason this happens is that by default 'mnt' is the directory used
as pivotdir, where the old_root is placed during pivot_root().  After
that, everything under pivotdir is unmounted.

A workaround is to specify an alternate 'lxc.pivotdir' in the container
configuration file.

The code should be changed to use a tempdir as pivotroot.  However, that
can wait for Q and an SRU, since there is a workaround

** Changed in: lxc (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: lxc (Ubuntu)
   Importance: Medium = Low

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

Title:
  lxc.mount.entry fails into mnt/subdir

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