The Problem
After upgrading oracleasm-support package, unable to start the oracleasm service which was working properly before the upgrade.
Attempts to start the service result in:
# service oracleasm start oracleasm is not enabled, use 'service oracleasm enable' or 'oracleasm init'
The Solution
This is caused by a regression in oracleasm-support-2.1.11-1 where the oracleasm configuration file /etc/sysconfig/oracleasm is not marked as a configuration file in the RPM spec file and is overwritten by the upgrade.
Workaround #1
If is exists, copy the /etc/sysconfig/oracleasm.rpmsave file to /etc/sysconfig/oracleasm and try again to start the service.
# cp /etc/sysconfig/oracleasm.rpmsave /etc/sysconfig/oracleasm
# service oracleasm start
Workaround #2
Modify the /etc/sysconfig/oracleasm file to have a line which reads:
# vi /etc/sysconfig/oracleasm ORACLEASM_ENABLED=true
Inspect the file to identify any other changes which might be needed for your environment and try starting the service.
# service oracleasm start
Permanent Solution
In order to permanently solve this issue, update to the current release of the oracleasm-support RPM package.