From owner-freebsd-pkg@freebsd.org Mon Feb 27 13:05:54 2017 Return-Path: Delivered-To: freebsd-pkg@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 F094FCED1C7 for ; Mon, 27 Feb 2017 13:05:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id DB0EBEBE for ; Mon, 27 Feb 2017 13:05:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DA78ECED1C6; Mon, 27 Feb 2017 13:05:54 +0000 (UTC) Delivered-To: pkg@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 DA239CED1C3 for ; Mon, 27 Feb 2017 13:05:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CA6DFEBD for ; Mon, 27 Feb 2017 13:05:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1RD5sQr009647 for ; Mon, 27 Feb 2017 13:05:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 217390] ports-mgmt/pkg error when running pkg audit in unprivileged directory Date: Mon, 27 Feb 2017 13:05:54 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 13:05:55 -0000 bugzilla@logicalsolutns.com has reassigned Bugzilla Automation 's request for maintainer-feedbac= k to pkg@FreeBSD.org: Bug 217390: ports-mgmt/pkg error when running pkg audit in unprivileged directory https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217390 --- Description --- Possibly related to 213599.. Running 'pkg audit -F' from inside a directory without world-execute privil= ege causes sqlite to fail. (this is the second time that 'pkg running as a reduced privilege user' has caused problems. Why are we doing that?) [root]:[~]# pwd /root [root]:[~]# ls -ald . drwxr-x--- 6 root wheel 512 Feb 27 04:43 . [root]:[~]# pkg audit -F vulnxml file up-to-date pkg: sqlite error while executing sqlite open in file pkgdb.c:1107: unable = to open database file [root]:[~]# chmod o+x . [root]:[~]# pwd /root [root]:[~]# ls -ald . drwxr-x--x 6 root wheel 512 Feb 27 04:43 . [root]:[~]# pkg audit -F vulnxml file up-to-date 0 problem(s) in the installed packages found.