Public bug reported:

After uploading a Snap for arm architecture containing a jar packaged
with the java/jar plugin, i get the following error from the automated
review process:

package contains external symlinks: usr/lib/jvm/java-8-openjdk-
armhf/jre/lib/security/cacerts lint-snap-v2_external_symlinks

command "ls -l prime/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/security/" shows 
the following:
lrwxrwxrwx 3 ubuntu ubuntu  66 Jul  5 09:02 blacklisted.certs -> 
../../../../../../../etc/java-8-openjdk/security/blacklisted.certs
lrwxrwxrwx 3 ubuntu ubuntu  27 Apr 23 10:34 cacerts -> 
/etc/ssl/certs/java/cacerts
lrwxrwxrwx 3 ubuntu ubuntu  60 Jul  5 09:02 java.policy -> 
../../../../../../../etc/java-8-openjdk/security/java.policy
lrwxrwxrwx 3 ubuntu ubuntu  62 Jul  5 09:02 java.security -> 
../../../../../../../etc/java-8-openjdk/security/java.security
-rw-r--r-- 3 ubuntu ubuntu 645 Apr 23 10:29 local_policy.jar
lrwxrwxrwx 3 ubuntu ubuntu  56 Jul  5 09:02 nss.cfg -> 
../../../../../../../etc/java-8-openjdk/security/nss.cfg
-rw-r--r-- 3 ubuntu ubuntu 627 Apr 23 10:29 US_export_policy.jar

It appears openjdk-8-jre-headless contains an absolute symlink - not
allowed by the automated review process.

Package is built using:
Description:    Ubuntu 16.04 LTS
Release:        16.04

** Affects: snapcraft (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599281

Title:
  Java snap upload automated review error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1599281/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to