Solved

apparmor remove

Posted on 2011-02-23
4
649 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

861 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