sonic-buildimage/files/image_config
Saikrishna Arcot 9e16a7a452
Re-add 127.0.0.1/8 when bringing down the interfaces (#15080) (#15462)
* Re-add 127.0.0.1/8 when bringing down the interfaces

With #5353, 127.0.0.1/16 was added to the lo interface, and then
127.0.0.1/8 was removed. However, when bringing down the lo interface,
like during a config reload, 127.0.0.1/16 gets removed, but 127.0.0.1/8
isn't added back to the interface. This means that there's a period of
time where 127.0.0.1 is not available at all, and services that need to
connect to 127.0.01 (such as for redis DB) will fail.

To fix this, when going down, add 127.0.0.1/8. Add this address before
the existing configuration gets removed, so that 127.0.0.1 is available
at all times.

Note that running `ifdown lo` doesn't actually bring down the loopback
interface; the interface always stays "physically" up.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2023-06-14 16:28:57 -07:00
..
backend_acl [storage_backend] Add backend acl service (#14229) (#14281) 2023-03-17 08:50:15 +08:00
bash Close console session due to user inactivity (#9890) 2022-02-02 09:41:21 +05:30
config-chassisdb [ChassisDB]: bring up ChassisDB service (#5283) 2020-10-14 15:15:24 -07:00
config-setup Fix for fast/cold-boot: call db_migrator only after old config is loaded (#14933) (#15316) 2023-06-03 09:30:12 +08:00
config-topology Add support for platform topology configuration service (#12066) (#13605) 2023-02-03 06:34:17 +08:00
constants [chassis] Add templates and code to support VoQ chassis iBGP peers (#5622) 2021-04-16 11:11:32 -07:00
copp [CoPP] Add always_enabled field (#9302) 2021-11-30 11:04:15 -08:00
corefile_uploader [Python] Align files in root dir, dockers/ and files/ with PEP8 standards (#6109) 2020-12-03 15:57:50 -08:00
cron.d Replace logrotate cron file with (adapted) systemd timer file (#12921) 2022-12-13 06:34:28 +08:00
ebtables [baseimage]: Updates for Ebtables and support for multi-asic (#6542) 2021-01-27 08:36:10 -08:00
environment [202205] Change submodule path from Azure to sonic-net (#12308) 2022-10-24 13:13:14 +08:00
fstrim [202012][fstrim] delay fstrim timer after sonic.target (#8737) 2021-09-13 07:37:46 -07:00
hostname Fix to improve hostname handling (#12064) 2022-10-25 21:52:42 +00:00
interfaces Re-add 127.0.0.1/8 when bringing down the interfaces (#15080) (#15462) 2023-06-14 16:28:57 -07:00
kdump [kdump] Fix kdump error message when a reboot is issued (#7985) 2021-07-01 11:52:38 -07:00
kubernetes Add k8s master feature (#11637) (#12984) 2022-12-09 10:43:54 +08:00
logrotate Replace logrotate cron file with (adapted) systemd timer file (#12921) 2022-12-13 06:34:28 +08:00
misc [docker-wait-any]: Exit worker thread if main thread is expected to exit (#12255) 2022-10-06 14:57:53 +00:00
monit [auto-ts] add memory check (#10433) (#12291) 2022-10-06 08:06:46 -07:00
ntp [202205] Fast reboot finalizer 202205 (#14143) 2023-03-15 09:34:05 -07:00
pcie-check Support multiple pcie configuration file and change the pcie status table name to match with pcied changes (#7886) 2021-06-16 16:05:48 -07:00
platform Add override_config to load_minigraph in config-setup service (#14834) (#15097) 2023-05-17 13:17:20 -07:00
rasdaemon [image_config] add rasdaemon.timer (#14300) (#14692) 2023-04-18 12:33:15 +08:00
readline Disable brackted-paste mode off by default (#12285) 2022-10-06 14:58:46 +00:00
resolv-config Revert "Clear DNS configuration received from DHCP during networking reconfiguration in Linux. (#13516) (#13695)" (#14900) 2023-05-01 16:48:56 -07:00
rsyslog rsyslog to start after interfaces-config (#13503) (#13529) 2023-01-27 16:10:20 +08:00
secureboot Add override_config to load_minigraph in config-setup service (#14834) (#15097) 2023-05-17 13:17:20 -07:00
snmp mvrf_avoid_snmp_yml_config: made changes to pass SNMP config from con… (#4057) 2020-01-28 17:41:21 -08:00
sudoers Improve sudo cat command for RO user. (#14428) 2023-04-03 16:34:36 +08:00
sysctl [netlink] Increse netlink buffer size from 3MB to 16MB (#13965) (#14027) 2023-03-01 11:47:29 +08:00
syslog [baseimage]: /host unmount timeout issue during reboot. (#5032) 2020-07-25 01:27:58 -07:00
system-health [system-health] Add support for monitoring system health (#4835) 2020-10-12 11:12:49 +03:00
systemd [systemd] disable default systemd udev rules for interfaces (#7369) 2021-04-21 17:50:00 -07:00
topology [multi-asic][vs]: Update topology script to retrieve hwsku from minigraph (#6219) 2021-02-18 22:02:29 -08:00
updategraph [platform] Add Support For Environment Variable File (#5010) 2020-07-31 17:59:09 -07:00
warmboot-finalizer Set owner after restoring counters folder during warmboot (#13507) (#14435) 2023-03-27 14:57:26 -07:00
watchdog-control [sonic-utilities] Build and install as a Python wheel package (#5409) 2020-09-20 20:16:42 -07:00
sonic_release [202205] add release tag file (#11222) 2022-06-22 21:11:40 -07:00