From: Neil Brown Subject: Re: Portmap - was Re: Does mountd/statd really need to listen on a privileged port?? Date: Tue, 24 Apr 2007 10:56:40 +1000 Message-ID: <17965.21960.121292.462553@notabene.brown> References: <17958.48121.280256.493824@notabene.brown> <20070419012154.GB19063@javifsp.no-ip.org> <17960.11704.321124.641669@notabene.brown> <4629120C.60803@RedHat.com> <17964.12324.307985.65596@notabene.brown> <17964.21206.435402.157895@notabene.brown> <462CB7F9.2040800@RedHat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Matthias Koenig , nfs@lists.sourceforge.net, Olaf Kirch , =?ISO-8859-1?Q?Javier_Fern=E1ndez-Sanguino_Pe=F1a?= , anibal@debian.org To: Steve Dickson Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1Hg9L0-0002x9-FI for nfs@lists.sourceforge.net; Mon, 23 Apr 2007 17:56:59 -0700 Received: from mx1.suse.de ([195.135.220.2]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Hg9L1-0007lL-Nr for nfs@lists.sourceforge.net; Mon, 23 Apr 2007 17:57:01 -0700 In-Reply-To: message from Steve Dickson on Monday April 23 List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Monday April 23, SteveD@redhat.com wrote: > > I have added both compile-time and run-time setting of the uid and > > gid, and allowed a username to be set at compile time. I have also > > made it possible to compile in host-name lookups. The man-page > > auto-adjusts to match the compile options. > > > > make RPCUSER=rpc DAEMON_UID=4 DAEMON_GID=100 USE_DNS=yes > > > > I think it is now should do all that I want, and should be a slot-in > > replacement for any distro that wants it (providing they choose > > appropriate Make options). > When porting this functionality to rpcbind, I made the setting of > the uid a configuration argument (i.e. --with-rpcuser=user) > See attached patch... Its basically doing the same thing in a > different way... > > I guess I've become a fan of letting autoconf (and friends) create > the makefiles verses me hacking on them... although working with > that autoconf API can drive one to drink (which it has ;-) ) but > in the end, I do think it makes things a be more configurable... Conversely, I find autoconf and friends deeply unsatisfying. Both the configure.in and the generated files are just so .... messy. Yes: if you have autoconf in place, you approach is very sensible. But I would like to avoid autoconf where possible. Hopefully portmap is simple enough that it will remain possible. NeilBrown ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs