[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using ps and /proc in buildd chroots possible?

On Wed, Jul 17, 2002 at 12:16:13AM +0200, Christian Hammers wrote:
> On Wed, Jul 17, 2002 at 12:06:16AM +0200, Wichert Akkerman wrote:
> > > I can't figure out why my builds fail on some architectures and success
> > > on some others. As the problematic command is a simple "ps -p $$" in
> > > a ./configure script I wonder if it can be that some buildds don't mount
> > > /proc in their chroots.
> > 
> > Not all do afaik, but why would you want to run that command anyway?
> > I can't think of any reason to examine the list of running processes
> > during a build..
> ./configure tries a "ps p $$ | grep $$" to figure out if ps works like
> BSD or SystemV... I've just compiled a patched version that skips this
> step as the used target system for my packages will be Linux most likely :)
> BTW: Is there a reason not to mount proc in buildd?

Do you build-dep on procps? Since you know what the system runs on a
SysV like structure, maybe you could hardcode it in the configure (or
maybe get the author to write an override in the configure script).

Debian     - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: