This bug was fixed in the package lxc - 0.9.0-0ubuntu3.5
---
lxc (0.9.0-0ubuntu3.5) raring-proposed; urgency=low
* 0014-lxc-apparmor-null-terminate-buffer: make sure a value we fread is
null-terminated (LP: #1215386)
* 0015-fix-ipv6-pton: call inet_pton on the value without
Just to confirm, the bug wrt the apparmor profile is indeed fixed.
--
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/1215386
Title:
lxc-start tries to change apparmor profile to
You are correct, the error I'm seeing comes from the fact that I have
this line on the container's fstab:
proc /var/lib/lxc/test/rootfs/proc proc ro,nodev,noexec,nosuid 0 0
That is, I was trying to mount /proc as read-only in the container. This
works for me in 12.04 but not in 13.04.
--
You
I tried it with /etc/apparmor.d/usr.bin.lxc-start both enabled and
disabled, and also with and without lxc.aa_profile = unconfined in the
configuration file and all tests worked fine in the four possible
combinations of those settings.
--
You received this bug notification because you are a
Quoting Andre Nathan (an...@digirati.com.br):
You are correct, the error I'm seeing comes from the fact that I have
this line on the container's fstab:
proc /var/lib/lxc/test/rootfs/proc proc ro,nodev,noexec,nosuid 0 0
That is, I was trying to mount /proc as read-only in the container.
** 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/1215386
Title:
lxc-start tries to change apparmor profile to
** 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/1215386
Title:
lxc-start tries to change apparmor profile to unconfined
To manage notifications about
Hi
The issue is still not fixed with the patch. While there's no more
garbage in the buffer that stores the apparmor profile read from /proc,
that data is still terminated by a \n, (ie., the profile is returned
as, eg. unconfined\n instead of unconfined). This causes comparisons
with the
Hi Andre,
the test case in the bug description is passing for me. Can you please
tell me exactly what you do to reproduce this, if possible starting from
a clean install?
Based on your comment I thought it might be that you had disabled
/etc/apparmor.d/usr.bin.lxc-start, but even doing that I'm
** Also affects: lxc (Ubuntu Raring)
Importance: Undecided
Status: New
** Changed in: lxc (Ubuntu Raring)
Status: New = Triaged
** Changed in: lxc (Ubuntu Raring)
Importance: Undecided = Medium
--
You received this bug notification because you are a member of Ubuntu
Server
** Description changed:
+ ===
+ SRU information
+ 1. Impact: failure to start unconfined containers.
+ 2. Development fix: make sure that the buffer into which we read the current
container is \0-terminated
+ 3. Stable fix: same as development fix
+ 4. Test case:
+ sudo
Hello Andre, 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.5 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
This bug was fixed in the package lxc - 0.9.0-0ubuntu23
---
lxc (0.9.0-0ubuntu23) saucy; urgency=low
* 0014-lxc-apparmor-null-terminate-buffer: make sure a value we fread is
null-terminated (LP: #1215386)
* 0015-fix-ipv6-pton: call inet_pton on the value without the netmask.
** Changed in: lxc (Ubuntu)
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/1215386
Title:
lxc-start tries to change apparmor profile to unconfined
To
Thanks for reporting this bug. Unfortunately it is rather hard to
artificially reproduce as it requires just the right conditions on the
stack. That'll make SRU justification harder, but I'll go ahead and
push a proposal as it's important.
--
You received this bug notification because you are
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/1215386
16 matches
Mail list logo