Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm still yet to successfully build a MAAS server, deploy nodes and charms with 12.04 LTS. In my latest troubleshooting in my logs, I have found several errors in my syslog pertaining to permissions issues with apparmor. Every time I would fix one, another would show up. I finally decided to disable apparmor with the following command:

ln -s /etc/apparmor.d/usr.bin.cobblerd /etc/apparmor.d/disable/
apparmor_parser -R /etc/apparmor.d/usr.bin.cobblerd

Do you see any problems with doing this? After apparmor was disabled, I was able to successfully run sudo cobbler check and got a message back saying All systems go.

share|improve this question

1 Answer 1

While it would be OK to disable the apparmor profile for maas-provision, I'd highly discourage it. The profile handles the operations that are needed for MAAS within cobbler, and while you might see denials, it continues to work the way MAAS needs cobbler to.

In other words, these apparmor permission errors are irrelevant to what you are doing.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.