Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 16654200C16 for ; Thu, 9 Feb 2017 14:22:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 15031160B50; Thu, 9 Feb 2017 13:22:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 60358160B4C for ; Thu, 9 Feb 2017 14:22:49 +0100 (CET) Received: (qmail 41036 invoked by uid 500); 9 Feb 2017 13:22:48 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 41025 invoked by uid 99); 9 Feb 2017 13:22:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2017 13:22:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0A1ACC0FEF for ; Thu, 9 Feb 2017 13:22:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.198 X-Spam-Level: X-Spam-Status: No, score=-1.198 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7ZjLmmQBDF_F for ; Thu, 9 Feb 2017 13:22:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E2C8D5F1B3 for ; Thu, 9 Feb 2017 13:22:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B64E3E04B5 for ; Thu, 9 Feb 2017 13:22:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4B1AB21D69 for ; Thu, 9 Feb 2017 13:22:42 +0000 (UTC) Date: Thu, 9 Feb 2017 13:22:42 +0000 (UTC) From: "Julien Nicoulaud (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DAEMON-354) DMESG reports: warning: `jsvc' uses 32-bit capabilities (legacy support in use) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Feb 2017 13:22:50 -0000 [ https://issues.apache.org/jira/browse/DAEMON-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859505#comment-15859505 ] Julien Nicoulaud commented on DAEMON-354: ----------------------------------------- The jsvc packages from CentOS 6 and 7 official repositories also have the same warnings. > DMESG reports: warning: `jsvc' uses 32-bit capabilities (legacy support in use) > ------------------------------------------------------------------------------- > > Key: DAEMON-354 > URL: https://issues.apache.org/jira/browse/DAEMON-354 > Project: Commons Daemon > Issue Type: Bug > Components: Jsvc > Affects Versions: 1.0.15 > Environment: {code} > Server version: Apache Tomcat/8.0.36 > Server built: Jun 9 2016 13:55:50 UTC > Server number: 8.0.36.0 > OS Name: Linux > OS Version: 3.10.0-327.28.3.el7.x86_64 > Architecture: amd64 > JVM Version: 1.8.0_102-b14 > JVM Vendor: Oracle Corporation > {code} > Reporter: bidorbuy > Priority: Minor > > Dmesg on CentOS7 displays the following warning: > {code} > [ 22.742524] warning: `jsvc' uses 32-bit capabilities (legacy support in use) > {code} > To reproduce we run the following on CentOS 7: > 1) Install Tomcat 8.0.36 > {code} > 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 > {code} > 2) Compile native library > {code} > 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 > {code} > 3) Compile jsvc > {code} > ## 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 > {code} > 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? -- This message was sent by Atlassian JIRA (v6.3.15#6346)