Several bugs - changes for RHEL7 and RHEL6

foreman.fc needs updating, it only contains /var/run/foreman