Bug#481112: pbuilder: no longer possible to specify PATH

sean finney seanius at debian.org
Sun May 18 08:48:52 UTC 2008


hi junichi,

On Sunday 18 May 2008 09:34:03 am Junichi Uekawa wrote:
> Oh, erm, yeah.  I don't think it's a good idea to request everyone to
> modify their /etc/profile inside chroot.  What would be a proper fix?
> I was thinking of dumping PATH and sourcing the PATH value inside
> chroot, but what else do I need to special-case?
>
> I'd like some input from ccache users.

that's the the only variable that i've seen with problems.  as i mentioned 
earlier setting other arbitrary variables works fine, so setting variables 
like CCACHE_UMASK CCACHE_DIR has no problem.  besides these variables and 
PATH, the only other things you need in a chroot is a bind mount of a ccache 
dir and ccache installed inside the chroot (both of which i've done via 
pbuilderrc)  therefore i don't think there's anything else that needs to be 
special cased.  PATH is special only because /etc/profile arbitrarily sets it 
without consideration to what it may already have been set.

So, if you have a way to get PATH set without needing to modify /etc/profile, 
i'm glad to hear it :)

	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20080518/45c5f68d/attachment-0001.pgp 


More information about the Pbuilder-maint mailing list