Hide Forgot
Description of problem: There are test commands in cumin RPM. We should not ship them: /usr/bin/cumin-admin-test /usr/bin/cumin-command-test /usr/bin/cumin-data-test /usr/bin/cumin-smoke-test /usr/bin/cumin-web-test Version-Release number of selected component (if applicable): cumin-0.1.5098-2 How reproducible: 100% Steps to Reproduce: 1. repoquery --query cumin --list | grep /usr/bin Actual results: -test commands present Expected results: -test commands missing Additional info:
Also, move root-only programs to /usr/sbin instead of /usr/bin.
Note, cumin-bench and cumin-smoke-test both fail. They should be fixed in the repo, even if not shipped.
Fixed in revision 5217. Cumin.spec changed to install cumin-admin and cumin-database in /usr/sbin
Also requires change to sysvinit script. Fixed in revision 5219
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause Certain development test programs were included in the Cumin installation. Additionally, cumin-database and cumin-admin which require root privilege were located in /usr/bin instead of /usr/sbin/ Consequence The test programs are unnecessary for end users and are not documented. Including them and placing cumin-admin and cumin-database in /usr/bin could cause confusion. Change Eliminated the test programs from the installation and relocated cumin-admin and cumin-database to /usr/sbin. Result Only appropriate programs are included in the installation and they are installed in the appropriate locations.
For testing, this is "state of the art" cumin-checkpid originated in Bug 801287 cumin-report originated in Bug 807838 # rpm -ql cumin | grep /usr/bin /usr/bin/cumin /usr/bin/cumin-data /usr/bin/cumin-report /usr/bin/cumin-web # rpm -ql cumin | grep /usr/sbin /usr/sbin/cumin-admin /usr/sbin/cumin-checkpid /usr/sbin/cumin-database
Reproduced on cumin-0.1.5192-4 Tested on RHEL 5/6 i386/x86_64 cumin-0.1.5675-1 Everything is as expected. --> VERIFIED