Bug 3051 - hsqldb.jar symlink not generated correctly during package install
Summary: hsqldb.jar symlink not generated correctly during package install
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: D Morgan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-15 00:07 CEST by Barry Jackson
Modified: 2011-12-11 22:57 CET (History)
3 users (show)

See Also:
Source RPM: hsqldb
CVE:
Status comment:


Attachments

Description Barry Jackson 2011-10-15 00:07:17 CEST
I was getting this error:
[root@jackodesktop baz]# service -s | grep mysqld
JAVA_EXECUTABLE or HSQLDB_JAR_PATH in '/etc/sysconfig/hsqldb' is set to a non-file.

After some digging I found that the symlink at /var/lib/hsqldb/lib/hsqldb.jar was pointing to itself instead of /usr/share/java/hsqldb.jar.

Looking at hsqldb.spec the symlink generation seems OK, yet it fails to be created correctly during installation. (I removed it and re-installed with urpmi --replacepkgs hsqldb but still the link failed)

I am somewhat baffled.

Looking at the changelog I see that this was recently modified.
Comment 1 Barry Jackson 2011-10-15 11:43:53 CEST
After creating the link manually (using the same syntax as in the spec) the perms all look OK down both paths :\

[root@jackodesktop lib]# namei -o /var/lib/hsqldb/lib/hsqldb.jar
f: /var/lib/hsqldb/lib/hsqldb.jar
 d root root /
 d root root var
 d root root lib
 d root root hsqldb
 d root root lib
 l root root hsqldb.jar -> /usr/share/java/hsqldb.jar
   d root root /
   d root root usr
   d root root share
   d root root java
   - root root hsqldb.jar
[root@jackodesktop lib]# namei -m /var/lib/hsqldb/lib/hsqldb.jar
f: /var/lib/hsqldb/lib/hsqldb.jar
 drwxr-xr-x /
 drwxr-xr-x var
 drwxr-xr-x lib
 drwxr-xr-x hsqldb
 drwxr-xr-x lib
 lrwxrwxrwx hsqldb.jar -> /usr/share/java/hsqldb.jar
   drwxr-xr-x /
   drwxr-xr-x usr
   drwxr-xr-x share
   drwxr-xr-x java
   -rw-r--r-- hsqldb.jar

Hope that helps - I thought there may be something somewhere blocking it but seems fine to me. :\
Comment 2 Marja Van Waes 2011-12-11 15:09:22 CET
@ Barry

Is the issue still there in current cauldron?

If so, do you mind c&p'ing that part of the changelog you talked about in the Description of this report, I keep looking over it. (Well, I don't see any recent changes)

No maintainer and D Morgan is already in the cc. 

@ Guillaume
CC'ing you because you touched the package three times ± 10 yrs ago. Yes, I'm crazy %þ.
Feel free to remove yourself from the cc if you don't want to read this bug.

CC: (none) => guillomovitch, marja11

Comment 3 D Morgan 2011-12-11 22:55:05 CET
i though i had uploaded the fixed package already.
I uploaded one, and i will close this bugreport after the build is oK
Comment 4 D Morgan 2011-12-11 22:56:50 CET
new fixed package uploaded.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

D Morgan 2011-12-11 22:57:00 CET

Assignee: bugsquad => dmorganec


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