Information Security

SELinux prevented ruby from reading files stored on a NFS filesytem

While working on a server farm for a client I kept running into some issues with one of the servers. The issue appeared to be a single CentOS Linux server in a cluster of ten CentOS Linux servers configured exactly the same as the other nine CentOS Linux servers was having issues writing to a network storage device. Initially I figured that the CentOS Linux server having the issues had some permission issues with the directory that was mounted to the SAN (Storage Area Network) however after minimal troubleshooting it was verified that the permissions were identical to the other servers. I started looking through other logs on the server having the issue and located some SELinux errors that were noticeably related to the issue at hand. Below I describe where the SELinux error was located, what the specific errors were, and how I was able to resolve the errors on this specific CentOS Linux server.

Technology Insights

System Restore disabled by Group Policy & Regedit disabled by Group Policy

I had a customers computer in the store today which was a simple windows XP home edition desktop and they wanted to restore the PC to a earlier time. This is normally a simple task however when I went to system restore I recieved the error “System Restore Disabled by Group policy”. Since this was just a normal persons desktop I found this very odd. Next I tried to edit the policy values via the registry and was greeted by another error saying ” Registry Editing has been Disabled by Group policy”. This was starting to get a little annoying so I decided to document my steps to fix this issue.  Now before I get a hundred comments with people saying there is a better way remember there is more than one way to do things and this is just my way.

Below I document the few simple steps to fix this error.