sonic-buildimage/files/image_config
Renuka Manavalan 3ea38a9788
Add service to restore TACACS from old config (#7560) (#7865)
In upgrade scenarios, where config_db.json is not carry forwarded to new image, it could be left w/o TACACS credentials.
Added a service to trigger 5 minutes after boot and restore TACACS, if /etc/sonic/old_config/tacacs.json is present.

How I did it
By adding a service, that would fire 5 mins after boot.
This service apply tacacs if available.

How to verify it
Upgrade and watch status of tacacs.timer & tacacs.service
You may create /etc/sonic/old_config/tacacs.json, with updated credentials
(before 5mins after boot) and see that appears in config & persisted too.
2021-06-15 10:52:31 -07:00
..
apt [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
bash [baseimage]: Increase TMOUT for serial port connections to 15 minutes (#3032) 2019-06-19 00:16:01 -07:00
caclmgrd [multi-asic] Enhanced iptable default rules (#6765) 2021-02-25 18:39:43 -08:00
config-setup Add service to restore TACACS from old config (#7560) (#7865) 2021-06-15 10:52:31 -07:00
constants [bgpcfgd]: Fixes for BBR (#5956) 2020-11-19 10:42:42 -08:00
corefile_uploader corefile uploader: Updates per review comments offline (#3915) 2019-12-31 14:42:01 -08:00
cron.d [core_cleanup] Fix issue where core_cleanup job runs too frequently (#3659) 2019-10-23 15:55:47 -07:00
ebtables [ebtbles] Replace binary config file to text config file for ebtables (#5252) 2021-01-27 16:57:41 -08:00
environment [image]: Update login message (#706) 2017-06-14 15:18:02 -07:00
fstrim [baseimage]: Add fstrim service and fstrim timer by default (#2804) 2019-04-21 14:21:16 -07:00
hostcfgd Add support for BGP Monitors on multi asic SONiC platforms. (#6977) 2021-03-06 21:21:52 -08:00
hostname [hostname-config] improve hostname-config process (#3676) 2019-10-29 08:30:27 -07:00
interfaces [interfaces] Reduce Calls to SONiC Cfggen (#5174) 2020-12-22 09:51:54 -08:00
kubernetes [baseimage]: Install Kubernetes packages if enabled in image (#4374) (#4432) 2020-04-16 21:54:45 -07:00
logrotate [Multi Asic] support of swss.rec and sairedis.rec for multi asic (#6310) 2021-01-27 17:12:32 -08:00
misc Fix to remove the import of APIClient (#5724) 2020-10-27 08:32:37 -07:00
monit [201911][Monit] Restart telemetry container if memory usage is beyond the threshold (#7618) 2021-05-17 16:51:13 -07:00
ntp [ntp] disable ntp long jump (#4748) 2020-06-16 08:15:00 -07:00
platform [baseimage]: Updates for Ebtables and support for multi-asic (#6542) 2021-01-27 16:59:10 -08:00
procdockerstatsd [201911][procdockerstatsd] fix typo for variable name (#7183) 2021-03-29 19:22:03 -07:00
process-reboot-cause [process-reboot-cause] Use Logger class from sonic-py-common package (#5384) 2020-09-19 13:59:59 -07:00
rsyslog Move frr logs from syslog to /var/log/frr/*.log (#5988) 2020-12-22 10:53:16 -08:00
snmp mvrf_avoid_snmp_yml_config: made changes to pass SNMP config from con… (#4057) 2020-02-03 15:38:38 -08:00
sudoers Support readonly vtysh for sudoers (#7383) (#7572) 2021-05-19 09:02:16 +08:00
sysctl Set sock rx Buf size to 3MB. (#5566) 2020-11-24 11:21:56 -08:00
syslog [baseimage]: /host unmount timeout issue during reboot. (#5032) 2020-08-09 10:38:33 -07:00
systemd [services] Restart SwSS service upon unexpected critical process exit (#2845) 2019-05-01 08:02:38 -07:00
topology [multi-asic][vs]: Update topology script to retrieve hwsku from minigraph (#6219) 2021-02-25 18:42:44 -08:00
updategraph [platform] Add Support For Environment Variable File (#5010) 2020-09-28 21:14:39 +00:00
warmboot-finalizer [MultiDB] use sonic-db-cli PING and fix wrong multiDB API in NAT (#4541) 2020-05-09 18:16:48 -07:00
watchdog-control Add disabling HW watchdog during boot for fast-reboot and warm-reboot (#4927) 2020-08-09 11:25:31 -07:00