Red Hat Bugzilla – Bug 527158
rpmlint: add mirrormanager user and group to OK list
Last modified: 2009-10-24 00:06:34 EDT
Description of problem:
The mirrormanager RPM will start calling useradd/groupadd per
for storing its content and execution.
rpmlint throws warnings:
mirrormanager.noarch: W: non-standard-uid /var/run/mirrormanager mirrormanager
mirrormanager.noarch: W: non-standard-gid /var/run/mirrormanager mirrormanager
I see adding it to the uidgid list in the setup package is the normal method for avoiding such. Is there a better method for doing so I can put in mirrormanager? If not, can rpmlint be extended to allow so?
Version-Release number of selected component (if applicable):
One way is to add let's say a /etc/rpmlint/mirrormanager.config file in the mirrormanager package (without a dependency on rpmlint, and with owning also the /etc/rpmlint dir) containing something like:
That'll obviously suppress the warning only when the file is in place, i.e. after mirrormanager has been installed. In other cases, I'd personally just ignore the warning. Would that work for you?
Yes, thank you. I've added an /etc/rpmlint/mirrormanger.config file as described to quiet the warnings. Good enough.