Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: How start with AppArmor ?

  1. #11
    Join Date
    Apr 2011
    Beans
    15

    Re: How start with AppArmor ?

    How can uninstall additions? I install new system without Virtualbox additions and is OK.

  2. #12
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How start with AppArmor ?

    Quote Originally Posted by Borneq View Post
    How can uninstall additions? I install new system without Virtualbox additions and is OK.
    You can, but it is not so easy and it will not likely fix your problem.

    Run the installer again, add "uninstall" to the end , without quotes.

    Or you can remove it by running the script in /opt

    Code:
    /opt/VBoxGuestAdditions-4.0.6/uninstall.sh
    Replace "4.0.6" with the proper version (if needed).

    EDIT You can probably install the packages I gave you earlier for the guest additions (using apt-get) if needed or learn how to use samba.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  3. #13
    Join Date
    Apr 2011
    Beans
    15

    Re: How start with AppArmor ?


  4. #14
    Join Date
    Apr 2011
    Beans
    15

    Re: How start with AppArmor ?

    I start.
    After command "sudo genprof gedit" (without run Gedit) it creates small usr.bin.gedit file:
    # Last Modified: Tue Apr 26 09:05:40 2011

    #include <tunables/global>



    /usr/bin/gedit flags=(complain) {

    #include <abstractions/base>



    }
    in /etc/apparmor.d/
    and Gedit can't correctly run.
    I can delete /etc/apparmor.d/usr.bin.gedit with root privilege or is any tool for deleting?
    I run "sudo aa-complain gedit" and run Gedit but /etc/apparmor.d/usr.bin.gedit not changes...

  5. #15
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How start with AppArmor ?

    Quote Originally Posted by Borneq View Post
    I start.
    After command "sudo genprof gedit" (without run Gedit) it creates small usr.bin.gedit file:
    in /etc/apparmor.d/
    and Gedit can't correctly run.
    I can delete /etc/apparmor.d/usr.bin.gedit with root privilege or is any tool for deleting?
    I run "sudo aa-complain gedit" and run Gedit but /etc/apparmor.d/usr.bin.gedit not changes...
    You need to run

    Code:
    sudo aa-logprof
    and answer the questions in order to create the profile. Actually when you first ran aa-genprof it automatically puts the profile in complain mode and will pop-up questions on the terminal screen until you click "Finished."
    Occam's Razor for computers: Viruses must never be postulated without necessity -- nevius

    My Blog

  6. #16
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How start with AppArmor ?

    Quote Originally Posted by Borneq View Post
    I start.
    After command "sudo genprof gedit" (without run Gedit) it creates small usr.bin.gedit file:
    in /etc/apparmor.d/
    and Gedit can't correctly run.
    I can delete /etc/apparmor.d/usr.bin.gedit with root privilege or is any tool for deleting?
    I run "sudo aa-complain gedit" and run Gedit but /etc/apparmor.d/usr.bin.gedit not changes...
    Keep going with the apparmor sticky.

    genprof generates a minimal set of rules, you will need to add a ton of paths for something like gedit running in X =)
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •