Bug 515652
| Summary: | initscript installation fails on EL5 x86_64 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Noa Resare <noa> | ||||
| Component: | tor | Assignee: | Simon <cassmodiah> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | el5 | CC: | cassmodiah | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 0.2.1.19-3.el5 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-11-13 19:32:27 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
While you're at it, perhaps moving to 0.2.0.35 would be a good idea (it is in rawhide) https://blog.torproject.org/blog/tor-02035stable-released tor-0.2.1.19-3.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/tor-0.2.1.19-3.el5 tor-0.2.1.19-3.el5 has been pushed to the Fedora EPEL 5 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 tor'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0735 tor-0.2.1.19-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 356284 [details] Changes to tor.spec (feel free to replace my name in the changelog for yours and modify the patch in any way you want) Description of problem: When installing Version-Release number of selected component (if applicable): tor-0.2.0.34-5.el5 How reproducible: always Steps to Reproduce: 1. Run 'yum install tor' on an EL5 x86_64 system Actual results: Installing : tor-core [1/3] Installing : tor-lsb [2/3] /var/tmp/rpm-tmp.10344: line 1: /usr/lib64/lsb/install_initd: No such file or directory error: %post(tor-lsb-0.2.0.34-5.el5.x86_64) scriptlet failed, exit status 127 Expected results: successful installation. Additional info: The specfile calls %_libdir/lsb/install_initd which will expand to /usr/lib64/lsb/install_initd which is not the correct path to install_initd I assume that there is a good reason to not use chkconfig right away like everyone else and move tor to a monolithic package. Anyway, the scripts should not use %_libdir but instead a hard coded /usr/lib/lsb/*, also an explicit Requires(pre): /usr/lib/lsb/install_initd Requires(preun): /usr/lib/lsb/install_initd would be nice for those of us trying to run things with as few installed packages as possible.