bug-hurd
[Top][All Lists]
Advanced

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

Re: fakeroot status (an ongoing story :)


From: Marcus Brinkmann
Subject: Re: fakeroot status (an ongoing story :)
Date: Thu, 23 May 2002 23:36:36 +0200
User-agent: Mutt/1.3.28i

On Thu, May 23, 2002 at 07:50:21PM +0200, Marcus Brinkmann wrote:
> Curses applications have a problem

Ayup.  The problem is with the access() function.

When you just do an access("file", R_OK), the netfs_report_access() function
has np->nn->openmodes == 0, so it says Permission denied.

Roland, can you fix it?  Maybe we need to call check_openmodes in
netfs_report_access()?

>   64->25001 ( 0 {0 0} 0 {0 0}) = 0xfffffed0 ((ipc/mig) server type check 
> failure)
>   64->25001 ( 0 {0 0} 0 {0 0}) = 0xfffffed0 ((ipc/mig) server type check 
> failure)
>   64->25001 ( 0 {0 0} 0 {0 0}) = 0xfffffed0 ((ipc/mig) server type check 
> failure)

Actually, this seems to be a genuine rpctrace bug.  Without fakeroot,
"rpctrace /bin/nano" produces the same failure, it seems.  rpctrace bugs
come later, this week it's fakeroot ;)

> Another problem: emacs doesn't start up at all.

I fixed the io_read on links in libnetfs with this:

2002-05-23  Marcus Brinkmann  <marcus@gnu.org>

        * io-read.c (netfs_S_io_read): If desired amount is larger than
        symlink length, truncate amount.  Actually use WHOLE_LINK to store
        link target temporarily.  When reading the link target directly,
        update *DATALEN.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]