svn commit: r474415 - in head/sysutils: . reggae

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jul 11 11:54:18 UTC 2018


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


More information about the svn-ports-all mailing list