Description of problem: trying to start /etc/rc.d/init.d/mysqld as the mysql user results in the following error from the init script hardcoding: touch: cannot touch `/var/lock/subsys/mysqld': Permission denied Version-Release number of selected component (if applicable): RHEL 5.4 mysql-server-5.0.77-4.el5_4.2.x86_64 How reproducible: every time Steps to Reproduce: 1. login as the mysql user account 2. run /etc/rc.d/init.d/mysqld start 3. Actual results: mysqld_safe and mysqld start just fine, but the lock file is not created because of permissions in of the /var/lock/subsys directory as hardcoded in the init script Expected results: the error would not appear Additional info: please have the package maintainer re-visit the explicit pathing of this lock file location in the init script
Not a bug --- initscripts invariably are expected to run as root.