Description of problem: The mirrormanager RPM will start calling useradd/groupadd per https://fedoraproject.org/wiki/Packaging:UsersAndGroups 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): 0.91
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: getOption("StandardUsers").append("mirrormanager") getOption("StandardGroups").append("mirrormanager") 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.