Bug #12613 [rpm] [ package] RPM fails to install due to lack of -c switch in groupadd
Submitted: 17 Aug 2005 3:10 Modified: 14 Sep 2005 9:59
Reporter: Nathan Hruby Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.13 OS:Linux (Red hat Enterprise Linux 3)
Assigned to: CPU Architecture:Any

[17 Aug 2005 3:10] Nathan Hruby
Description:
Howdy,

In RHEL 3 the groupadd command does not have a -c switch, so the automated process of adding the group and user in the %post section for the -server package doesn't work and thus, the install won't start.  Since these commands have stderr redirected to /dev/null, while the other commands in the %post do, it's kinda non-oblvious what's happening.

-n

How to repeat:
build the 4.1.13 RPM
install on RHEL3 (or probably CentOS 3 as well)
note that the install doesn't work

Suggested fix:
remove the -c flag from the groupadd command in %post server
[19 Aug 2005 12:12] Lenz Grimmer
Duplicate of BUG#12348