Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2010 08:50:07 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/109334: pkg_add(1) using chroot exits with error if wrong  directory
Message-ID:  <201003210850.o2L8o7nW018236@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR bin/109334; it has been noted by GNATS.

From: Garrett Cooper <yanegomi@gmail.com>
To: bug-followup@freebsd.org, nick@anywi.com
Cc:  
Subject: Re: bin/109334: pkg_add(1) using chroot exits with error if wrong 
	directory
Date: Sun, 21 Mar 2010 01:42:52 -0700

 On Sat, Mar 20, 2010 at 6:36 PM, Garrett Cooper <yanegomi@gmail.com> wrote:
 > Hi Nick,
 > =A0 =A0I realize that this PR has been sitting around for a long time,
 > but is it possible that you can dig up more details, like filesystem
 > layout and/or environment variables used when trying to run pkg_add? I
 > know this seems like a lot, and yes I might be able to reproduce the
 > issue on my own, but the fact is that there are a large number of
 > potential failures that could occur based on what you had set in your
 > environment and what did not exist on your chrooted filesystem.
 
 Nevermind. This is easy to produce and I know why it's happening. From
 chroot(2):
 
      It should be noted that chroot() has no effect on the process's curren=
 t
      directory.
 
 Let me think about the best way to resolve this issue and I'll get
 back to you by Monday or Tuesday.
 
 Thanks,
 -Garrett



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