From owner-freebsd-hackers Tue Jul 31 9: 6:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 0FBBE37B403 for ; Tue, 31 Jul 2001 09:06:50 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id E59A481D05; Tue, 31 Jul 2001 11:06:49 -0500 (CDT) Date: Tue, 31 Jul 2001 11:06:49 -0500 From: Alfred Perlstein To: Dima Dorfman Cc: David Malone , Dan Nelson , hackers@FreeBSD.ORG Subject: Re: portmap_enable vs. rpcbind_enable Message-ID: <20010731110649.Z26571@elvis.mu.org> References: <20010731163832.A91014@walton.maths.tcd.ie> <20010731154633.68EBB3E35@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010731154633.68EBB3E35@bazooka.unixfreak.org>; from dima@unixfreak.org on Tue, Jul 31, 2001 at 08:46:28AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Dima Dorfman [010731 10:53] wrote: > David Malone writes: > > On Tue, Jul 31, 2001 at 08:33:59AM -0700, Dima Dorfman wrote: > > > Dan Nelson writes: > > > > In the last episode (Jul 31), Dima Dorfman said: > > > > > Does anybody know (remember?) why portmap_enable (the rc.conf knob) > > > > > wasn't renamed to rpcbind_enable when portmap became rpcbind? It > > > > > seems odd to have a knob called portmap_enable that actually starts > > > > > something called rpcbind (not to mention violating POLA). > > > > > > > > Probably to keep existing rc.conf's from breaking. Same reason we've > > > > still got xntpd_enable. > > > > > > Why not change the names now, but keep the old ones working until, > > > say, 5.0 is branched? People moving from 4.x will have enough hurdles > > > to jump through as it is, and those using -current will have half a > > > year to change it. > > > > It still is an extra change for people updating from 4.X to 5.0. > > Maybe we should just make a portmap_program variable which is set > > to portmap in -stable and rpcbind in -current. At least things > > would be orthogonal then. > > That's what we already have, but we still have a knob that says it > will start 'portmap' starting something called 'rpcbind', and the user > didn't explicitly ask for that. If people think it's too much > trouble, though, I'm not going to press the issue. I think the main issue was to protect those that specifically turned portmap off from having rpc_bind turn it on. Since portmap and rpcbind are pretty much the same program it made sense at the time to at least keep the old name valid in absence of a specific rpcbind_enable flag. -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message