2010-04-12 18:13:48 |
Daniel Richard G. |
bug |
|
|
added bug |
2010-06-05 00:11:33 |
Kees Cook |
apparmor (Ubuntu): assignee |
|
Jamie Strandboge (jdstrand) |
|
2010-06-05 00:11:36 |
Kees Cook |
apparmor (Ubuntu): status |
New |
Confirmed |
|
2010-06-05 00:11:38 |
Kees Cook |
apparmor (Ubuntu): importance |
Undecided |
Medium |
|
2010-08-11 16:04:21 |
Jamie Strandboge |
apparmor (Ubuntu): status |
Confirmed |
In Progress |
|
2010-08-11 16:11:11 |
Jamie Strandboge |
apparmor (Ubuntu): status |
In Progress |
Fix Committed |
|
2010-08-11 21:15:10 |
Launchpad Janitor |
apparmor (Ubuntu): status |
Fix Committed |
Fix Released |
|
2010-08-11 22:16:10 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/apparmor |
|
2010-11-02 22:57:25 |
Jamie Strandboge |
nominated for series |
|
Ubuntu Lucid |
|
2010-11-02 22:57:25 |
Jamie Strandboge |
bug task added |
|
apparmor (Ubuntu Lucid) |
|
2010-11-02 23:04:16 |
Jamie Strandboge |
apparmor (Ubuntu Lucid): importance |
Undecided |
Medium |
|
2010-11-02 23:04:16 |
Jamie Strandboge |
apparmor (Ubuntu Lucid): status |
New |
In Progress |
|
2010-11-02 23:04:16 |
Jamie Strandboge |
apparmor (Ubuntu Lucid): milestone |
|
lucid-updates |
|
2010-11-02 23:04:16 |
Jamie Strandboge |
apparmor (Ubuntu Lucid): assignee |
|
Jamie Strandboge (jdstrand) |
|
2010-11-03 15:02:51 |
Jamie Strandboge |
bug |
|
|
added subscriber Jamie Strandboge |
2010-11-03 15:03:07 |
Jamie Strandboge |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2010-11-03 15:03:19 |
Jamie Strandboge |
bug |
|
|
added subscriber SRU Verification |
2010-11-03 16:15:33 |
Jamie Strandboge |
description |
Binary package hint: apparmor
This concerns apparmor 2.5-0ubuntu3 in Ubuntu Lucid beta1.
I am preseeding the debconf database of an Ubuntu install with a custom value for the apparmor/homedirs selection. When I then go to configure the package, however, the preseeded value is not given as the default answer, as expected---instead, the answer is blank.
# printf 'apparmor\tapparmor/homedirs\tstring\t/myhome/\n' | debconf-set-selections
# dpkg-reconfigure apparmor
What appears to be happening is that the debconf question takes the default value from /etc/apparmor.d/tunables/home.d/ubuntu (the file that is modified as a result of the question) instead of the debconf database. This behavior is at least questionable, and when a blank value overrides a preseeded debconf value, clearly incorrect. |
SRU Justification
1. impact of the bug is medium for stable releases, as not being able to preseed the home tunable is a longstanding bug that was intended to be fixed in Lucid.
2. This was first fixed in Maverick during its development cycle.
3. Patch is very small-- it simply removes a chunk of faulty logic from the preinst.
4. TEST CASE:
$ cat /etc/apparmor.d/tunables/home.d/ubuntu | grep '^@' # should return nothing
$ printf 'apparmor\tapparmor/homedirs\tstring\t/myhome/\n' | sudo debconf-set-selections
$ sudo dpkg-reconfigure -p high apparmor
$ cat /etc/apparmor.d/tunables/home.d/ubuntu | grep '^@'
At this point '/myhome/' should be in /etc/apparmor.d/tunables/home.d/ubuntu, but it is not.
5. The regression potential of the patch is low, as it removes code from the apparmor preinst to fix a feature introduced in Lucid that never worked.
Binary package hint: apparmor
This concerns apparmor 2.5-0ubuntu3 in Ubuntu Lucid beta1.
I am preseeding the debconf database of an Ubuntu install with a custom value for the apparmor/homedirs selection. When I then go to configure the package, however, the preseeded value is not given as the default answer, as expected---instead, the answer is blank.
# printf 'apparmor\tapparmor/homedirs\tstring\t/myhome/\n' | debconf-set-selections
# dpkg-reconfigure apparmor
What appears to be happening is that the debconf question takes the default value from /etc/apparmor.d/tunables/home.d/ubuntu (the file that is modified as a result of the question) instead of the debconf database. This behavior is at least questionable, and when a blank value overrides a preseeded debconf value, clearly incorrect.
|
|
2010-12-03 17:16:08 |
Martin Pitt |
apparmor (Ubuntu Lucid): status |
In Progress |
Fix Committed |
|
2010-12-03 17:16:18 |
Martin Pitt |
tags |
|
verification-needed |
|
2010-12-14 20:48:35 |
Martin Pitt |
tags |
verification-needed |
verification-done |
|
2010-12-15 11:50:58 |
Launchpad Janitor |
apparmor (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|