Fedora Linux Support Community & Resources Center
  #1  
Old 18th November 2006, 09:58 PM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
SELinux / nVIDIA Driver conflict

SITUATION/411:
Installation of FC5 nVIDIA drivers failed during install. System was updating SELinux dependencies when lockup / X crash occurred. Now yum will not function properly, nVIDIA install incomplete, yet will not remove / re-install. Yumex will not install. SELinux appears to be the culprit.

This is not really a disaster. I was planning to re-install the OS on a different disk, however, It'd sure be nice to know what happened, and how to fix it.

SIZE-UP:
Make & Model= Home brewed frankenputer
CPU= AMD Athlon XP 3000+
HDD= 20Gb Maxtor ATA
RAM= 1.5Gb
NIC= 3COM
Wireless= NONE
Video= nVIDIA eVGA FX5200 128Mb
Display= Samsung SyncMaster 171v
Operating system version= Fedora Core 5
Running Kernel= (2) installed

MITIGATING FACTORS:

SELinux has been disabled, still no joy.

COMMAND and OUTPUT:

Code:
[dan@Tangled-Web ~]$ uname -a
Linux Tangled-Web.Zyloo.net 2.6.18-1.2239.fc5 #1 Fri Nov 10 13:04:06 EST 2006 i6 86 athlon i386 GNU/Linux
[dan@Tangled-Web ~]$ c

[dan@Tangled-Web ~]$ yum list kernel*
Loading "installonlyn" plugin
Setting up repositories
livna                                                                [1/4]
core                                                                 [2/4]
updates                                                              [3/4]
extras                                                               [4/4]
Reading repository metadata in from local files
Installed Packages
kernel.i686                              2.6.18-1.2239.fc5      installed
kernel.i686                              2.6.15-1.2054_FC5      installed
Available Packages
kernel.i586                              2.6.18-1.2239.fc5      updates
kernel-devel.i686                        2.6.18-1.2239.fc5      updates
kernel-devel.i586                        2.6.18-1.2239.fc5      updates
kernel-doc.noarch                        2.6.18-1.2239.fc5      updates
kernel-kdump.i686                        2.6.18-1.2239.fc5      updates
kernel-kdump-devel.i686                  2.6.18-1.2239.fc5      updates
kernel-smp.i686                          2.6.18-1.2239.fc5      updates
kernel-smp.i586                          2.6.18-1.2239.fc5      updates
kernel-smp-devel.i686                    2.6.18-1.2239.fc5      updates
kernel-smp-devel.i586                    2.6.18-1.2239.fc5      updates
kernel-xen.i686                          2.6.18-1.2239.fc5      updates
kernel-xen-devel.i686                    2.6.18-1.2239.fc5      updates
kernel-xen0.i686                         2.6.18-1.2239.fc5      updates
kernel-xen0-devel.i686                   2.6.18-1.2239.fc5      updates
kernel-xenU.i686                         2.6.18-1.2239.fc5      updates
kernel-xenU-devel.i686                   2.6.18-1.2239.fc5      updates
Code:
[root@Tangled-Web ~]# yum --enablerepo=livna install kmod-nvidia
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna                                                                [1/4]
livna                     100% |=========================|  951 B    00:00
core                                                                 [2/4]
core                      100% |=========================| 1.1 kB    00:00
updates                                                              [3/4]
updates                   100% |=========================|  951 B    00:00
extras                                                               [4/4]
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kmod-nvidia.i686 0:1.0.8776-1.2.6.18_1.2239.fc5 set to be installed
--> Running transaction check
--> Processing Dependency: nvidia-kmod-common >= 1.0.8776 for package: kmod-nvidia
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package xorg-x11-drv-nvidia.i386 0:1.0.8776-1.lvn5 set to be updated
--> Running transaction check
--> Processing Conflict: xorg-x11-drv-nvidia conflicts selinux-policy < 2.2.29-2.fc5--> Finished Dependency Resolution
Error: xorg-x11-drv-nvidia conflicts with selinux-policy < 2.2.29-2.fc5

QTBAs:
1) What went wrong?
2) How to fix
3) How to avoid in the future.


That, my friends, is the problem. Any ideas?

Thank you for looking at this.

Dan
Reply With Quote
  #2  
Old 18th November 2006, 10:12 PM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello Dan:
Boy ... you have been having your problems lately

Just a thought, Dan.....and as you know I don't have too many

Is there any joy in having a look at cat /var/log/yum.log?
and trying rpm -aq | grep some of suspected culprits?
Just to see if for some reason there are two of the same installed, if so, try rpm -e to remove the newest one.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 18th November 2006, 11:21 PM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
Afternoon Seve.

Not as many as it appears. This is the FC5 I borked a week ago, and PMed you about.

The Linux Store has been taking their own sweet time sending me the FC5 re-spin DVD set, and I don't want to sit through better than a gigs worth of updates, so I'm poking around the wreckage looking for clues, while I wait for the DVDs.

I've been trying to rpm the whole mess out, and it seems everything "conflicts with selinux-policy < 2.2.29-2.fc5" And I find that rather odd as SeLinux has been disabled. My second knee jerk is to just empty the contents of the selinux folders. But I'm about as familiar with selinux as I am with Bridget Bardot's Boudoir. I know it exists. Beyond that, it's a mystery.
Reply With Quote
  #4  
Old 18th November 2006, 11:51 PM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello Dan:

I have not idea what to say as SELinux is pretty much a mystery to me. I have it disabled where I really don't need it.
I had a similar problem to what you had once, although SELinux was not involved, where yum died/froze and the only way I coul get around it was to go through the rpm thing one by one until I removed all the potential issues. Not a pleasant thing, and in hind-sight it is easier to do an re-install.

Other than that, are you all set for your Thanksgiving?

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 19th November 2006, 12:06 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
Oh, yeah! One sweet looking 11 pound dead bird is in the freezer, awaiting his date with the oven, and I've plucked the last of the sweet taters out of the ground just for the occasion! Looks like I'll be traveling Sunday thru Tuesday, but I'll be parked at the trough/table Thursday for sure!

And speaking of food chains, I think I've gone about as far back in the yum log as I safely can. The last one, (yum update policycoreutils.i386 1.30.10-2.fc5) tried to mark for deletion and remove 415 files... including all of the xorg directory and most of my apps.

In the throes of a screaming case of the heebie-jeebies, I stabbed the "NO!" key hard enough to wake up the dog! Just a reflex, I guess
Reply With Quote
  #6  
Old 19th November 2006, 12:21 AM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
Dan,

As root try these commands from a terminal window or prompt and reboot. Straight from Stanton Finley's FC5 guide...

setsebool -P allow_execstack=1
setsebool -P allow_execmod=1
Reply With Quote
  #7  
Old 19th November 2006, 12:25 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
Is all of your family going to be able to get together?
Reply With Quote
  #8  
Old 19th November 2006, 12:28 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
Quote:
Originally Posted by Iron_Mike
Dan,

As root try these commands from a terminal window or prompt and reboot. Straight from Stanton Finley's FC5 guide...

setsebool -P allow_execstack=1
setsebool -P allow_execmod=1
Hi Mike!

Ayup! Done did... and it didn't!

Code:
[root@Tangled-Web ~]# setsebool -P allow_execstack=1
setsebool:  SELinux is disabled.
[root@Tangled-Web ~]# setsebool -P allow_execmod=1
setsebool:  SELinux is disabled.
What are you doing for Thanksgiving?

Last edited by TangledWeb; 19th November 2006 at 12:33 AM.
Reply With Quote
  #9  
Old 19th November 2006, 12:34 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Quote:
Originally Posted by TangledWeb
Is all of your family going to be able to get together?
Hello Dan:
Not sure if that was directed at me or not?
Anyway, we had our Thanksgiving last month .... and yes it was an all inclusive thing.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #10  
Old 19th November 2006, 12:41 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
It was... and Good Deal! I guess the date doesn't matter, but the family unity sure does. However, it looks like it's just going to be the two of us here this year. But, that's ok too. I still kinda like the old lady's company.
Reply With Quote
  #11  
Old 19th November 2006, 12:45 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Quote:
Originally Posted by TangledWeb
It was... and Good Deal! I guess the date doesn't matter, but the family unity sure does. However, it looks like it's just going to be the two of us here this year. But, that's ok too. I still kinda like the old lady's company.
Hello Dan:
Well here in the Great White North our Thanksgiving is earlier than yours.
Anyway, I hope you enjoy yourself and unfortunately you will be stuck watching the Lions on TV ... maybe a good movie will be on.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #12  
Old 19th November 2006, 12:47 AM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
Quote:
Originally Posted by TangledWeb
Hi Mike!

Ayup! Done did... and it didn't!

Code:
[root@Tangled-Web ~]# setsebool -P allow_execstack=1
setsebool:  SELinux is disabled.
[root@Tangled-Web ~]# setsebool -P allow_execmod=1
setsebool:  SELinux is disabled.
What are you doing for Thanksgiving?
I was almost coming up to your neck of the woods, I have a few friends that live in "The Springs", but decided it was to cold for me. So now it's in-laws, kids, and goofing off.
Reply With Quote
  #13  
Old 19th November 2006, 01:09 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
Quote:
Originally Posted by Iron_Mike
I was almost coming up to your neck of the woods, I have a few friends that live in "The Springs", but decided it was to cold for me. So now it's in-laws, kids, and goofing off.
Yeah. Warm climates can sure spoil a fella. And there's a lot to be said for in-laws, kids and goofing off... Provided you get along with the in-laws.
Reply With Quote
  #14  
Old 19th November 2006, 01:21 AM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
Quote:
Originally Posted by TangledWeb
Yeah. Warm climates can sure spoil a fella. And there's a lot to be said for in-laws, kids and goofing off... Provided you get along with the in-laws.
Sure does, and I get along great with the in-laws, can't do any wrongs in their eyes, plus I get to sic'em on their daughter.....
Reply With Quote
  #15  
Old 19th November 2006, 03:15 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,279
Hah! I'll just bet you get that one eyed, "Your turn's a' comin'!" look from her an awful lot!
Reply With Quote
Reply

Tags
conflict, driver, nvidia, selinux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia driver update conflict jbkt23 Using Fedora 6 25th November 2007 05:59 PM
nvidia driver version / nvidia kernel conflict Wangberg Using Fedora 16 13th June 2007 09:57 AM
NVIDIA/SELinux conflict StephenH Using Fedora 8 6th January 2005 06:00 PM


Current GMT-time: 01:39 (Tuesday, 23-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Haveli - Vanier Library -VL Building, Concordia University Travel Photos on Instagram - Privato cafe Photos - New Hanover County Fair Travel Photos on Instagram - Spiaggia Toscolano Travel Photos