Results 1 to 5 of 5

Thread: Selinux installation seems incomplete..

  1. #1
    Join Date
    Mar 2009
    Beans
    29

    Selinux installation seems incomplete..

    I am trying to download selinux on an Ubuntu 11.04 using apt-get.

    when I tried sudo apt-get install selinux: I got the following error: The following packages have unmet dependencies: selinux : PreDepends: grub-pc but it is not installable E: Broken packages

    I then downloaded selinux-utils, selinux-basics.
    then, I tried setenforce 1 it returns: setenforce: SELinux is disabled

    So, I checked for the config file under /etc/selinux which showed that
    parameter SELINUX=permissive

    However setenforce 0/1 always shows selinux disabled. I even tried to login as root and did: echo '1' > /selinux/enforce (actually under /selinux there were no parameters!!)

    I even tried seinfo and it showed an error: Could not find policy file blah blah.

    What are the dependencies? what should I download? how can I resolve this?


    Pleas help

  2. #2
    Join Date
    Jul 2011
    Beans
    3,037
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Selinux installation seems incomplete..

    From what I read up until now, SElinux seems to be only marginally supported at Ubuntu:

    http://ubuntuforums.org/showthread.php?t=1978277
    http://ubuntuforums.org/showthread.php?t=1951847
    http://ubuntuforums.org/showthread.php?t=1672727

    Ubuntu has AppArmor and if you really want SELinux, it may be better to use Fedora, which has a really well integrated SELinux implementation.

  3. #3
    Join Date
    Nov 2007
    Beans
    5

    Re: Selinux installation seems incomplete..

    See https://bugs.launchpad.net/ubuntu/+s...x/+bug/1047099 for the grub-pc removal issue

    As 2F4U said, SELinux support is marginal at best. However, if you are really interested in it, the most relevant/current documentation is here:
    http://wiki.debian.org/SELinux
    Last edited by TopQuark_net; October 9th, 2012 at 04:25 PM.

  4. #4
    Join Date
    Mar 2011
    Beans
    701

    Re: Selinux installation seems incomplete..

    I really wouldn't use SELinux with Ubuntu. If you're looking for SELinux try Fedora. Otherwise I think Apparmor is very useful for Ubuntu users.
    sig

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

    Re: Selinux installation seems incomplete..

    Quote Originally Posted by Hungry Man View Post
    I really wouldn't use SELinux with Ubuntu. If you're looking for SELinux try Fedora. Otherwise I think Apparmor is very useful for Ubuntu users.
    +1

    I highly advise you select the distro based on what security tools you want.

    Apparmor - Ubuntu and SUSE
    Selinux - Fedora, RHEL, Centos, Scientific Linux
    grsecurity - Gentoo (hardened)
    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

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
  •