Does not use preseeded debconf value for apparmor/homedirs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge | ||
Lucid |
Fix Released
|
Medium
|
Jamie Strandboge |
Bug Description
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.
$ printf 'apparmor\
$ sudo dpkg-reconfigure -p high apparmor
$ cat /etc/apparmor.
At this point '/myhome/' should be in /etc/apparmor.
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\
# dpkg-reconfigure apparmor
What appears to be happening is that the debconf question takes the default value from /etc/apparmor.
Related branches
Changed in apparmor (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in apparmor (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in apparmor (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in apparmor (Ubuntu Lucid): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
importance: | Undecided → Medium |
milestone: | none → lucid-updates |
status: | New → In Progress |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
This bug was fixed in the package apparmor - 2.5.1~pre1393- 0ubuntu5
--------------- pre1393- 0ubuntu5) maverick; urgency=low
apparmor (2.5.1~
* debian/ patches/ 0007-lp605835. patch: allow ca-certificates in ssl_certs patches/ 0008-lp601583. patch: adjust X abstraction for newer gdm patches/ 0009-lp565753. patch: add ubuntu-feed-readers abstraction browsers. d/multimedia use it (LP: #565753) apparmor. config: don't try to read in the existing value from apparmor. d/tunables/ home.d/ ubuntu, but instead always use what is aa-update- browser aa-update- browser. 8 patches/ 0003-ubuntu- browsers- d.patch: updated to generalize java patches/ 0010-fix- release. patch: update common/Make.rules to use
abstraction (LP: #605835)
* debian/
(LP: #601583)
* debian/
and have ubuntu-
* debian/
/etc/
in debconf. (LP: #561694)
* add aa-update-browser for giving a programmatic way to update browser
profiles to use browser abstractions
- add debian/
- add debian/
- debian/rules: install aa-update-browser*
* debian/
child profile names
* debian/
Canonical Ltd in generated documentation
-- Jamie Strandboge <email address hidden> Wed, 11 Aug 2010 09:24:23 -0500