Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 815266 - Erroneous symbolic link to hsqldb.jar in hsqldb RPM package
Summary: Erroneous symbolic link to hsqldb.jar in hsqldb RPM package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: hsqldb
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas 'Sheldon' Radej
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-23 08:52 UTC by ZiN
Modified: 2012-05-14 08:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-14 08:23:20 UTC
Type: Bug


Attachments (Terms of Use)

Description ZiN 2012-04-23 08:52:03 UTC
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 'Sheldon' Radej 2012-04-23 09:03:31 UTC
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 'Sheldon' Radej 2012-05-14 08:23:20 UTC
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.