[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-15 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.9.0-0ubuntu3.4

---
lxc (0.9.0-0ubuntu3.4) raring-proposed; urgency=low

  * 0009-conf.c-if-we-don-t-specify-a-rootfs-we-still-need-pr.patch: if
apparmor is enabled and no rootfs was specified, then re-mount /proc
so that we can write the requested apparmor profile under /proc/1.
(LP: #1188501)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 01 Jul 2013 15:34:40 -0500

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

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-15 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.9.0-0ubuntu3.4

---
lxc (0.9.0-0ubuntu3.4) raring-proposed; urgency=low

  * 0009-conf.c-if-we-don-t-specify-a-rootfs-we-still-need-pr.patch: if
apparmor is enabled and no rootfs was specified, then re-mount /proc
so that we can write the requested apparmor profile under /proc/1.
(LP: #1188501)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 01 Jul 2013 15:34:40 -0500

** Changed in: lxc (Ubuntu Raring)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-05 Thread Colin Watson
Hello NeilGreenwood, or anyone else affected,

Accepted lxc into raring-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/lxc/0.9.0-0ubuntu3.4 in
a few hours, and then in the -proposed repository.

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 add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and 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 Raring)
   Status: In Progress = 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/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-05 Thread NeilGreenwood
neil@nbg-desktop:~$ apt-cache policy lxc
lxc:
  Installed: 0.9.0-0ubuntu3.3
  Candidate: 0.9.0-0ubuntu3.4
  Version table:
 0.9.0-0ubuntu3.4 0
500 http://gb.archive.ubuntu.com/ubuntu/ raring-proposed/universe amd64 
Packages
 *** 0.9.0-0ubuntu3.3 0
500 http://gb.archive.ubuntu.com/ubuntu/ raring-updates/universe amd64 
Packages
100 /var/lib/dpkg/status
 0.9.0-0ubuntu3 0
500 http://gb.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
neil@nbg-desktop:~$ sudo aptitude install lxc
The following packages will be upgraded: 
  liblxc0 lxc 
2 packages upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
Need to get 220 kB of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
 python3-lxc : Depends: liblxc0 (= 0.9.0-0ubuntu3.3) but 0.9.0-0ubuntu3.4 is to 
be installed.
The following actions will resolve these dependencies:

 Remove the following packages:
1) lxc 
2) lxc-templates   
3) python3-lxc 


Accept this solution? [Y/n/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/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-05 Thread NeilGreenwood
The following command has done the trick:
  sudo aptitude install lxc python3-lxc

I confirm that 0.9.0-0ubuntu3.4 has fixed the problem on raring.

** 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/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-05 Thread Colin Watson
Hello NeilGreenwood, or anyone else affected,

Accepted lxc into raring-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/lxc/0.9.0-0ubuntu3.4 in
a few hours, and then in the -proposed repository.

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 add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and 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 Raring)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-05 Thread NeilGreenwood
neil@nbg-desktop:~$ apt-cache policy lxc
lxc:
  Installed: 0.9.0-0ubuntu3.3
  Candidate: 0.9.0-0ubuntu3.4
  Version table:
 0.9.0-0ubuntu3.4 0
500 http://gb.archive.ubuntu.com/ubuntu/ raring-proposed/universe amd64 
Packages
 *** 0.9.0-0ubuntu3.3 0
500 http://gb.archive.ubuntu.com/ubuntu/ raring-updates/universe amd64 
Packages
100 /var/lib/dpkg/status
 0.9.0-0ubuntu3 0
500 http://gb.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
neil@nbg-desktop:~$ sudo aptitude install lxc
The following packages will be upgraded: 
  liblxc0 lxc 
2 packages upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
Need to get 220 kB of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
 python3-lxc : Depends: liblxc0 (= 0.9.0-0ubuntu3.3) but 0.9.0-0ubuntu3.4 is to 
be installed.
The following actions will resolve these dependencies:

 Remove the following packages:
1) lxc 
2) lxc-templates   
3) python3-lxc 


Accept this solution? [Y/n/q/?]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-05 Thread NeilGreenwood
The following command has done the trick:
  sudo aptitude install lxc python3-lxc

I confirm that 0.9.0-0ubuntu3.4 has fixed the problem on raring.

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-01 Thread Serge Hallyn
** Description changed:

+ 
+ Impact: cannot lxc-execute in a container without private rootfs
+ Development fix: mount /proc when no rootfs is specified
+ Stable fix: same as development fix
+ Test case:
+   sudo lxc-execute --name test /bin/bash
+   Without the fix, this will fail.  With the fix, it will
+   succeed.
+ Regression potential: This fix is cherrypicked from upstream, and
+   should not result in any regressions.  The function
+   being modified is a crucial one though.
+ 
+ 
  I get the following output when trying to start a container just running
  bash as an app:
  
  $ sudo lxc-execute --name test /bin/bash 
  lxc-execute: Permission denied - failed to change apparmor profile to 
lxc-container-default
  lxc-execute: invalid sequence number 1. expected 4
  lxc-execute: failed to spawn 'test'
  
  
  I'm attaching the contents of /var/log/lxc/test.log, which is the only log 
file I can see.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: lxc 0.9.0-0ubuntu3.2
  ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
  Uname: Linux 3.8.0-23-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  Date: Fri Jun  7 08:09:18 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2012-04-27 (405 days ago)
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  MarkForUpload: True
  SourcePackage: lxc
  UpgradeStatus: Upgraded to raring on 2013-04-26 (41 days ago)
  lxcsyslog:

** Changed in: lxc (Ubuntu Raring)
   Status: Confirmed = In Progress

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

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-07-01 Thread Serge Hallyn
** Description changed:

+ 
+ Impact: cannot lxc-execute in a container without private rootfs
+ Development fix: mount /proc when no rootfs is specified
+ Stable fix: same as development fix
+ Test case:
+   sudo lxc-execute --name test /bin/bash
+   Without the fix, this will fail.  With the fix, it will
+   succeed.
+ Regression potential: This fix is cherrypicked from upstream, and
+   should not result in any regressions.  The function
+   being modified is a crucial one though.
+ 
+ 
  I get the following output when trying to start a container just running
  bash as an app:
  
  $ sudo lxc-execute --name test /bin/bash 
  lxc-execute: Permission denied - failed to change apparmor profile to 
lxc-container-default
  lxc-execute: invalid sequence number 1. expected 4
  lxc-execute: failed to spawn 'test'
  
  
  I'm attaching the contents of /var/log/lxc/test.log, which is the only log 
file I can see.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: lxc 0.9.0-0ubuntu3.2
  ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
  Uname: Linux 3.8.0-23-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  Date: Fri Jun  7 08:09:18 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2012-04-27 (405 days ago)
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  MarkForUpload: True
  SourcePackage: lxc
  UpgradeStatus: Upgraded to raring on 2013-04-26 (41 days ago)
  lxcsyslog:

** Changed in: lxc (Ubuntu Raring)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-28 Thread NeilGreenwood
Is this going to be back-ported to raring?

If not, is there an alternative command I can use on the raring version
to do a similar thing to:

lxc-execute --name test /bin/bash

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

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-28 Thread NeilGreenwood
Sorry, I should have said: I confirm the fix works for me on saucy.

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

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-28 Thread Serge Hallyn
** Also affects: lxc (Ubuntu Raring)
   Importance: Undecided
   Status: New

** Changed in: lxc (Ubuntu Raring)
   Importance: Undecided = Medium

** Changed in: lxc (Ubuntu Raring)
   Status: New = 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/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-28 Thread NeilGreenwood
Is this going to be back-ported to raring?

If not, is there an alternative command I can use on the raring version
to do a similar thing to:

lxc-execute --name test /bin/bash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-28 Thread NeilGreenwood
Sorry, I should have said: I confirm the fix works for me on saucy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-28 Thread Serge Hallyn
** Also affects: lxc (Ubuntu Raring)
   Importance: Undecided
   Status: New

** Changed in: lxc (Ubuntu Raring)
   Importance: Undecided = Medium

** Changed in: lxc (Ubuntu Raring)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-10 Thread Yolanda Robla
** 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/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-10 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Status: New = 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/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-10 Thread Serge Hallyn
Thanks for reporting this bug.  Your example pointed me to the root of
the problem, which has been around for awhile.

This patch, plus upstream commit
fabf7361da4845cd6cf268e0e85c3c6a1c0b0be4 (from this morning), fixes the
bug for me.

** Patch added: 
0001-conf.c-if-we-don-t-specify-a-rootfs-we-still-need-pr.patch
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+attachment/3699842/+files/0001-conf.c-if-we-don-t-specify-a-rootfs-we-still-need-pr.patch

** Changed in: lxc (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) = Serge Hallyn (serge-hallyn)

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

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-10 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.9.0-0ubuntu14

---
lxc (0.9.0-0ubuntu14) saucy; urgency=low

  * 0009-conf.c-if-we-don-t-specify-a-rootfs-we-still-need-pr.patch: if
apparmor is enabled and no rootfs was specified, then re-mount /proc
so that we can write the requested apparmor profile under /proc/1.
(LP: #1188501)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 10 Jun 2013 09:27:32 -0500

** Changed in: lxc (Ubuntu)
   Status: In Progress = 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/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+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 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-10 Thread Yolanda Robla
** Changed in: lxc (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-10 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-10 Thread Serge Hallyn
Thanks for reporting this bug.  Your example pointed me to the root of
the problem, which has been around for awhile.

This patch, plus upstream commit
fabf7361da4845cd6cf268e0e85c3c6a1c0b0be4 (from this morning), fixes the
bug for me.

** Patch added: 
0001-conf.c-if-we-don-t-specify-a-rootfs-we-still-need-pr.patch
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+attachment/3699842/+files/0001-conf.c-if-we-don-t-specify-a-rootfs-we-still-need-pr.patch

** Changed in: lxc (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) = Serge Hallyn (serge-hallyn)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1188501] Re: lxc-execute fails to start container without rootfs

2013-06-10 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.9.0-0ubuntu14

---
lxc (0.9.0-0ubuntu14) saucy; urgency=low

  * 0009-conf.c-if-we-don-t-specify-a-rootfs-we-still-need-pr.patch: if
apparmor is enabled and no rootfs was specified, then re-mount /proc
so that we can write the requested apparmor profile under /proc/1.
(LP: #1188501)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 10 Jun 2013 09:27:32 -0500

** Changed in: lxc (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188501

Title:
  lxc-execute fails to start container without rootfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1188501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs