Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29653

Summary: Xindice ebuild install location, init.d and env.d scripts are not correct (not working).
Product: Gentoo Linux Reporter: Cagil Seker (psiXaos) <cagil>
Component: New packagesAssignee: Patrick Kursawe (RETIRED) <phosphan>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cagil Seker (psiXaos) 2003-09-26 02:00:20 UTC
Thanks for the ebuild but startup scripts are not working! As I can not reopen
the bug, I think I should open a new bug for this (?)...

It works when I change this line:
start() {
#       start-stop-daemon --pidfile /var/run/xindice/xindice.pid\
#               --start --background --user xindice --chuid xindice\
#               --exec /opt/xindice/start

to this line:

start-stop-daemon -o --quiet --background --start --startas /opt/xindice/start \
        --pidfile /var/run/xindice/xindice.pid --chuid xindice --user xindice

Also at the /etc/env.d/21xindice script these lines should be added to make it work:

PATH=/opt/xindice/bin
ROOTPATH=/opt/xindice/bin
CLASSPATH=/opt/xindice/java/lib/xindice.jar



Reproducible: Always
Steps to Reproduce:
emerge xindice
/etc/init.d/xindice start
Actual Results:  
Xindice seems to be started but actually is not!

Expected Results:  
it should be started. (the above lines should be added to the scripts).
Comment 1 Cagil Seker (psiXaos) 2003-09-26 02:16:39 UTC
Oh I forgot to mention that the installation to the "/opt" directory is not
relevant also. "/opt" is for binary packages and xindice is not binary. So
this should be installed to the normal /usr/bin /lib etc. directories like
other packages.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-26 05:35:39 UTC
moving to old bug

*** This bug has been marked as a duplicate of 13244 ***