 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

15th November 2007, 01:49 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 9

|
|
|
keep having to recompile vmware modules
I'm runing Fedora 8 x86_64, and VMware 6. Seems like after every reboot I have to recompile the vmware moduels (The kernel isn't being updated THAT often). Any ideas?
|

15th November 2007, 03:39 PM
|
 |
Registered User
|
|
Join Date: Feb 2005
Location: London, UK
Posts: 333

|
|
|
If you don't mind sticking with the same kernel you can add the following line to your /etc/yum.conf file:
exclude=*kernel*
|

15th November 2007, 03:45 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 9

|
|
Quote:
|
Originally Posted by HaydnH
If you don't mind sticking with the same kernel you can add the following line to your /etc/yum.conf file:
exclude=*kernel*
|
Sorry, my original post may not have been clear. I'm not upgrading the kernel, but for some reason the vmware modules won't load after a reboot without recompiling.
|

16th November 2007, 09:18 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 9

|
|
|
The problem is apparently selinux. I couldn't find any thing about it triggering the selinux security in the "SELinux Troubleshooter" but disabling SELinux did fix it so I don't have to recompile the vmware modules after every reboot.
|

16th November 2007, 09:48 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 224

|
|
|
I'm running F8 as well, but I'm running VMWare Server 1.0.4. If I uninstall VMWare Server and then reinstall it, it works. The second I reboot, it stops working with a ton of SELinux alerts.
I finally bit the bullet and gave myself a crash course in creating a local SELinux policy which grants VMWare server what it needs to run. I can post the policy source (includes a script to recompile and insert module into selinux) as an attachment to this thread upon request. Should be pretty close for VMWare workstation. You use 'audit2allow -R' to add grants for anything that's missing got VMW.
It's strange that it works upon reinstall and then fails after a reboot...it's missing access to write to /tmp, the user's home directory, etc.
|

19th November 2007, 03:51 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 12

|
|
Quote:
|
Originally Posted by rweed
I'm running F8 as well, but I'm running VMWare Server 1.0.4. If I uninstall VMWare Server and then reinstall it, it works. The second I reboot, it stops working with a ton of SELinux alerts.
I finally bit the bullet and gave myself a crash course in creating a local SELinux policy which grants VMWare server what it needs to run. I can post the policy source (includes a script to recompile and insert module into selinux) as an attachment to this thread upon request. Should be pretty close for VMWare workstation. You use 'audit2allow -R' to add grants for anything that's missing got VMW.
It's strange that it works upon reinstall and then fails after a reboot...it's missing access to write to /tmp, the user's home directory, etc.
|
I'm having this problem, too. Please post your script. I'm running vmware-server-1.0.4. I haven't reinstalled each time, but I have run vmware-config.pl. This solves the problem, but is a pain. Issuing a setenforce 0 command from the terminal just before starting a VM also works. I can then set SeLinux back to enforcing. These are bandaids. Fixing the policy sounds better.
TIA.
|

20th November 2007, 12:18 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 224

|
|
Quote:
|
Originally Posted by oakwcj
I'm having this problem, too. Please post your script. I'm running vmware-server-1.0.4. I haven't reinstalled each time, but I have run vmware-config.pl. This solves the problem, but is a pain. Issuing a setenforce 0 command from the terminal just before starting a VM also works. I can then set SeLinux back to enforcing. These are bandaids. Fixing the policy sounds better.
TIA.
|
I posted it here: http://forums.fedoraforum.org/showthread.php?p=905253
|

20th November 2007, 12:37 AM
|
|
Registered User
|
|
Join Date: Oct 2006
Location: São Paulo, Brazil
Age: 37
Posts: 20

|
|
|
I was facing the same problem, needing to recompile te kernel modules everytime after reboot.
I set the SE Linux to permissive and re-run the command vmware-config pl.
After reboot the modules were there - ok. I didn't need to recompile anymore.
Thank you.
|

20th November 2007, 12:56 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 224

|
|
|
You understand that SELinux is now disabled...right?
|

20th November 2007, 01:15 AM
|
|
Registered User
|
|
Join Date: Oct 2006
Location: São Paulo, Brazil
Age: 37
Posts: 20

|
|
|
The SELinux was set to permissive to compile the modules.
After reboot was ok, I returned to Enforcing mode and again the kernel modules failed on boot.
But now I know where the problem is. I'll keep searching for a better solution than setting SELinux to permissive.
Last edited by cristianox; 20th November 2007 at 02:18 AM.
|

21st November 2007, 12:29 AM
|
|
Registered User
|
|
Join Date: Oct 2006
Location: São Paulo, Brazil
Age: 37
Posts: 20

|
|
|
I checked the option Relabel on next boot at SELInux and rebooted the system.
After the relabel was done, the vmware modules loaded ok.
But Fedora 8 is not as good as 7, yet.
I'm facing problems with the network, where I cannot add a new device (the dial up modem). When I save the changes (any change, in any device) the application fails. I really don't use dial up connection, but I like having all my hardware working. But that's subject to another topic.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 15:14 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|