From owner-freebsd-ports@freebsd.org Fri Oct 21 19:32:48 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67AABC1C193 for ; Fri, 21 Oct 2016 19:32:48 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vm.unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6A915F for ; Fri, 21 Oct 2016 19:32:48 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from Vincents-MacBook-Pro-2.local (vhoffman.plus.com [81.174.148.213]) by vm.unsane.co.uk (Postfix) with ESMTPSA id 86CD43016B for ; Fri, 21 Oct 2016 20:32:47 +0100 (BST) Subject: Re: pkg audit -F - insufficient privileges To: freebsd-ports@freebsd.org References: <01019cb0-e7c5-ce5b-3555-1cfbaaec9f7a@utanet.at> <6e2ffc0c-8b9a-09d7-83f5-4cbe1cda2dbf@utanet.at> From: Vincent Hoffman-Kazlauskas Message-ID: Date: Fri, 21 Oct 2016 20:32:46 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <6e2ffc0c-8b9a-09d7-83f5-4cbe1cda2dbf@utanet.at> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 19:32:48 -0000 On 21/10/2016 16:24, Walter Schwarzenfeld wrote: > |chmod 755 /var/db/pkg solved it. > | Possibly this is to do with the "Update to 1.9.0 - Drop privileges in many commands - Drop privileges when fetching a file" Possibly dropping privs to early? I found that my lazy pf rule to only allow root to have http outbound connections broke remote updates with the upgrade to the 1.9.x version, which I suspect to be related to the privilege dropping as an explicit allow http to my update server fixed it. Vince > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"