BIND 10 #2770: dhcp serverid file should not be in the toplevel datadir

BIND 10 Development do-not-reply at isc.org
Wed Mar 20 11:49:38 UTC 2013


#2770: dhcp serverid file should not be in the toplevel datadir
-------------------------------------+-------------------------------------
            Reporter:  jreed         |                        Owner:
                Type:  defect        |  UnAssigned
            Priority:  low           |                       Status:
           Component:  Unclassified  |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-DHCP-20130328
         Sub-Project:  DHCP          |                   Resolution:
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by tmark):

 * owner:  tmark => UnAssigned
 * status:  accepted => reviewing


Comment:

 b10-dhcp4 and b10-dhcp6 get the path for their server id files from
 dhcpsrv/CfgMgr::getDataDir(). This value is set via a compilation flag
 -DDHCP_DATA_DIR which is set in dhcpsrv/Makefile.am to be equal to the
 value of --localstatedir.  I altered this Makefile to add "/bind10" to
 DHCP_DATA_DIR and to create the directory during installation.

 The attached tar ball are test artifacts that demonstrate the change works
 correctly.

 I recommend the following ChangeLog entry:

 "5XX.    [func]      tmark
     The directory in which the b10-dchp4 and b10-dhcp6 server id files has
     been changed from --localstatedir to --localstatedir/bind10. After an
     upgrade, server id files in the former location will be orphaned and
     should be manually removed.
     (Trac #2770, git ba20d4a58b6d7ea93c69681372bd6f1064491d1a)
 "

-- 
Ticket URL: <http://bind10.isc.org/ticket/2770#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list