Description of problem:
iiim service would not start, leaving the following message:
runuser: invalid option -- r
Try `runuser --help' for more information.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Run /sbin/service iiim start (or restart when lock file remains)
IIIMF input server would not start.
IIIMF input server starts.
Tracing iiim initscript by `sh -x', I found runuser
called with oddly quoted arguments. Apparently
-c option only took '"/usr/sbin/htt', and -retryonerr
was another runuser option, which caused the error.
+ runuser -s /bin/bash - htt -c '"/usr/sbin/htt' -retryonerror '0"'
Deleting backslashes from the runuser command line in
/etc/rc.d/init.d/functions solves this problem.
$nice runuser -s /bin/bash - $user -c "$*"
After the above chage, arguments are quoted appropriately.
+ runuser -s /bin/bash - htt -c '/usr/sbin/htt -retryonerror 0'
Thanks, will be fixed in the next build.
*** Bug 144843 has been marked as a duplicate of this bug. ***