Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
1.0.15
-
None
-
None
Description
Dmesg on CentOS7 displays the following warning:
[ 22.742524] warning: `jsvc' uses 32-bit capabilities (legacy support in use)
To reproduce we run the following on CentOS 7:
1) Install Tomcat 8.0.36
wget -O /tmp/tomcat8.tgz http://apache.saix.net/tomcat/tomcat-8/v8.0.36/bin/apache-tomcat-8.0.36.tar.gz
cd /tmp
tar -zxvf /tmp/tomcat8.tgz
mkdir /usr/share/tomcat8
mv /tmp/apache-tomcat-8.0.36/* /usr/share/tomcat8
2) Compile native library
yum install apr-devel gcc make zlib-devel tar -xvzf /usr/share/tomcat8/bin/tomcat-native.tar.gz -C /tmp cd /tmp/tomcat-native-1.2.7-src/native/ ./configure --with-apr=/usr/bin/apr-1-config --with-java-home=/usr/java/default/ --with-ssl=no --prefix=/usr/share/tomcat8 make make install
3) Compile jsvc
## Extract and compile from source: tar -xvf /usr/share/tomcat8/bin/commons-daemon-native.tar.gz -C /tmp/ cd /tmp/commons-daemon-*-native-src/unix ./configure --with-java=/usr/java/latest make ## Adjust permissions/ownership and move the executable into place chmod a+x jsvc mv jsvc /usr/share/tomcat8/bin/ ## Test that the compiled version works /usr/share/tomcat8/bin/jsvc --help
Tomcat 8.0.36 ships with DAEMON 1.0.15. I am not sure if the above compile settings are wrong or we are missing something?