Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 11:54:17 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        Ruslan Makhmatkhanov <rm@FreeBSD.org>, 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>
In-Reply-To: <20180711062412.hfzdgdlg63h5cwhu@atuin.in.mat.cc>
References:  <201807102220.w6AMKbGk045380@repo.freebsd.org> <20180710223008.t4c2rqh45s2244xg@atuin.in.mat.cc> <f8914c0a-d18a-26d5-19d0-504b18862900@FreeBSD.org> <20180711062412.hfzdgdlg63h5cwhu@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180711115417.GA58171>