cups error with unionfs and memory allocation

8 01 2009

When you compress your filesystem with unionfs etc… cups then does not work, it throws up the error:

 * Restarting Common Unix Printing System: cupsd
/usr/sbin/cupsd: error while loading shared libraries: /usr/lib/libcups.so.2:
cannot apply additional memory protection after relocation: Permission denied
[fail]

It turns out that this is because of apparmor so turn this off and all is “peace-and-light.”

sudo /etc/init.d/apparmor stop
sudo apt-get purge apparmor

I’m not sure why it causes the problem, but apparmor strngthen’s Ubuntu against nasties, which I would think is not strictly needed if behind a firewall. Well at least that is how I sleep at night.

I use unionfs on my ASUS eeePC 701 4G


Actions

Informations

Leave a comment

You must be logged in to post a comment