sonic-buildimage/files/image_config/hostcfgd
Renuka Manavalan 8d8aadb615
Load config after subscribe (#5740)
- Why I did it
The update_all_feature_states can run in the range of 20+ seconds to one minute. With load of AAA & Tacacs preceding it, any DB updates in AAA/TACACS during the long running feature updates would get missed. To avoid, switch the order.

- How I did it
Do a load after after updating all feature states.

- How to verify it
Not a easy one
Have a script that
restart hostcfgd
sleep 2s
run redis-cli/config command to update AAA/TACACS table

Run the script above and watch the file /etc/pam.d/common-auth-sonic for a minute.

- When it repro:
The updates will not reflect in /etc/pam.d/common-auth-sonic
2020-10-31 16:38:32 -07:00
..
common-auth-sonic.j2 [TACACS+]: Add support to specify source address for TACACS+ (#4610) 2020-07-12 18:08:51 +00:00
hostcfgd Load config after subscribe (#5740) 2020-10-31 16:38:32 -07:00
hostcfgd.service Move all minigraph-related action from rc.local to updategraph (#1452) 2018-03-09 17:17:08 -08:00
tacplus_nss.conf.j2 [TACACS+]: Add support to specify source address for TACACS+ (#4610) 2020-07-12 18:08:51 +00:00