On 31-Jul-01 David Malone wrote:
> On Tue, Jul 31, 2001 at 08:33:59AM -0700, Dima Dorfman wrote:
>> Dan Nelson <[EMAIL PROTECTED]> 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.

> grep portmap_program /etc/defaults/rc.conf
portmap_program="/usr/sbin/rpcbind"     # path to portmap, if you want a
different one.
> uname -r
5.0-CURRENT

>From cvs annotate:

1.71         (eivind   28-Jul-00): portmap_enable="NO"          # Run the
portmapper service (YES/NO).
1.96         (alfred   19-Mar-01): portmap_program="/usr/sbin/rpcbind"  # path
to portmap, if you want a different one.
1.1          (jkh      09-Feb-99): portmap_flags=""             # Flags to
portmap (if enabled).

>From cvs annotate of rev 1.95:

1.71         (eivind   28-Jul-00): portmap_enable="NO"          # Run the
portmapper service (YES/NO).
1.3          (jfitz    11-Mar-99): portmap_program="/usr/sbin/portmap"  # path
to portmap, if you want a different one.
1.1          (jkh      09-Feb-99): portmap_flags=""             # Flags to
portmap (if enabled).

As you can see, we've had the portmap_program knob for 2.5 years now. :)
Right now there is no change related to portmap for a 4.x -> 5.0 upgrade.
(None that is visible to the user at least.)

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to