Description of problem: Trying to start rh-mysql56-mysqld as an unprivileged user, I'm getting errors for actions that should not have been even tried and it is not reported that (if) the startup has failed - in fact, it suggests the opposite saying "The daemon will be run ..." Version-Release number of selected component (if applicable): rh-mysql56-mysql-5.6.23-2.el6 How reproducible: always Steps to Reproduce: 1. run /CoreOS/mysql/Sanity/init-script-LSB Actual results: :: [ 21:24:14 ] :: >>>>>>>>> insufficient rights :: [ BEGIN ] :: Insufficient rights, starting the service under nonprivileged user must fail :: actually running 'su testuserqa -c 'service rh-mysql56-mysqld start'' touch: cannot touch `/var/opt/rh/scls/rh-mysql56/log/mysql/rh-mysql56-mysqld.log': Permission denied The log file /var/opt/rh/scls/rh-mysql56/log/mysql/rh-mysql56-mysqld.log could not be created. The daemon will be run under mysql:mysql :: [ PASS ] :: Insufficient rights, starting the service under nonprivileged user must fail (Expected 4, got 4) :: [ FAIL ] :: File '/var/tmp/tmp.P9HAkWXu3i' should contain 'FAILED' Expected results: :: [ 20:05:44 ] :: >>>>>>>>> insufficient rights :: [ BEGIN ] :: Insufficient rights, starting the service under nonprivileged user must fail :: actually running 'su testuserqa -c 'service mysql55-mysqld start'' Starting mysql55-mysqld: [FAILED] :: [ PASS ] :: Insufficient rights, starting the service under nonprivileged user must fail (Expected 4, got 4) :: [ PASS ] :: File '/var/tmp/tmp.58iIqPvvZU' should contain 'FAILED' Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-1059.html