From owner-svn-ports-all@freebsd.org Wed Jul 11 11:54:17 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2F61103247F; Wed, 11 Jul 2018 11:54:17 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81B918D6D2; Wed, 11 Jul 2018 11:54:17 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 7311B330E; Wed, 11 Jul 2018 11:54:17 +0000 (UTC) Date: Wed, 11 Jul 2018 11:54:17 +0000 From: Alexey Dokuchaev To: Mathieu Arnold Cc: Ruslan Makhmatkhanov , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r474415 - in head/sysutils: . reggae Message-ID: <20180711115417.GA58171@FreeBSD.org> References: <201807102220.w6AMKbGk045380@repo.freebsd.org> <20180710223008.t4c2rqh45s2244xg@atuin.in.mat.cc> <20180711062412.hfzdgdlg63h5cwhu@atuin.in.mat.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180711062412.hfzdgdlg63h5cwhu@atuin.in.mat.cc> User-Agent: Mutt/1.9.5 (2018-04-13) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2018 11:54:18 -0000 On Wed, Jul 11, 2018 at 08:24:12AM +0200, Mathieu Arnold wrote: > On Wed, Jul 11, 2018 at 09:11:39AM +0300, Ruslan Makhmatkhanov wrote: > > ... > > RUN_DEPENDS= cbsd:sysutils/cbsd > > > > fails with > > > > ===> Staging for reggae-0.0.10 > > ===> reggae-0.0.10 depends on executable: cbsd - not found > > ===> Installing existing package /packages/All/cbsd-11.2.0.txz > > pkg-static: Insufficient privileges to add packages Looks more like "insufficient privileges to run the executable to see if the depencency is installed". > > RUN_DEPENDS= ${LOCALBASE}/bin/cbsd:sysutils/cbsd Right, because this way, it does not have to run it, just check for file existence. > Mmmmm, right, it seems cbsd installs pretty restrictive rights: > > -r-x------ 0 cbsd cbsd 2993344 4 juil. 20:37 /usr/local/bin/cbsd > > reggea would need to run as cbsd too to be able to work properly. Or as > root, as I wonder, cbsd would also need to run as, reading from its > pkg-descr, it is supposed to manage jails and bhyve. Wondering why cbsd > installs with those rights. Still, that error message shown above looks a bit misleading to me. ./danfe