On Sun, May 12, 2002 at 07:40:05PM -0400, Roland McGrath wrote:
> > * Creating pipe fails also with Operation not permitted, and I have no clue
> >   yet why. /servers/socket/1 is correctly looked up (with flags being 0, by
> >   the way), and then I don't think the pflocal server is even involved in
> >   the matter.  I will have to do more debugging here.
> 
> You mean fakeroot is not involved any more, right?  The call that matters
> is the socket_create call that needs to be forwarded by the generic code in
> fakeroot's netfs_demuxer.  It's after that call is made that fakeroot
> should no longer be involved.

Ugh, netfs_attempt_lookup did not fail, but netfs_S_dir_lookup does!  This
is because it sees that S_ISCHR evaluates to true on the node.  Because
fakeroot has no translator started on the node yet, fshelp_fetch_root will
try to do so.

Of course, it is not allowed to start a translator (whatever type of
translator it wants to start, I didn't check which, maybe even "chrdev") as
root (which is still the owner of /server/socket/1), so fshelp_fetch_root
fails with EPERM.

Distress.  What can we do?  Override... netfs_S_dir_lookup?
fshelp_fetch_root?

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