Comment 0 for bug 561694

Revision history for this message
Daniel Richard G. (skunk) wrote :

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.