Bug 1021940
Summary: | mod_passenger should contain PassengerRoot ini file with local paths configuration | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kaluža <jkaluza> | ||||||
Component: | rubygem-passenger | Assignee: | Brett Lentz <brett.lentz> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 20 | CC: | brett.lentz, fedora, jkaluza, jmader, tdawson, vanmeeuwen+fedora | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | rubygem-passenger-4.0.18-4.fc20 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-02-15 07:02:42 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Jan Kaluža
2013-10-22 11:19:52 UTC
Changing priority, because without this change, mod_passenger is not useful out-of-box. Example INI file which can be used as PassengerRoot (I'm not sure with doc_dir): [locations] bin_dir=/usr/bin agents_dir=/usr/lib64/gems/exts/passenger-4.0.18/agents helper_scripts_dir=/usr/share/gems/gems/passenger-4.0.18/helper-scripts resources_dir=/usr/share/gems/gems/passenger-4.0.18/resources doc_dir=/usr/share/gems/doc/ ruby_libdir=/usr/share/gems/gems/passenger-4.0.18/lib Ok, there are more configuration variables which have to be set, but I think you got the idea... Created attachment 817783 [details] proposed patch This patch adds "locations.ini" into passenger's lib directory as described in <https://github.com/phusion/passenger/blob/master/doc/Packaging.txt.md>. This file contains paths to passenger directories as they are packaged in Fedora. I've tested this patch and mod_passenger is working out-of-box for me with this patch applied. Created attachment 817809 [details] proposed patch v2 Previous patch was corrupted. This one is OK This patch adds "locations.ini" into passenger's lib directory as described in <https://github.com/phusion/passenger/blob/master/doc/Packaging.txt.md>. This file contains paths to passenger directories as they are packaged in Fedora. I've tested this patch and mod_passenger is working out-of-box for me with this patch applied. Hi again, committing this patch would really help people using F20 once released. Right now rubygem-passenger does not work out-of-box and without creating this locations.ini file manually one can't use it. Commit: http://pkgs.fedoraproject.org/gitweb/?p=rubygem-passenger.git;a=commitdiff;h=0ac3d9366b55d934024a1409b812b9a5f80e209e Package: rubygem-passenger-4.0.18-3.fc20 Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=477165 Commit: http://pkgs.fedoraproject.org/gitweb/?p=rubygem-passenger.git;a=commitdiff;h=299aa9376a7c78c810e57e2d857f128502bdb604 Package: rubygem-passenger-4.0.18-3.fc21 Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=477166 rubygem-passenger-4.0.18-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rubygem-passenger-4.0.18-3.fc20 Using Fedora 20, using the latest build solve the issue "watchdog executable not found" starting apache with mod_passenger I had with the -2 build. Now, trying to run a ruby app (chiliproject), I get the following error: Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter $ locate passenger_native_support.so /usr/lib64/gems/ruby/passenger-4.0.18/lib/native/passenger_native_support.so IMO, that seems related to the current bug to me; passenger cannot find one of its files. Let me know if it is not, I'll open another bug. Package rubygem-passenger-4.0.18-3.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rubygem-passenger-4.0.18-3.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-21082/rubygem-passenger-4.0.18-3.fc20 then log in and leave karma (feedback). rubygem-passenger-4.0.18-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rubygem-passenger-4.0.18-4.fc20 When will rubygem-passenger-4.0.18-4.fc20 get pushed to stable? I had to deploy it from updates-testing (which fixed this issue for me). Kind of a deal-breaker for folks trying to deploy ruby/rails apps on F20 who might not know about updates-testing or be willing to temporarily enable the repo... rubygem-passenger-4.0.18-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |