openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #08025
Bug#672279: openjdk-7: Remove $ORIGIN to enable capabilities
Package: openjdk-7-jre
Version: 7~u3-2.1-3
Severity: wishlist
File: openjdk-7
Dear Maintainer,
I would like to be able to run a Java app with a capability flag for
binding to a privileged port (<1024). Currently this doesn't work,
because executables with capabilities can't use
This is a known bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6919633
There is a workaround, running patchelf to remove $ORIGIN from rpath,
although I haven't been able to try it as I don't think Debian includes
patchelf.
Now that we're not relying on Sun's packaging, I think we can fix this issue.
Here is a redhat bug on the issue:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=11570
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openjdk-7-jre depends on:
ii libasound2 1.0.25-2
ii libatk-wrapper-java-jni 0.30.4-1
ii libatk1.0-0 2.4.0-2
ii libc6 2.13-32
ii libcairo2 1.10.2-7
ii libcups2 1.5.2-5
ii libfontconfig1 2.8.0-3.1
ii libfreetype6 2.4.9-1
ii libgconf2-4 3.2.3-4
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libgif4 4.1.6-9
ii libgl1-mesa-glx 7.11.2-1
ii libglib2.0-0 2.32.0-4
ii libgnome2-0 2.32.1-2
ii libgnomevfs2-0 1:2.24.4-1
ii libgtk2.0-0 2.24.10-1
ii libjpeg8 8d-1
ii libpango1.0-0 1.29.4-3+b1
ii libpng12-0 1.2.49-1
ii libpulse0 1.1-3+b1
ii libx11-6 2:1.4.4-4
ii libxext6 2:1.3.1-2
ii libxi6 2:1.4.5-1.1
ii libxinerama1 2:1.1.1-3
ii libxrandr2 2:1.3.2-2
ii libxrender1 1:0.9.6-2
ii libxtst6 2:1.2.0-4
ii openjdk-7-jre-headless 7~u3-2.1-3
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages openjdk-7-jre recommends:
ii ttf-dejavu-extra 2.33-2
Versions of packages openjdk-7-jre suggests:
pn icedtea6-plugin <none>
-- no debconf information
Follow ups