I have a package which upstream creates an interpreter (basically a modified python like eggdrop) to be used in a shell script. This interpreter is not meant to be executed by users and therefore upstream has decided to place the binary under libdir. I was told on #fedora-devel that libexecdir would be a better place to put the binary, however rpmlint would still need to be modified to allow an interpreter to exist in libexecdir. Is there a better place to put binaries which are not meant to be run by users? rpmlint only checks '^/(usr/)?s?bin/[^/]+$' for interpreters. Should I put the interpreter under /usr/bin anyway even though its not meant to be run by a user? Should rpmlint be modified to accept libexecdir, or should my package just be a rare exception to the rule?
I suppose adding /usr/libexec/* and maybe /usr/lib*/*/* to the interpreter regex would be ok. That'll need to be a Fedora only patch though, it's not upstreamable because /usr/libexec is not in FHS. Personally I don't think cluttering /usr/bin with stuff that isn't intended to be run by users would be a good thing.
Based on the date this bug was created, it appears to have been reported during the development of Fedora 8. In order to refocus our efforts as a project we are changing the version of this bug to '8'. If this bug still exists in rawhide, please change the version back to rawhide. (If you're unable to change the bug's version, add a comment to the bug and someone will change it for you.) Thanks for your help and we apologize for the interruption. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again.
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
rpmlint-0.84-2.fc9 has been submitted as an update for Fedora 9
rpmlint-0.84-2.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpmlint'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-6871
rpmlint-0.84-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
I'm still getting an error: # rpmlint poker3d poker3d.x86_64: E: wrong-script-interpreter /usr/libexec/poker3d/poker3d "/usr/libexec/poker3d/underware" Is this because it is under /usr/libexec/poker3d instead of just /usr/libexec?
Yes.
Shouldn't the regexp handle subdirs as well?
I suppose there's no harm in allowing those too. What's currently implemented in 0.84 is what was originally requested in this bug and outlined in comment 1, and now upstream svn accepts even more: http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1451
Looks good, merci beaucoup.
rpmlint-0.85-1.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/rpmlint-0.85-1.fc9
rpmlint-0.85-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpmlint'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9125
rpmlint-0.85-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-0.85-2.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/rpmlint-0.85-2.fc10
rpmlint-0.85-2.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.