Hi Piotr--

On Wed 2008-07-02 10:11:40 -0400, Piotr Roszatycki wrote:

> Hi. The new version is almost ready. I didn't have enough time for
> testing :(

I know the feeling :P

> If you want to help, could you download the newest SVN snapshot from
> svn://svn.debian.org/fakechroot/ and try if it work correctly?
> Thanks!

OK, i've built the package from svn revision 266, by doing:

 yada rebuild control
 yada rebuild rules
 emacs debian/changelog ## did some manual changelog edits
 debuild -uc -us

fakechroot seems to work if give an absolute path as the chroot
target, but not if i give a relative path.  Here's an example as a
regular user:

0 [EMAIL PROTECTED]:~/debirf$ pwd
/home/wt215/debirf
0 [EMAIL PROTECTED]:~/debirf$ ls -l minimal/root/fubar 
-rw-r--r-- 1 wt215 wt215 0 2008-07-03 17:47 minimal/root/fubar
0 [EMAIL PROTECTED]:~/debirf$ fakechroot /usr/sbin/chroot 
/home/wt215/debirf/minimal/root ls -l /fubar
-rw-r--r-- 1 1001 1001 0 2008-07-03 17:47 /fubar
0 [EMAIL PROTECTED]:~/debirf$ fakechroot /usr/sbin/chroot minimal/root ls -l 
/fubar
/usr/sbin/chroot: cannot run command `ls': No such file or directory
127 [EMAIL PROTECTED]:~/debirf$ 


And here's the same thing as the superuser (no fakechroot):

[0 [EMAIL PROTECTED] debirf]# pwd
/home/wt215/debirf
[0 [EMAIL PROTECTED] debirf]# chroot minimal/root ls -l /fubar
-rw-r--r-- 1 1001 1001 0 Jul  3 21:47 /fubar
[0 [EMAIL PROTECTED] debirf]# 

Any thoughts as to why that's happening?  Feel free to break this out
into a separate bug report if that makes sense to you.

Thanks for your work,

     --dkg

Attachment: pgp4w3y5JbCj1.pgp
Description: PGP signature

Reply via email to