kernel: capability: warning: `jsvc' uses 32-bit capabilities (legacy support in use)

Bug #1886871 reported by Luciano Rodrigues
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
commons-daemon (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04

$ apt-cache policy libcommons-daemon-java
libcommons-daemon-java:
  Installed: 1.0.15-8
  Candidate: 1.0.15-8
  Version table:
 *** 1.0.15-8 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
        100 /var/lib/dpkg/status

$ uname -a
Linux ubuntu 5.4.0-1013-raspi #13-Ubuntu SMP Mon Jun 15 03:17:37 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

Description:

When using the jsvc to start a Java daemon (Omada controller), the following warning shows on log:

kernel: capability: warning: `jsvc' uses 32-bit capabilities (legacy support in use)

I managed to download the source code from commons-daemon, compile and overwrite the jsvc binary. No warnings after that.

Please note that I had to change the Makedefs file as it was not including the linux native headers by adding -I/usr/lib/jvm/java-11-openjdk-arm64/include/linux to INCLUDES.

Source download: https://commons.apache.org/proper/commons-daemon/download_daemon.cgi

Similar to #390803

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.