*BSD News Article 99325


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.internetmci.com!in2.uu.net!207.167.14.9!scanner.worldgate.com!not-for-mail
From: Marc Slemko <marcs@znep.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: strace or similar for FreeBSD
Date: 10 Jul 1997 05:20:59 GMT
Organization: WorldGate Inc.  http://www.worldgate.com/
Lines: 29
Message-ID: <5q1rfr$oph$1@scanner.worldgate.com>
References: <5q1igs$353$2@otis.netspace.net.au>
NNTP-Posting-Host: valis.worldgate.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44192

ktrace.  Works great wonders.

Not as nice as something like Solaris's truss, but...

In <5q1igs$353$2@otis.netspace.net.au> mheath@netspace.net.au (Mark Heath) writes:

>Hi,
>	Im trying to determine what files I need for a chrooted 
>filesystem and have been very unsucessful.  

>So I would like to know:
>Is there an easier way to chroot? (I've seen some archived posts refering 
>to an LD_CHROOT environment variable)

That is what someone (Julian Assange perhaps?) submitted a patch to 
implement LD_CHROOT which makes life a bit easier; should be able
to find it by searching the PR database.  Not sure I can really
recommend it though.

>Or determine what files an executable is trying to open (similar to 
>Linux's strace) 

>Thank you.

>--
>-- mark heath - Netspace Online Systems.  http://www.netspace.net.au/
>"If I had a cent for each time a Microsoft application crashed, I'd be 
>richer than Bill Gates by now.."
>:wq