Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285046 - Missing symlink in /usr/lib/resin for virtual hosts
Summary: Missing symlink in /usr/lib/resin for virtual hosts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-15 05:05 UTC by Alexander Hoogerhuis
Modified: 2010-04-06 20:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Hoogerhuis 2009-09-15 05:05:16 UTC
By default /usr/lib/resin contains a symlink to /var/lib/resin/webapps named webapps. Similarly /var/lib/resin/hosts should be linked as hosts to ensure that the section of /etc/resin/resin.conf works out of the box.

This allows for virtual hosts in resin to be located in /var/lib/resin/hosts/${hostname}

Reproducible: Always

Actual Results:  
When installing resin this symlink has to be created to make loading of virtual hosts work

Expected Results:  
When creating the symlink hosts in /usr/lib/resin/ resin as expected loads virtual hosts located in /var/lib/resin/hosts/${hostname}
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-04-02 15:46:22 UTC
Fixed in 4.0.5.
Comment 2 Alexander Hoogerhuis 2010-04-03 02:43:41 UTC
I would be usefull have this applied to 3.1.x for those that have applications that cannot run under 4.0.x yet.
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-04-03 08:45:06 UTC
Your apps should work under any container (be it Tomcat, Resin 3, Resin 4, Glassfish), I'll add the same symlink to 3.2.1-r3 (you'll need to recompile it manually as I don't see a symlink addition as a valid reason for revision bump) - is that acceptable for you until you can migrate to 4.0?
Comment 4 Alexander Hoogerhuis 2010-04-06 06:42:21 UTC
In our case we run 3.1.x due to that being the version officially supported by a given app. We add the links manally, the bug was opened way back last autumn.
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-04-06 20:12:51 UTC
Yes, sorry for long delay. It's fixed:

Using commit message:
------------------------------------------------------------------------------
Add symlink for hosts for easy virtual host management also for Resin 3.1.9 and 3.2.1.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
------------------------------------------------------------------------------
Comment 6 Alexander Hoogerhuis 2010-04-06 20:13:32 UTC
Wünderbar. Thank you. :)