Bug 815266 - Erroneous symbolic link to hsqldb.jar in hsqldb RPM package
Erroneous symbolic link to hsqldb.jar in hsqldb RPM package
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: hsqldb (Show other bugs)
16
Unspecified Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Tomas Radej
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-23 04:52 EDT by ZiN
Modified: 2012-05-14 04:23 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-14 04:23:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description ZiN 2012-04-23 04:52:03 EDT
Description of problem:
The current stable version of hsqldb package contains erroneous symbolic link to hsqldb.jar in /var/lib/hsqldb/lib, so that hsqldb server cannot be run.

Version-Release number of selected component (if applicable):
hsqldb-1.8.1.3-3.fc15

How reproducible:
Install hsqldb. Run 'systemctl start hsqldb'. Start failed. Look system log, and see error messages.

Steps to Reproduce:
1. Install hsqldb.
2. Run 'systemctl start hsqldb'.
3. Run 'grep hsqldb /var/log/messages'
  
Actual results:
Launching hsqldb fails with error messages in system log:
hsqldb[9230]: JAVA_EXECUTABLE or HSQLDB_JAR_PATH in '/etc/sysconfig/hsqldb' is set to a non-file.
systemd[1]: hsqldb.service: control process exited, code=exited status=2
systemd[1]: Unit hsqldb.service entered failed state.

Expected results:
Hsqldb server starting and running.

Additional info:
LANG=C rpm -q hsqldb -l --verbose | awk '{print $9" "$10" "$11}'
/etc/maven/fragments/hsqldb  
/etc/rc.d/init.d/hsqldb  
/etc/sysconfig/hsqldb  
/usr/bin/hsqldbRunUtil  
/usr/share/doc/hsqldb-1.8.1.3  
/usr/share/doc/hsqldb-1.8.1.3/hsqldb_lic.txt  
/usr/share/java/hsqldb.jar  
/usr/share/maven2/poms/JPP-hsqldb.pom  
/var/lib/hsqldb  
/var/lib/hsqldb/data  
/var/lib/hsqldb/lib  
/var/lib/hsqldb/lib/functions  
/var/lib/hsqldb/lib/hsqldb.jar -> hsqldb.jar
/var/lib/hsqldb/lib/servlet.jar -> /usr/share/java/servlet.jar
/var/lib/hsqldb/server.properties  
/var/lib/hsqldb/sqltool.rc  
/var/lib/hsqldb/webserver.properties 

So, one can see that /var/lib/hsqldb/lib/hsqldb.jar is a symbolic link to itself. But it shout be a link to /usr/share/java/hsqldb.jar
Comment 1 Tomas Radej 2012-04-23 05:03:31 EDT
Hi, this issue had already been fixed in this build, I only forgot to push it: https://admin.fedoraproject.org/updates/hsqldb-1.8.1.3-4.fc16?_csrf_token=4d26437866690b61d2adddf87ca24fbc94431d61 . Feel free to add/subtract karma, please.
Comment 2 Tomas Radej 2012-05-14 04:23:20 EDT
Closing, version 1.8.1.3-4.fc16 is in updates.

Note You need to log in before you can comment on or make changes to this bug.