Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63492 - resin ebuilds have multiple problems
Summary: resin ebuilds have multiple problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High critical
Assignee: Thomas Matthijs (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-09 18:27 UTC by Matthew Marlowe (RETIRED)
Modified: 2004-09-10 05:18 UTC (History)
0 users

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 Matthew Marlowe (RETIRED) gentoo-dev 2004-09-09 18:27:12 UTC
The ebuilds create the resin user/group but do not
chown the appropriate files resulting in installations
that will not start.

I tested both the resin 3.0.8 and 2.1.14 ebuilds on two
up to date gentoo boxes and experienced similiar results.

At the very least, the ebuilds need to:
chown -R resin:resin /opt/resin
chown -R resin:resin /var/log/resin
chown -R resin:resin /etc/resin
chown -R resin:resin /usr/share/resin

Furthermore, the ebuilds create a configuration
file /etc/conf.d/resin, but I am unable to find
anywhere the contents are actually read and
processed during resin startup.  There does not
appear to be a "source /etc/conf.d/resin" in either
/etc/init.d/resin, /opt/resin/bin/httpd.sh, or
/opt/resin/bin/wrapper.pl.

Any significant resin site will need to set appropriate
java options...and it is highly misleading and potientially
dangerous for the configuration file to appear to accept them
but not process.

Finally, some symbolic links just weren't setup...

/etc/resin/conf -> /opt/resin/conf
/var/log/resin -> /opt/resin/log

I believe these ebuilds need significant review..

Reproducible: Always
Steps to Reproduce:
1.install resin
2.try to use it
3.

Actual Results:  
many many failures

Expected Results:  
run
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-10 05:18:54 UTC
I fixed the symlink and the conf chown in 3.0.8
also added a check if /opt/resin/conf is a dir (from 2.* ebuilds), and if it is, i move the files too (/etc/resin/conf.old). So that portage can created the symlink.

Why does resin need to own /usr/share/resin(/lib) ?
It should only be able to read from those, and it can...

/etc/conf.d/resin is sourced automaticly in /etc/init.d/resin by runscript

I don't use resin myself, only test i (can) run are the examples

If you have any other comments please let me know.