[Bug 879052] Re: user dir binding breaks on nonexistent user

2011-11-01 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-0ubuntu8.1

---
lxc (0.7.5-0ubuntu8.1) oneiric-proposed; urgency=low

  * debian/patches/0008-fix-bindhome-in-template.patch: fix a bug in the
ubuntu template:  if the user specified with -b does not exist, a bad
container fstab was created, so that, with no warning or indication of
why, the container failed to start.  (LP: #879052)
 -- Serge Hallyn serge.hal...@ubuntu.com   Thu, 20 Oct 2011 14:51:37 -0500

** Changed in: lxc (Ubuntu Oneiric)
   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/879052

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-28 Thread xlyz
tested and now works as expected.

if a non-existing user is used, the creation is aborted (with a
message). if the user exists, or no user is declared, container is
created as usual.

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

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-28 Thread Jean-Baptiste Lallement
** 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/879052

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-25 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/oneiric-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/879052

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-24 Thread Martin Pitt
Hello Serge, or anyone else affected,

Accepted lxc into oneiric-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: lxc (Ubuntu Oneiric)
   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/879052

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-20 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-0ubuntu9

---
lxc (0.7.5-0ubuntu9) precise; urgency=low

  * debian/patches/0008-fix-bindhome-in-template.patch: fix a bug in the
ubuntu template:  if the user specified with -b does not exist, a bad
container fstab was created, so that, with no warning or indication of
why, the container failed to start.  (LP: #879052)
 -- Serge Hallyn serge.hal...@ubuntu.com   Thu, 20 Oct 2011 14:51:37 -0500

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

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-20 Thread Stéphane Graber
** Also affects: lxc (Ubuntu Oneiric)
   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/879052

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-20 Thread Serge Hallyn
** Description changed:

  When creating a container with the '-b user' option to the ubuntu
  template, if 'user' does not exist, the resulting container will have a
  bad fstab causing the container to fail to start.  The last line in
  /var/lib/lxc/container/fstab then reads:
  
-  /var/lib/lxc/test2/rootfs/ none bind 0 0
+  /var/lib/lxc/test2/rootfs/ none bind 0 0
  
  the template should raise an error if 'user' does not exist.
+ 
+ ===
+ SRU Justification
+ 1. Impact: containers creation can appear to have succeeded, with only
+ an easy to miss warning that user binding failed.  But lxc-start will
+ fail due to a bad container fstab entry.
+ 2. Development fix: a small patch to the ubuntu template catches the
+ bad user name early on.
+ 3. Stable Fix: same as development fix.
+ 4. Test case:
+lxc-create -f /etc/lxc.conf -t ubuntu -n l1 -- -b xyz
+lxc-start -n l1
+ where xyz is not a valid user.  Creation will appear to succeed, but the
+ container will fail to start.
+ 5. Regression potential:
+If there is an error in the patch, it could cause problems with
+ubuntu container creations.
+ ===

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

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-20 Thread Serge Hallyn
Calling this low priority because there is an obvious workaround (don't
do that).

However since there is absolutely no hint for the casual user as to what
went wrong, I think it's important to get this SRUd anyway.

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

Title:
  user dir binding breaks on nonexistent user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052/+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 879052] Re: user dir binding breaks on nonexistent user

2011-10-20 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/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/879052

Title:
  user dir binding breaks on nonexistent user

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