Bug #52319 MySQL RHEL5 RPMs do not Require net-tools
Submitted: 24 Mar 2010 2:49 Modified: 5 Aug 2011 23:57
Reporter: Trent Lloyd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Hery Ramilison CPU Architecture:Any

[24 Mar 2010 2:49] Trent Lloyd
Description:
MySQL RHEL5 RPMs use the /bin/hostname tool but does not depend/require 'net-tools' which includes this tool.

This means if you do an automated installation including the MySQL RPMs.. it does not work as it does not install net-tools before MySQL automatically.

How to repeat:
N/A

Suggested fix:
Customer provided patch;

--- mysql-5.1.45.rhel5.spec.orig 2010-03-23 18:54:52.000000000 -0700
+++ mysql-5.1.45.rhel5.spec 2010-03-23 14:55:15.000000000 -0700
@@ -338,7 +338,7 @@
%package -n MySQL-server%{package_suffix}
Summary: @COMMENT@ for Red Hat Enterprise Linux 5
Group: Applications/Databases
-Requires: chkconfig coreutils shadow-utils grep procps
+Requires: chkconfig coreutils shadow-utils grep procps net-tools
Provides: msqlormysql mysql-server mysql MySQL MySQL-server
Obsoletes: MySQL mysql mysql-server MySQL-server
[5 Aug 2011 23:56] Hery Ramilison
fix committed in mysql-5.5