<---- template headericclude ----->
How to find nvidia selinux policies
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Location
    Utah
    Age
    57
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to find nvidia selinux policies

    Hi,
    I want to know how I would go about verifying SELinux is or is not blocking my nvidia glx modules. I am having a problem with 3d games running correctly since my Kernel upgrade. I know in the past after I upgraded to a newer kernel version I have had to install a SELinux policy for Nvidia-glx but there doesn't seem to be one available yet and if SElinux is blocking the glx portion of Nvidia then I would like to be able to create my own policy or submit a bug to get this fixed.

    Thanks
    Tim :eek:
    Smolt profile

  2. #2
    Seve's Avatar
    Seve is offline Retired Community Manager
    Join Date
    Oct 2004
    Location
    The GTA, Ontario, Canada
    Age
    65
    Posts
    12,371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello:
    This, I believe should help you:
    http://www.nvnews.net/vbulletin/showthread.php?t=72490

    Seve
    Registered Linux User: #384977
    .................................................. ............
    See the Links below for more Help and those much wanted extras ... :)


  3. #3
    Join Date
    Jan 2006
    Location
    Utah
    Age
    57
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ran the commands suggested here is the output:
    Code:
    [root@red1 ~]# chcon -t texrel_shlib_t /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [root@red1 ~]# chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/libglx.so.1.0.9631
    chcon: /usr/lib/xorg/modules/extensions/libglx.so.1.0.9631: No such file or directory
    [root@red1 ~]# chcon -t texrel_shlib_t /usr/lib/tls/libnvidia-tls.so.1
    chcon: /usr/lib/tls/libnvidia-tls.so.1: No such file or directory
    [root@red1 ~]# chcon -t texrel_shlib_t /usr/lib/libGLcore.so.1.0.9631
    chcon: /usr/lib/libGLcore.so.1.0.9631: No such file or directory
    [root@red1 ~]# locate libGLcore.so.*
    [root@red1 ~]# locate libglx.so.*
    [root@red1 ~]# locate libglx.so
    /usr/lib/xorg/modules/extensions/libglx.so
    /usr/lib/xorg/modules/extensions/nvidia/libglx.so
    /usr/lib/xorg/modules/extensions/nvidia/libglx.so.1.0.9631
    [root@red1 ~]# locate libGLcore.so
    /usr/lib/nvidia/libGLcore.so
    /usr/lib/nvidia/libGLcore.so.1
    /usr/lib/nvidia/libGLcore.so.1.0.9631
    /usr/lib/nvidia/libGLcore.so.1.0.9631.#prelink#.CvswVs
    /usr/lib/xorg/modules/extensions/libGLcore.so
    I'm guessing I need to correct the path to reflect the Fedora path not the nvidia path?
    So instead of
    Code:
    chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/libglx.so.1.0.9631
    it would read :
    Code:
    chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/nvidia/libglx.so.1.0.9631
    Tim :eek:
    Smolt profile

  4. #4
    Seve's Avatar
    Seve is offline Retired Community Manager
    Join Date
    Oct 2004
    Location
    The GTA, Ontario, Canada
    Age
    65
    Posts
    12,371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello:
    I don't know if this is still relevant or not, however, it may be worth a shot.
    http://stanton-finley.net/fedora_cor...es.html#nVidia

    Seve
    Registered Linux User: #384977
    .................................................. ............
    See the Links below for more Help and those much wanted extras ... :)


  5. #5
    Join Date
    Jan 2006
    Location
    Utah
    Age
    57
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ran the setsebool -P allow_execstack=1 and setsebool -P allow_execmod=1 as per the article and 3 d is still not working correctly. I have the drivers specified in FIrewing's how to "'Getting nVidia cards to work in Fedora Core" they are the 96 xx drivers as I have a Gforce 200 MX with the Nvidia 3.11.0130CB6 BIOS. I give
    Tim :eek:
    Smolt profile

Similar Threads

  1. Replies: 0
    Last Post: 7th August 2008, 05:02 PM
  2. SELinux Policies
    By P4rD0nM3 in forum Security and Privacy
    Replies: 29
    Last Post: 29th March 2008, 01:18 AM
  3. Where can I find Fedora Core 4 SELinux FAQ?
    By mikezang in forum Using Fedora
    Replies: 2
    Last Post: 21st December 2005, 02:04 PM
  4. Samba policies
    By masterlodi in forum Servers & Networking
    Replies: 0
    Last Post: 22nd April 2005, 01:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]