Got fixed in lxc
** Changed in: linux (Ubuntu Quantal)
Status: Confirmed = Invalid
** Changed in: linux (Ubuntu Precise)
Status: New = Invalid
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
This bug was fixed in the package lxc - 0.7.5-3ubuntu63
---
lxc (0.7.5-3ubuntu63) precise-proposed; urgency=low
* lxc.lxc-net.upstart: replace the check for USE_LXC_BRIDGE (which could be
changed from true to false after starting lxc-net) with one for the
existence
** Branch linked: lp:ubuntu/precise-updates/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/959352
Title:
Ephemeral containers have /rootfs prefix in /proc/self/maps entries
To
With 0.7.5-3ubuntu63 I can no longer reproduce the bad behavior and an
strace of an affected binary shows correct paths being used.
This looks fixed to me.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
Based on Benji's comment, marking verification-done.
** 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/959352
Title:
On Wed, Sep 12, 2012 at 7:54 PM, Stéphane Graber stgra...@stgraber.org wrote:
Based on Benji's comment, marking verification-done.
Thank you. I forgot to do that.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
Hello Benji, or anyone else affected,
Accepted lxc into precise-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/lxc/0.7.5-3ubuntu63 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
** 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/959352
Title:
Ephemeral containers have /rootfs prefix in /proc/self/maps entries
To manage
Based on the overlayfs maintainer Miklos Szeredi's email [1], I think
probably this issue won't be fixed in overlayfs very recently. So I
agree to add this workaround in lxc-start-ephemeral. Please find my
patch attached for review. it is against to latest lxc-start-ephemeral
in Quantal.
[1]:
@Serge -- i am not familiar with how the chroot is made, but given the
full directory is not included only the rootfs component we might be
able to change where the union is mounted, to avoid this if its really
life ending.
--
You received this bug notification because you are a member of Ubuntu
Ok, trying to work around this by changing how the ephemeral container
is set up.
** 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.
The following actually seems to work. Instead of using an overlayfs for
all of /var/lib/lxc/q1-tmp-X, it only uses the overlayfs mount for
/var/lib/lxc/q1-tmp-XX/rootfs. That way, as per Miklos' comment,
/proc/self/fd and /proc/self/maps contents are resolved relative to the
overlayfs
Here is a version which properly cleans up.
** Patch added: lxc-maps2.debdiff
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/959352/+attachment/3260677/+files/lxc-maps2.debdiff
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to
** Also affects: linux (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: lxc (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Quantal)
Importance: Medium
Assignee: Bryan Wu (cooloney)
Status: Confirmed
** Also
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu24
---
lxc (0.8.0~rc1-4ubuntu24) quantal; urgency=low
* lxc-start-ephemeral: use unionfs only for the rootfs itself
(LP: #959352)
* allow config files to include other config files.
-- Serge Hallyn
** Description changed:
- Ephemeral containers (but not non-ephemeral ones) have all of their
- /proc/*/maps entries prefixed with /rootfs. One problem this causes
- is that graphviz uses /proc/self/maps to locate its plugins. That means
- that some of the plugins can not be loaded.
+
** Changed in: lxc (Ubuntu Precise)
Status: Triaged = 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/959352
Title:
Ephemeral containers have /rootfs prefix in
I tried doing 'ln -s . rootfs' in container q1, then did lxc-start-
ephemeral -o q1, logged in, and checked /proc/self/maps. It still
listed /rootfs/. Of course the paths will now resolve. I'm not sure
that suffices. If it does, we could temporarily create that symbolic
link in the ubuntu
I'm quite clearly against adding this hack to lxc-ubuntu and lxc-ubuntu-
cloud as since with 12.04, we're saying that a chroot filesystem is
identical to a stock ubuntu filesystem, which would no longer be true
with the workaround.
Instead, I guess we could get that hack into lxc-start-ephemeral
Can this not be worked around very simply by symlinking rootfs in the
container to / as this prefix is common and consistant in all the
afffected files?
ln -s . rootfs
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
On Fri, Aug 10, 2012 at 2:58 AM, Andy Whitcroft a...@canonical.com wrote:
Can this not be worked around very simply by symlinking rootfs in the
container to / as this prefix is common and consistant in all the
afffected files?
ln -s . rootfs
I believe so. The above is a generalization
** Changed in: linux (Ubuntu)
Assignee: (unassigned) = Bryan Wu (cooloney)
--
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/959352
Title:
Ephemeral containers have /rootfs prefix in
It's still happening on up to date quantal:
root@lantea:~# cat /proc/version
Linux version 3.5.0-3-generic (buildd@akateko) (gcc version 4.7.1
(Ubuntu/Linaro 4.7.1-2ubuntu1) ) #3-Ubuntu SMP Mon Jul 2 16:51:39 UTC 2012
root@lantea:~# dpkg -l | grep linux-image-3.5
ii linux-image-3.5.0-2-generic
Reproducing the trace above is possible by doing:
1) apt-get install lxc
2) lxc-create -t ubuntu -n p1
3) lxc-start-ephemeral -o p1 -u ubuntu -- cat /proc/self/maps
When prompted for the ubuntu account's password, the password is
ubuntu.
--
You received this bug notification because you are
Quoting Leann Ogasawara (leann.ogasaw...@canonical.com):
It would be helpful if anyone could confirm if this issue remains with
the latest Quantal 3.5.0-3.3 kernel. We do have the Quantal kernel
Confirmed it is still happening.
--
You received this bug notification because you are a member
Added bot-stop-nagging, AFAIK aufs and overlayfs are SAUCE changes to
the kernel, so it's pretty unlikely that any upstream kernel testing
would work. This really needs to be looked into by a kernel team member.
** Tags added: bot-stop-nagging
** Changed in: linux (Ubuntu)
Status:
It would be helpful if anyone could confirm if this issue remains with
the latest Quantal 3.5.0-3.3 kernel. We do have the Quantal kernel
available for testing in Precise via the q-lts-backport PPA:
https://launchpad.net/~ubuntu-x-swat/+archive/q-lts-backport
sudo add-apt-repository
Thank you for taking the time to file a bug report on this issue.
However, given the number of bugs that the Kernel Team receives during
any development cycle it is impossible for us to review them all.
Therefore, we occasionally resort to using automated bots to request
further testing. This is
I have duped the problem Benji reported, and did the kernel test in
order to let him work on other tasks.
The given kernel (reported in /proc/version as Linux version
3.3.0-030300-generic (apw@gomeisa) (gcc version 4.4.3 (Ubuntu
4.4.3-4ubuntu5.1) ) #201203182135 SMP Mon Mar 19 01:36:20 UTC 2012)
apport information
** Tags added: apport-collected precise staging
** Description changed:
Ephemeral containers (but not non-ephemeral ones) have all of their
/proc/*/maps entries prefixed with /rootfs. One problem this causes
is that graphviz uses /proc/self/maps to locate its plugins.
** Changed in: linux (Ubuntu)
Status: Incomplete = 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/959352
Title:
Ephemeral containers have /rootfs prefix in
Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.3 kernel[1] (Not a kernel in the daily directory). Once you've
tested the upstream kernel, please remove the 'needs-upstream-testing'
tag(Only that
** Also affects: linux (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/959352
Title:
Ephemeral containers have /rootfs prefix in
This may be a kernel regression.
Using an aufs ephemeral container with the new precise lxc package, on
oneiric kernel and userspace, doesn't show the
/var/lib/lxc/container/rootfs prefix.
(I can't test overlayfs on oneiric kernel as it's not supported there)
--
You received this bug
We are discovering that this, or something very similar to it, is
serious. For our own use, at least, I'd raise this to high (we don't
have privileges to do so).
According to lsof, many, many processes (sshd, upstart, init, ntpd,
etc., as well as processes we start directly such as xvfb-run and
Status changed to 'Confirmed' because the bug affects multiple users.
** 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/959352
Gary,
you were able to create aufs ephemeral containers with lp:~serge-
hallyn/ubuntu/precise/lxc/lxcshutdownv2. Can you create one and check
/proc/self/mounts? I'm wondering whether this is only with overlayfs.
--
You received this bug notification because you are a member of Ubuntu
Server
** Changed in: lxc (Ubuntu)
Importance: Low = 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/959352
Title:
Ephemeral containers have /rootfs prefix in /proc/self/maps entries
Hi Serge. Thanks for looking at this.
On an aufs-mounted ephemeral:
gary@lpdev-temp-tKJg9Ss:~$ cat /proc/self/maps
08048000-08054000 r-xp 08:12 414657
/var/lib/lxc/lpdev/rootfs/bin/cat
08054000-08055000 r--p b000 08:12 414657
Thanks. That's curious. I'm marking low priority as it has a
workaround, please raise if you feel appropriate.
** Changed in: lxc (Ubuntu)
Importance: Undecided = Low
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
40 matches
Mail list logo