diff options
| author | Dave Olson <olson@cumulusnetworks.com> | 2017-05-12 11:43:01 -0700 |
|---|---|---|
| committer | Dave Olson <olson@cumulusnetworks.com> | 2017-05-23 16:42:48 -0700 |
| commit | dab6c3bb9feb10b67f08b18656fe24d1f7b01d2b (patch) | |
| tree | c841c02461e30d1dc4e194399e45293c883d1c68 /debian/source/format | |
| parent | f9f714b3b7b9f77c0165c0850bd816cac0d46292 (diff) | |
| download | libnss-tacplus-dab6c3bb9feb10b67f08b18656fe24d1f7b01d2b.tar.gz libnss-tacplus-dab6c3bb9feb10b67f08b18656fe24d1f7b01d2b.zip | |
Track changes to config files, and reparse if any change
This is done to handle the case where nss_tacplus.so is included in
a long-lived daemon. It's desirable to have long-lived daemons reflect
changes to the configuration, both to enable/disable debugging, and
particularly if the server list or key changes. Clear all read config
variables to defaults when re-parsing.
This is complicated by nested configuration files via the include
directive. At top level, we need to check all the previously used
configuration files to see if any have changed.
This also adds a limitation to no more than 8 deep include nesting. In
practice, > 2 is going to be very rare, so it should be OK.
Log a message when we re-initialize (without using debug qualifier).
Diffstat (limited to 'debian/source/format')
0 files changed, 0 insertions, 0 deletions
