From owner-freebsd-java@FreeBSD.ORG Sun Sep 7 10:06:45 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DAF90467; Sun, 7 Sep 2014 10:06:45 +0000 (UTC) Received: from mail-gw5.york.ac.uk (mail-gw5.york.ac.uk [144.32.129.29]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 969CE1BC8; Sun, 7 Sep 2014 10:06:44 +0000 (UTC) Received: from ury.york.ac.uk ([144.32.64.162]:38295) by mail-gw5.york.ac.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XQZHd-000625-Nj; Sun, 07 Sep 2014 11:01:21 +0100 Received: from csteach0.york.ac.uk ([144.32.196.9] helo=[127.0.0.1]) by ury.org.uk with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XQZHZ-000NKj-JC; Sun, 07 Sep 2014 11:01:21 +0100 Message-ID: <540C2CEC.3020303@ury.york.ac.uk> Date: Sun, 07 Sep 2014 11:01:16 +0100 From: Anthony Williams Reply-To: anthony@ury.york.ac.uk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0 MIME-Version: 1.0 To: Craig Rodrigues References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: anthony@ury.org.uk X-SA-Exim-Connect-IP: 144.32.196.9 X-SA-Exim-Mail-From: anthony@ury.org.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ury.york.ac.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS autolearn=no autolearn_force=no version=3.4.0 Subject: Re: Jenkins and PAM problem with JNA 4.1 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on ury.org.uk) Cc: "jenkins-admin@freebsd.org" , "freebsd-java@freebsd.org" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2014 10:06:46 -0000 Hi Craig, Looks like you didn't include a link for your jenkins.war file, so I built my own using your branch of jenkins at https://github.com/rodrigc/jenkins/tree/JENKINS-24521-2 (built on Ubuntu 12.04 with Oracle/Sun Java 7). For my own .war, UNIX local account logins are working normally using FreeBSD 10.0-RELEASE, with nothing of note in the log file, so I'm not sure why we're getting differing results. I did remove my ~.m2 directory entirely to be sure that no local packages were being used. Thanks, Anthony On 06/09/14 23:19, Craig Rodrigues wrote: > Anthony, > > Thanks for submitting: > > https://github.com/jenkinsci/jna/pull/2 > > to fix the JNA library in Jenkins for FreeBSD. > I'm not sure if the Jenkins developers will accept it, but we'll see. > FreeBSD is low on their priority list. :( > > I submitted another patch to the Jenkins developers > to change Jenkins to use JNA 4.1, which has the FreeBSD fix you > mentioned. JNA 4.1 fixes things on other platforms like Linux on > ARM, so I thought that might get more interest from the Jenkins > developers: > > https://github.com/jenkinsci/jenkins/pull/1387 > > > I built my own jenkins.war file, which is available here: > > > > When I start Jenkins with it, everything starts up fine. When > I try to configure Jenkins to use Unix passwords, > none of my local Unix passwords work. However, this time, I do *not* get > any errors in /var/log/jenkins.log, like I reported > in: > > https://issues.jenkins-ci.org/browse/JENKINS-21507 > > Do you have any idea what the problem might be? > > If you or any other FreeBSD developer with Java expertise with > JNA and Maven files could help, I would appreciate it! > > -- > Craig