• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk and apparmor (feature request)

LaurentR2D2

Plesk Certified Professional
Plesk Certified Professional
Hello,

I've noticed each time I install Plesk on Ubuntu that bind9 doesn't start because of apparmor. Until today, I was removing apparmor from the system. I've found another way to do by modifying its config file like indicated below :

http://www.failover.co/blog/plesk-11-bind9-and-ubuntu-12-04-apparmor-problems

Is it possible to have an apparmor package shipped with this modification in a future release of Plesk ? I would be easier, even if the modification is easy to perform. I don't reinstall Plesk every day, and between two reinstalls I generally forget this apparmor problem is here, and I have to search to understand why suddenly my DNS doesn't work :)
 
Actually AppArmor is not supported by Parallels Plesk Panel (Plesk). Sometimes AppArmor can interfere with Plesk installation or functionality.
 
Actually AppArmor is not supported by Parallels Plesk Panel (Plesk). Sometimes AppArmor can interfere with Plesk installation or functionality.

So the best is to remove it completely instead of doing what is suggested in the article ?
 
Yes, just remove it.

I wanted to follow this tuto :

http://www.techytalk.info/disable-and-remove-apparmor-on-ubuntu-based-linux-distributions/

sudo /etc/init.d/apparmor stop

sudo update-rc.d -f apparmor remove

sudo apt-get --purge remove apparmor apparmor-utils libapparmor-perl libapparmor1

but i leads to remove a lot of packages :

The following packages will be REMOVED:
accountsservice* apparmor* colord* dbus* dbus-x11* gconf2* gvfs*
gvfs-daemons* language-selector-common* libapparmor-perl* libapparmor1*
libgnome2-0* libgnome2-bin* libgnome2-common* libgnomevfs2-0*
libgnomevfs2-common* libpam-systemd* policykit-1* policykit-1-gnome*
systemd-services* ubuntu-standard* udisks2*

So I've decided to remove apparmor only, and not libapparmor-perl and libapparmor1. Is it enough ?
 
Hi LaurentR2D2,

this is absolutely enough - you don't even have to remove apparmor, after "update-rc.d -f apparmor remove", but to have a "clean" system, the removal can be recommended.
 
@LaurentR2D2 (and @everyone),

As UFHH01 implicitly or explicitly stated, it is not necessary to remove apparmor completely.

Moreover, the lack of support by Plesk for apparmor does not imply that Plesk cannot run properly and without problems with appropriate apparmor configuration.

In short, you can optionally use the workaround, presented in the online article with the link provided.

Note (however) that Plesk will also work properly without specific apparmor profiles activated AND that a workaround is still a workaround (not a proper solution), hence implying that is good practice to disable the specific apparmor profiles and configuration settings.

In short, it is desirable to use the out-of-the-box Plesk installation and configuration, i.e. no specific apparmor workarounds.

Kind regards....
 
Back
Top