Solved

apparmor remove

Posted on 2011-02-23
4
645 Views
Last Modified: 2012-05-11
Hello, on ubunt 10.04 lts I would remove apparmor and then:

#/etc/init.d/apparmor stop
#update-rc.d -f apparmor remove

but also after this I have always:
apparmor_status                                                                                                                                                                                                                                                
apparmor module is loaded.
4 profiles are loaded.
4 profiles are in enforce mode.
   /sbin/dhclient3
   /usr/lib/NetworkManager/nm-dhcp-client.action
   /usr/lib/connman/scripts/dhclient-script
   /usr/sbin/mysqld
0 profiles are in complain mode.
1 processes have profiles defined.
1 processes are in enforce mode :
   /usr/sbin/mysqld (785)
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

how I can remove apparmor ?? I must:

#apt-get remove apparmor

Thanks.

-
 Salvatore.
0
Comment
Question by:sasapix
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
bz43 earned 400 total points
ID: 34963860
I would run as root:
aptitude remove apparmor apparmor-utils
0
 

Author Comment

by:sasapix
ID: 34968093
yes, already use root user for remove this.

-
 Salvatore.
0
 
LVL 10

Assisted Solution

by:pjasnos
pjasnos earned 100 total points
ID: 35089621
Ubuntu kernel is compiled with AppArmor set to be on during boot. You need to compile your own kernel to completely get rid of it.

http://blog.avirtualhome.com/2010/05/05/how-to-compile-a-ubuntu-lucid-kernel/

when you edit the configs, you need to disable apparmor in security sub-menu.
0
 

Author Comment

by:sasapix
ID: 35093216
Hello, I have removed  AppArmor in this mode:
#apt-get remove apparmor

and now is ok with Plesk.
However thanks for you indication about ubuntu compile kernel.

-
 Salvatore.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now