Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137332 - hsqldb: /etc/conf.d/hsqldb generates error-message during boot if /usr is on a separate partition
Summary: hsqldb: /etc/conf.d/hsqldb generates error-message during boot if /usr is on ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 22:27 UTC by Tiziano Müller (RETIRED)
Modified: 2007-12-19 22:08 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 Tiziano Müller (RETIRED) gentoo-dev 2006-06-19 22:27:24 UTC
The first line in /etc/conf.d/hsqldb is "JAVA_EXECUTABLE=$(java-config --java)". This can lead to an error message during boot because the config-file is being evaluated before any mounts. In case you have /usr on a seperate partition, you'll get this error message: "java-config not found".
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-06-20 06:23:42 UTC
I think this should be able to be fixed by making the init.d depend on the localmount init.d, which in turn mounts the local filesystems.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2006-06-20 06:29:57 UTC
But why should this be dynamic? /usr/bin/java is a symlink anyway, isn't it?
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-06-20 06:32:57 UTC
(In reply to comment #1)
> I think this should be able to be fixed by making the init.d depend on the
> localmount init.d, which in turn mounts the local filesystems.
> 

I think localmount is in "boot" runlevel and this belongs to "default" so that's not issue. The problem would be (if it's true, which would seem odd to me) that the script's conf.d files are evaluated beforehand, and not when the script is really executed.

Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-07-01 09:41:03 UTC
Revision was bumped to take advantage of new Java system. This should address this issue as well. Thanks for reporting.
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2006-11-26 02:44:20 UTC
(In reply to comment #4)
> Revision was bumped to take advantage of new Java system. This should address
> this issue as well. Thanks for reporting.
> 

Still exists with dev-db/hsqldb-1.7.3.1-r3
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2006-11-26 02:44:37 UTC
hit the wrong radio button
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-12-19 22:08:12 UTC
Should be fixed in 1.8.0.9 which sets JAVA_EXECUTABLE=/usr/bin/java