[Bug 981955] Re: lxc-execute without config does not seem to work in precise
Is lxc 0.8.0 going to be updated into Precise? This bug is pretty annoying; and while I appreciate there is a workaround, it seems adding an extra config entry to lxc-excute invocation just to avoid an apparmor failure is a bit much to ask of users. AfC -- 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
This bug was fixed in the package lxc - 0.7.5-3ubuntu53 --- lxc (0.7.5-3ubuntu53) precise-proposed; urgency=low * 0074-fix-sprintfs - check return values for all sprintfs and snprintfs which could overflow (LP: #988918) * 0075-execute-without-rootfs: let lxc-execute succeed with no rootfs (LP: #981955) -- Serge Hallyn serge.hal...@ubuntu.com Thu, 26 Apr 2012 10:52:47 -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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu1 --- lxc (0.8.0~rc1-4ubuntu1) quantal; urgency=low * Merge from unstable. Remaining changes: - control: - update maintainer - Build-Depends: add dh-apparmor and libapparmor-dev - lxc Depends: add bridge-utils, dnsmasq-base, iptables, rsync - lxc Recommends: add cgroup-lite | cgroup-bin, openssl - lxc Suggests: add btrfs-tools, lvm2, qemu-user-static - lxc Conflicts: remove (cgroup-bin) - Add lxc-start-ephemeral and lxc-wait to debian/local - apparmor: - add lxc.apparmor, lxc-containers.apparmor, lxc-default.apparmor, and new lxc.apparmor.in - add debian/lxc.conf (default container creation config file) - debian/lxc.install.in: * add lxc-start-ephemeral * add debian/lxc.conf * skip lxc-debconf* * skip lxc-ls (Use upstream's) - debian/lxc*.install.in: use '*', not @DEB_HOST_MULTIARCH@ - Use our own completely different lxc.postinst and lxc.postrm - remove lxc.templates - debian/rules: * add DEB_DH_INSTALLINIT_ARGS = --upstart-only * don't do debconf stuff * add debian/*.apparmor.in to files processed under override_dh_auto_clean * don't comment out ubuntu or busybox templates * do apparmor stuff and install our own lxc-wait under override_dh_install * install our upstart scripts in override_dh_installinit - add lxc.default, lxc.lxc-net.upstart, lxc.upstart under debian/ * patches kept: - 0013-lxc-create-use-default-config.patch (needed manual rebase) - 0030-ubuntu-template-fail.patch - 0031-ubuntu-template-resolvconf.patch - 0044-lxc-destroy-rm-autos - debian/patches/0045-fix-other-templates - debian/patches/0046-lxc-clone-change-hwaddr - debian/patches/0047-bindhome-check-shell - debian/patches/0049-ubuntu-template-sudo-and-cleanup - debian/patches/0050-clone-lvm-sizes - debian/patches/0052-ubuntu-bind-user-conflict - debian/patches/0053-lxc-start-pin-rootfs - debian/patches/0054-ubuntu-debug - debian/patches/0055-ubuntu-handle-badgrp - debian/patches/0056-dont-watch-utmp - debian/patches/0057-update-manpages - debian/patches/0058-fixup-ubuntu-cloud - debian/patches/0059-reenable-daily-cloudimg - debian/patches/0060-lxc-shutdown - debian/patches/0061-lxc-start-apparmor - debian/patches/0062-templates-relative-paths - debian/patches/0063-check-apparmor-enabled - debian/patches/0064-apparmor-mount-proc - debian/patches/0065-fix-bindhome-relpath - debian/patches/0066-confile-typo - debian/patches/0067-templates-lxc-profile - debian/patches/0068-fix-lxc-config-layout - debian/patches/0069-ubuntu-cloud-fix - debian/patches/0070-templates-rmdir-dev-shm - debian/patches/0071-ubuntu-cloud-fix-image-extraction - debian/patches/0072-lxc-shutdown-help - debian/patches/0073-lxc-destroy-waits-before-destroy - mark all patches which have been forwarded as such, refresh all * 0074-lxc-execute-find-init: lxc-init had moved. Introduce a function in lxc-execute to go find it. Otherwise lxc-execute for any older releases will fail. * 0075-lxc-ls-bash: lxc-ls needs bash, not sh * add debian/lxc.apparmor.in so DEB_HOST_MULTIARCH can be expanded * 0076-fix-sprintfs: - check return values for all sprintfs and snprintfs which could overflow (LP: #988918) * 0077-execute-without-rootfs: let lxc-execute succeed with no rootfs (LP: #981955) -- Serge Hallyn serge.hal...@ubuntu.com Thu, 26 Apr 2012 15:18:35 -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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
** 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
** 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lxc (Ubuntu Precise) 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
Hello Robert, or anyone else affected, Accepted lxc into precise-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 Precise) Status: Confirmed = 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
Fix verified, if my answer counts. -- 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
Works well here, thanks! -- 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
** 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
** Changed in: lxc (Ubuntu) Importance: Low = High ** Changed in: lxc (Ubuntu) Assignee: (unassigned) = Serge Hallyn (serge-hallyn) ** Changed in: lxc (Ubuntu) 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
** Also affects: lxc (Ubuntu Precise) Importance: Undecided Status: New ** Description changed: + == + SRU Justification: + Impact: application containers cannot be used without rootfs + Stable fix: will be same as development fix + Development fix: don't try to pin rootfs is rootfs is null, and don't try + to mount /proc if rootfs is null. + Test case: + cat lxc.conf EOF + lxc.aa_profile = unconfined + EOF + lxc-execute -n test -f lxc.conf /bin/bash + Regression potential: In normal containers, rootfs is not null, so these paths + should not be affected + == + per http://www.techrepublic.com/blog/opensource/introducing-linux- virtual-containers-with-lxc/1289 a minimal trival lxc should be doable as lxc-execute -n test /bin/bash but on my precise laptop this results in: sudo lxc-execute -n test /bin/bash lxc-execute: Invalid argument - failed to get real path for '(null)' lxc-execute: failed to pin the container's rootfs lxc-execute: failed to spawn 'test' lxc-execute: No such file or directory - failed to remove cgroup '/sys/fs/cgroup/cpuset//lxc/test' -- 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
Note, as per the test case in Description, you'll still need to use a lxc.conf containing 'lxc.aa_profile = unconfined' (or some other custom profile) to have permissions you need on the host. ** Changed in: lxc (Ubuntu Precise) Importance: Undecided = High -- 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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 981955] Re: lxc-execute without config does not seem to work in precise
Set priority to low as there is a workaround. -- 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+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