[SERVER-5179] shadow-utils dependency not correctly identified in mongo-10gen-server rpm Created: 02/Mar/12  Updated: 11/Jul/16  Resolved: 07/Mar/12

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.0.3
Fix Version/s: 2.1.1

Type: Bug Priority: Blocker - P1
Reporter: Erick Wipprecht Assignee: Michael A. Fiedler
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

rPath generated CentOS 5.x 64-bit image


Operating System: Linux
Participants:

 Description   

useradd and groupadd are used in the mongo-10gen-server RPMs but these binaries aren't listed as Requires for the rpm. This will likely only manifest when this rpm is being added at actual installation time as opposed to added as a post-install kickstart item or after the OS is installed.



 Comments   
Comment by Michael A. Fiedler [ 12/Mar/12 ]

The dependency is provided as the RPM examples show here: http://www.rpm.org/wiki/PackagerDocs/Dependencies#ScriptletDependencies

This should invoke any underlying dependency management before installing this package.

Comment by Adam Chasen [ 12/Mar/12 ]

If the user/group are required/desired, RPM must specify the prerequisites to handle user/groups in the scripts. This allows RPM to correctly order this package in a single large installation job.

Comment by Michael A. Fiedler [ 07/Mar/12 ]

The implementation of this does dot directly depend on a given package, rather on the existence of the appropriate binaries.
The packager should make the correct decisions if the tools are not there.

Comment by auto [ 07/Mar/12 ]

Author:

{u'login': u'miketheman', u'name': u'Mike Fiedler', u'email': u'miketheman@gmail.com'}

Message: Merge pull request #187 from miketheman/SERVER-5179

SERVER-5179 add requirements for pre/post actions
Branch: master
https://github.com/mongodb/mongo/commit/b85f0d986bcc4943ee15f46f6f953ef3212d6510

Comment by auto [ 07/Mar/12 ]

Author:

{u'login': u'miketheman', u'name': u'Mike Fiedler', u'email': u'miketheman@gmail.com'}

Message: Merge pull request #187 from miketheman/SERVER-5179

SERVER-5179 add requirements for pre/post actions
Branch: master
https://github.com/mongodb/mongo/commit/b85f0d986bcc4943ee15f46f6f953ef3212d6510

Comment by auto [ 07/Mar/12 ]

Author:

{u'login': u'miketheman', u'name': u'Mike Fiedler', u'email': u'miketheman@gmail.com'}

Message: SERVER-5179 add requirements for pre/post actions
Branch: master
https://github.com/mongodb/mongo/commit/654671234c900d71cbd7c9d7c60eaf80c9a6f475

Generated at Thu Feb 08 03:08:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.