Comment 2 for bug 561694

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

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 has been addressed in the development branch

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.