Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2009 21:51:50 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/etc/rc.d named
Message-ID:  <200912122151.nBCLpxGO060481@repoman.freebsd.org>

index | next in thread | raw e-mail

dougb       2009-12-12 21:51:50 UTC

  FreeBSD src repository

  Modified files:
    etc/rc.d             named 
  Log:
  SVN rev 200448 on 2009-12-12 21:51:50Z by dougb
  
  Since the change to rc.subr in r198162 it's not necessary to specify
  command in the rc.d script if we have a corresponding ${name}_program
  entry, which we do for named.
  
  Rename named_precmd to named_prestart to make it more clear and match
  convention.
  
  Move the command_args definition related to -u up into _prestart().
  It (and the associated $named_uid value) are only used there, and
  unlike required_* and pidfile don't need to be used until this stage.
  
  Fix a silly bug that would only have affected people who were using
  the new named_wait or named_auto_forward features, AND had set up an
  rndc.conf file instead of using the automatically generated rndc.key.
  
  For named_conf:
          Add "-c $named_conf" to command_args if it's not set to the
          default. If it is set to the default and we're using the base
          BIND it's not necessary. If we're using BIND from the ports
          the user is likely to have included it in _flags (due to long
          necessity for doing so) so don't duplicate that if it's set.
  
          Add $named_conf to required_files
  
  Revision  Changes    Path
  1.32      +16 -7     src/etc/rc.d/named


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912122151.nBCLpxGO060481>