Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2014 18:38:56 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   poudriere -- how to set MAKEOBJDIRPREFIX and SSH_AUTH_SOCK?
Message-ID:  <1797207086.20140322183856@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Freebsd-ports.

 I want to update jails via "buildworld" with "svn+ssh+ access to sources,
but I want to use my own MAKEOBJDIRPREFIX, not /usr/obj, and use ssh agenmt
authorization.

 I'm running poudriere as "sudo poudriere <args>". sudo pass these two
 variables:

% sudo env
TERM=screen
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/home/lev/bin
SSH_AUTH_SOCK=/usr/home/lev/.ssh/ssh-auth-sock-fbsd-c-64.vm.home.serebryakov.spb.ru
MAKEOBJDIRPREFIX=/usr/local/poudriere/data/jails-obj
SHELL=/bin/tcsh
MAIL=/var/mail/root
LOGNAME=root
USER=root
USERNAME=root
HOME=/root
SUDO_COMMAND=/usr/bin/env
SUDO_USER=lev
SUDO_UID=1001
SUDO_GID=1001
%

 And "sudo ssh lev@svn-server" works without password too:

% sudo ssh lev@blob
...
%

 But poudriere asks for password for ssh and uses /usr/obj :(

-- 
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




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