[Bug 913877] Re: lxc-create fails: cp: will not create hard link...
This bug was fixed in the package lxc - 0.7.5-3ubuntu5 --- lxc (0.7.5-3ubuntu5) precise; urgency=low [ Robie Basak ] * debian/patches/0015-ubuntu-templ-use-updates.patch: use ports.ubuntu.com in sources.list for alternative architectures (LP: #820715). * debian/patches/0015-ubuntu-templ-use-updates.patch: dist-upgrade in an isolated environment to avoid leaving a bind mount behind (LP: #913877). * debian/lxc.{default,init}: call ifconfig with explicit netmask (LP: #913727). [ Serge Hallyn ] * debian/lxc.default: update the MIRROR example - using 'localhost' fails for updates after the container has been started. * debian/lxcguest.console.upstart: pass 'console' not '/dev/console' to getty. (LP: #913952) * debian/patches/0015-ubuntu-templ-use-updates.patch: at post_process(), copy host's /etc/resolv.conf (which may have changed) into chroot before apt-get actions, and always do a apt-get update before installing lxcguest, as the package version may have changed in the archive. (LP: #914155) * 0016-nested-cgroups.patch: nest container cgroups under the host's init cgroup. (LP: #901482) * 0017-pull-upstream-fedora-template.patch: move to the upstream lxc-fedora template (LP: #881903) * 0018-make-lxc-ps-search-proc.patch: work when cgroups are mounted with '-n'. * debian/patches/0019-fix-lxc-ls-nested-cgroups.patch: fix lxc-ls to handle the support for nested cgroups. (pull this into previous commit msg before pushing) -- Serge HallynTue, 10 Jan 2012 18:51:45 + ** 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/913877 Title: lxc-create fails: cp: will not create hard link... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/913877/+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 913877] Re: lxc-create fails: cp: will not create hard link...
** Branch linked: lp:~serge-hallyn/ubuntu/precise/lxc/rally-p-fixes -- 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/913877 Title: lxc-create fails: cp: will not create hard link... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/913877/+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 913877] Re: lxc-create fails: cp: will not create hard link...
A simple but ugly way we could work around this would be to do the apt- get dist-upgrade inside a private mounts namespace (using lxc-unshare -s MOUNT -- chroot "$1/partial-${arch}" apt-get dist-upgrade -y) -- 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/913877 Title: lxc-create fails: cp: will not create hard link... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/913877/+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 913877] Re: lxc-create fails: cp: will not create hard link...
Turns out it's not debootstrap. It's the subsequent apt-get dist- upgrade with oneiric-updates and oneiric-security added to /etc/apt/sources.list that's leaving the mount behind. ** Changed in: debootstrap (Ubuntu) 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/913877 Title: lxc-create fails: cp: will not create hard link... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/913877/+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 913877] Re: lxc-create fails: cp: will not create hard link...
It looks like debootstrap is leaving bind mounts around. ** Also affects: debootstrap (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/913877 Title: lxc-create fails: cp: will not create hard link... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/913877/+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 913877] Re: lxc-create fails: cp: will not create hard link...
-- 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/913877 Title: lxc-create fails: cp: will not create hard link... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/913877/+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