Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    I cannot install selinux-policy-targeted-sources


    Hello.

    I cannot install selinux-policy-targeted-sources

    look at this:

    [root@localhost ~]# find / -name *repo
    /etc/yum.repos.d/atrpms.repo
    /etc/yum.repos.d/livna-devel.repo
    /etc/yum.repos.d/fedora.repo
    /etc/yum.repos.d/livna-testing.repo
    /etc/yum.repos.d/livna.repo
    /etc/yum.repos.d/fedora-updates-testing.repo
    /etc/yum.repos.d/fedora-development.repo
    /etc/yum.repos.d/fedora-updates.repo
    /etc/yum.repos.d/freshrpms.repo

    [root@localhost ~]#
    [root@localhost ~]# uname -r
    2.6.23.15-137.fc8
    [root@localhost ~]# yum install selinux-policy-targeted-sources selinux-policy-strict-sources
    Setting up Install Process
    Parsing package install arguments
    No package selinux-policy-targeted-sources available.
    No package selinux-policy-strict-sources available.
    Nothing to do
    [root@localhost ~]#

    ¿Can you tell me pleas what is going on?, I want to make a: make load to validate the policy.

    Thank you.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    That error usually means that the packages you tried to install do not exist in the repositories you setup. What is the output of doing
    Code:
    #yum list | grep -i selinux

  3. #3
    [root@localhost ~]# yum list | grep -i selinux
    libselinux.i386 2.0.43-1.fc8 installed
    libselinux-devel.i386 2.0.43-1.fc8 installed
    libselinux-python.i386 2.0.43-1.fc8 installed
    selinux-doc.noarch 1.26-1.1 installed
    selinux-policy.noarch 3.0.8-84.fc8 installed
    selinux-policy-devel.noarch 3.0.8-84.fc8 installed
    selinux-policy-mls.noarch 3.0.8-84.fc8 installed
    selinux-policy-targeted.noarch 3.0.8-84.fc8 installed
    awstats-selinux.noarch 6.7-2.fc8 updates
    crossfire-selinux.i386 1.10.0-3.fc8 fedora
    cyphesis-selinux.i386 0.5.15-3.fc8 updates
    mailgraph-selinux.noarch 1.14-1.fc8 updates
    memcached-selinux.i386 1.2.4-2.fc8 updates
    mod_fcgid-selinux.i386 2.2-3.fc8 updates
    poker-network-selinux.noarch 1.2.0-4.fc8 updates
    pure-ftpd-selinux.i386 1.0.21-13.fc8 fedora
    queuegraph-selinux.noarch 1.1-2.fc8 updates
    xpilot-ng-selinux.i386 4.7.2-13.fc8 fedora


    I dont know in which repositories can I find it. Any idea?.

  4. $spacer_open
    $spacer_close
  5. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    The only packages I have found on the web with the name selinux-policy-targeted-sources are for Fedora 3 and Fedora 4 as well as RHEL 4. I guess this package is no longer available in the latest versions or the files that made up this package have been moved to a different package.

  6. #5
    Quote Originally Posted by daark.child View Post
    The only packages I have found on the web with the name selinux-policy-targeted-sources are for Fedora 3 and Fedora 4 as well as RHEL 4. I guess this package is no longer available in the latest versions or the files that made up this package have been moved to a different package.
    It seems that this is the correct answer. But the question now is how can I do to validate the policy?:

    [root@localhost ~]# audit2allow -i /var/log/audit/audit.log

    #============= crond_t ==============
    allow crond_t rpm_script_tmp_t:file { read getattr };

    #============= rpm_script_t ==============
    allow rpm_script_t unconfined_t:dbus send_msg;

    [root@localhost ~]# audit2allow -i /var/log/messages


    #============= alsa_t ==============
    allow alsa_t user_home_t:file read;

  7. #6

    If it can help ...

    Fedora Project, sponsored by Red Hat

    "http ://docs.fedoraproject.org/selinux-faq-fc5/#faq-entry-local.te"




  8. #7
    In the recent versions of Fedora, three different policy sources are packaged into
    selinux-policy-x.x.x.fcx.src.rpm

Posting Permissions

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