Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

On Some Linux Guests with SELinux Enforcing Mode Turned On, Uninstalling VMware Tools Makes the File System Read-Only (1008090)

Details

This problem occurs only if you uninstall the version of VMware Tools that was included with ESX 3.5 Update 3 and only if you do so on a Linux distribution that uses SELinux (Security-Enhanced Linux) with enforcing mode turned on. By default, Red Hat Enterprise Linux 5.2 has enforcing mode turned on. When VMware Tools is uninstalled, the file /etc/fstab is edited but does not have its selinux context restored. As a result, the next time you reboot the system, the / file system mounts as read-only.

Solution

To resolve the situation, do the following:
  1. Mount the root file system and make it writable by using the following command:

mount -o rw,remount /

  1. Mount other needed file systems by using the following command:
mount -a
  1. Set the /etc/fstab file so that it is no longer read-only by using the following command:

restorecon /etc/fstab

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 4 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 4 Ratings
Actions
KB: