Description: The action function in the functions script of the initscripts package doesn't work as before. The following piece of code ran fine with Fedora Core 3 (initscripts 7.93.2): . /etc/rc.d/init.d/functions ORACLE_OWNER="oracle" action $"Starting Oracle Enterprise Manager 10g Database Control:" \ "su - ${ORACLE_OWNER} -c '\${ORACLE_HOME}/bin/emctl start dbconsole'" Results with Fedora Core 4 (initscripts 8.11.1): Stopping Oracle Enterprise Manager 10g Database Control: stop: -c: line 0: unexpected EOF while looking for matching `'' stop: -c: line 1: syntax error: unexpected end of file [FAILED] Which is strange because nothing is wrong with the quoting itself. Changing the quoting as follows supresses the above error message: action $"Starting Oracle Enterprise Manager 10g Database Control:" \ su - ${ORACLE_OWNER} -c "\${ORACLE_HOME}/bin/emctl start dbconsole" However ... When doing this the arguments `start' and `dbconsole' are apparently just dropped. Which is again a problem because `emctl' just displays the usage.
*** This bug has been marked as a duplicate of 161316 ***