Bug #52781 | RPM builds break popular RedHat commands | ||
---|---|---|---|
Submitted: | 13 Apr 2010 12:15 | Modified: | 14 Apr 2010 6:25 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Packaging | Severity: | S3 (Non-critical) |
Version: | 5.5.3 | OS: | Linux (RPMs for RHEL family) |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[13 Apr 2010 12:15]
Peter Laursen
[13 Apr 2010 14:44]
Sveta Smirnova
Thank you for the report. MySQL server statrup script named mysql since very first versions. For example at http://dev.mysql.com/doc/refman/4.1/en/mysql-server.html you can read: If you use the Linux server RPM package (MySQL-server-VERSION.rpm), the mysql.server script will be installed in the /etc/init.d directory with the name mysql. From which package did you get service named mysqld?
[14 Apr 2010 4:26]
Peter Laursen
File name is: MySQL-server-community-5.5.3_m3-1.rhel5.x86_64.rpm (And OS is CentOS 5.4 x86_64)
[14 Apr 2010 4:54]
Sveta Smirnova
Thank you for the feedback. In the initial description you wrote: "has changed it name from 'mysqld' to 'mysql'." I assume you mean this name is in package MySQL-server-community-5.5.3_m3-1.rhel5.x86_64.rpm But this is correct. I asked in which package service had name mysqld?
[14 Apr 2010 5:01]
Peter Laursen
I am probably wrong then that the file had another name before. I assumed this correlation as when I rename the 'mysql' file to 'mysqld' then command 'service mysqld start|stop|restart' works - it starts|stops|restart the MySQL server(mysqld). After a fresh install of this RPM 'service mysqld start|stop|restart' returns an error that no such file exists, however 'service mysql start|stop|restart' works.
[14 Apr 2010 5:23]
Sveta Smirnova
Thank you for the feedback. So you manually rename file /etc/init.d/mysql to /etc/init.d/mysqld? Please confirm.
[14 Apr 2010 5:35]
Peter Laursen
exactly.
[14 Apr 2010 6:25]
Sveta Smirnova
Thank you for the feedback. Rename startup scripts is not supported usage of MySQL programs. You can do so only on your own risk. This means you should tune service yourself. This is not MySQL bug.