BIND 10 #1274: config_plugins installation location and python byte compilation

BIND 10 Development do-not-reply at isc.org
Fri Sep 30 15:06:44 UTC 2011


#1274: config_plugins installation location and python byte compilation
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:
                       Type:         |                Status:  new
  defect                             |             Milestone:  New Tasks
                   Priority:  minor  |            Resolution:
                  Component:         |             Sensitive:  0
  Unclassified                       |           Sub-Project:  Core
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jreed):

 Replying to [comment:1 vorner]:

 > Also, the plugin-loading machinery just goes through a directory and
 loads everything it finds there. So nothing else should get into that
 place also.

 Can you explain that from the following context?

 {{{

 freebsd8-32-1-on-virt1# ls -l
 /usr/local/share/bind10-devel/config_plugins/
 total 22
 -r--r--r--  1 root  wheel  5285 Sep 29 20:21 b10logging.py
 -r--r--r--  1 root  wheel  2545 Sep 29 19:39 b10logging.pyc
 -r--r--r--  1 root  wheel  2990 Sep 29 20:21 logging.spec
 -r--r--r--  1 root  wheel  2097 Sep 29 20:21 tsig_keys.py
 -r--r--r--  1 root  wheel  1407 Sep 29 19:39 tsig_keys.pyc
 -r--r--r--  1 root  wheel   589 Sep 29 20:21 tsig_keys.spec

 }}}

 Note that these .pyc and .pyo were created at run-time and not
 installation time, so next time it runs does it attempt to load
 "everything" (so duplicating)?

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


More information about the bind10-tickets mailing list