Re: Some questions about libports and notification of ports

2008-08-27 Thread Da Zheng
Thomas Bushnell BSG wrote: If you want to serve that file, you'll be writing a trivfs translator for it. I'm sorry, I don't understand you. The translator associated to the device file is actually written with libtrivfs. Good grief, I can't keep track of what you are talking a

Re: RPC implementation - Help me please

2008-08-27 Thread Madhusudan C.S
On Mon, Aug 25, 2008 at 2:11 AM, Da Zheng <[EMAIL PROTECTED]> wrote: > Madhusudan C.S wrote: > >> Hi all, >> I added 2 routines in $(HURD-SRC)/hurd/process.defs with the names >> proc_child_rusage and proc_progeny_usage. And then in >> $(HURD-SRC)/proc/info.c, I implemented S_proc_child_ru

Re: RPC implementation - Help me please

2008-08-27 Thread Madhusudan C.S
On Mon, Aug 25, 2008 at 3:54 AM, Samuel Thibault < [EMAIL PROTECTED]> wrote: > IIRC you need to recompile glibc too, to have the RPC functions added to > libhurduser. > apt-get source glibc and dpkg-buildpackage -uc -B fails for some weird compilation errors in bsd files. I forgot to log the erro

Re: RPC implementation - Help me please

2008-08-27 Thread Michael Banck
On Thu, Aug 28, 2008 at 12:23:36AM +0530, Madhusudan C.S wrote: > apt-get source glibc and dpkg-buildpackage -uc -B fails for some weird > compilation errors in bsd files. I forgot to log the errors. Is this a known > bug or is it necessary to give the build logs to find out what it is? Luckily, g

Re: RPC implementation - Help me please

2008-08-27 Thread Madhusudan C.S
On Thu, Aug 28, 2008 at 12:29 AM, Michael Banck <[EMAIL PROTECTED]> wrote: > On Thu, Aug 28, 2008 at 12:23:36AM +0530, Madhusudan C.S wrote: > > apt-get source glibc and dpkg-buildpackage -uc -B fails for some weird > > compilation errors in bsd files. I forgot to log the errors. Is this a > known

Re: What operations in store_parsed_open() need the privilege?

2008-08-27 Thread Da Zheng
Thomas Bushnell BSG wrote: On Wed, 2008-08-27 at 03:48 +0200, Da Zheng wrote: It sounds as if you got EPERM from store_parse_open, but proc_getprivports is not being called, so you are having trouble understanding why you got an error message at all. Yes, exactly. This will d

Re: What operations in store_parsed_open() need the privilege?

2008-08-27 Thread Thomas Bushnell BSG
On Wed, 2008-08-27 at 23:32 +0200, Da Zheng wrote: > I know boot fails and gets EPERM when it calls store_parsed_open, but I > need to know what operations inside store_parsed_open() fail. Otherwise, > I don't know how to fix it. Boot assumes that it is run as root, and assumes that quite thorou

Re: What operations in store_parsed_open() need the privilege?

2008-08-27 Thread Da Zheng
Thomas Bushnell BSG wrote: On Wed, 2008-08-27 at 23:32 +0200, Da Zheng wrote: I know boot fails and gets EPERM when it calls store_parsed_open, but I need to know what operations inside store_parsed_open() fail. Otherwise, I don't know how to fix it. Boot assumes that it is run as roo

The error of compiling glibc

2008-08-27 Thread Da Zheng
Hello, I get the glibc by "apt-get source glibc" and do "./debian/rules patch" to get the buildable glibc as Samuel Thibault suggested. I create a directory named build-gcc and in this directory, I do "./glibc-2.7/configure --host=i686-gnu --without-cvs --enable-add-ons=libidn --enable-profile

Re: RPC implementation - Help me please

2008-08-27 Thread Samuel Thibault
Madhusudan C.S, le Thu 28 Aug 2008 00:23:36 +0530, a écrit : > On Mon, Aug 25, 2008 at 3:54 AM, Samuel Thibault <[EMAIL PROTECTED]> > wrote: > > IIRC you need to recompile glibc too, to have the RPC functions added to > libhurduser. > > > apt-get source glibc and dpkg-buildpackage -uc -B

Re: The error of compiling glibc

2008-08-27 Thread Samuel Thibault
Da Zheng, le Thu 28 Aug 2008 00:33:47 +0200, a écrit : > It's so weird. I could build glibc in the same way last time. > Did I miss some patches? How do I fix it? Again, that's a bug in the hurd package, -4 will fix it, you can fetch a snapshot from svn://svn.debian.org/svn/pkg-hurd/hurd/trunk/deb

Re: What operations in store_parsed_open() need the privilege?

2008-08-27 Thread Thomas Bushnell BSG
On Thu, 2008-08-28 at 00:21 +0200, Da Zheng wrote: > Thomas Bushnell BSG wrote: > > On Wed, 2008-08-27 at 23:32 +0200, Da Zheng wrote: > > > >> I know boot fails and gets EPERM when it calls store_parsed_open, but I > >> need to know what operations inside store_parsed_open() fail. Otherwise,

Re: What operations in store_parsed_open() need the privilege?

2008-08-27 Thread Neal H. Walfield
At Wed, 27 Aug 2008 15:05:59 -0700, Thomas Bushnell BSG wrote: > > On Wed, 2008-08-27 at 23:32 +0200, Da Zheng wrote: > > I know boot fails and gets EPERM when it calls store_parsed_open, but I > > need to know what operations inside store_parsed_open() fail. Otherwise, > > I don't know how to f