On Sat, May 11, 2002 at 05:12:15AM +0200, Marcus Brinkmann wrote:
> This is indeed what happens, here in more detail:

What I describe here is the error in the passive translator case.

I tried this change:
diff -u -p -r1.6 fakeroot.c
--- fakeroot.c  6 May 2002 00:40:14 -0000       1.6
+++ fakeroot.c  11 May 2002 12:24:22 -0000
@@ -160,6 +160,10 @@ netfs_validate_stat (struct node *np, st
   if (np->nn->faked & FAKE_MODE)
     st.st_mode = np->nn_stat.st_mode;

+  /* Fake out our own translator setting on the root node.  */
+  if (np == netfs_root_node)
+    st.st_mode &= ~(S_IPTRANS | S_IATRANS);
+
   np->nn_stat = st;
   return 0;
 }

And it fixes the passive translator case described here.

However, in combinaton with --chroot, I still get ENOTDIR from exec,
so there seems to be another bug.  Not easy to test, as I need to get my
feet in the door before it shuts down because of the error.  I will try
rpctrace next, but if that doesn't show up anything it's time for a
neighbor-hurd and setting a breakpoint in the exec server or so.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to