Re: FedoraFAQ.org - commands for install of NVIDIA drivers do not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



PFJ wrote:
Hi,

I'm entering
setsebool -P allow_execmod=1

Try /usr/sbin/setsebool -P allow_execmod=1

but bash says the command is not found.  Same with "init 3" for
bringing FC5 down to the command line so i can enable the drivers.

Right, it sounds like you're using the drivers from the nVidia website.
Don't. Use the ones from rpm.livna.org - these are especially wrapped up
to just install like a normal RPM. All you need do once the rpm is
installed is restart the X server (ctrl-delete) - warning, this will log
out when you do it.


Just a heads up. If you do want to use the nVidia installer with SELinux enabled, the instructions on the FedoraFaq web site need to be updated. Undo the changes to the booleans:

# /usr/sbin/setsebool -P allow_execstack 0
# /usr/sbin/setsebool -P allow_execmod 0

Then update the file contexts instead:

# /usr/sbin/semanage fcontext -a -f -- -t textrel_shlib_t '/usr/lib/libGL(core)?\.so(\.[^/]*)*' # /usr/sbin/semanage fcontext -a -f -- -t textrel_shlib_t '/usr/lib/libnvidia.*\.so(\.[^/]*)*'
# /sbin/restorecon -v /usr/lib/libGL* /usr/lib/libnvidia*

In case of line wrapping, each of the three commands above should be on a single line.

The above is based upon a discussion with Paul Howarth on the SELinux list.

HTH,

Marc Schwartz

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux