sonic-buildimage/files
Saikrishna Arcot 2818e25969 Fix potentially not having any loopback address on lo interface (#16490)
In #15080, there was a command added to re-add 127.0.0.1/8 to the lo
interface when the networking configuration is being brought down.
However, the trigger for that command is `down`, which, looking at
ifupdown2 configuration files, runs immediately after 127.0.0.1/16 is
removed. This means there may be a period of time where there are no
loopback addresses assigned to the lo interface, and redis commands will
fail.

Fix this by changing this to pre-down, which should run well before
127.0.0.1/16 is removed, and should always leave lo with a loopback
address.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2023-10-20 12:34:15 +08:00
..
Aboot Disable CPU C-States other than C1 (#16703) 2023-10-20 12:33:31 +08:00
apt [Build] set apt Acquire::Retries to 3 for bullseye (#12758) 2022-12-10 10:33:21 +08:00
build/versions [ci/build]: Upgrade SONiC package versions (#15614) 2023-09-23 00:34:57 -07:00
build_scripts During build time mask only those feature/services that are disabled excplicitly (#13283) (#13651) 2023-02-13 01:15:26 +08:00
build_templates [fast-reboot] Fix regression: set FAST_REBOOT state_db flag to support fast-reboot from older images (#16733) 2023-10-20 12:33:53 +08:00
dhcp
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-22 20:55:46 +08:00
image_config Fix potentially not having any loopback address on lo interface (#16490) 2023-10-20 12:34:15 +08:00
initramfs-tools [Arista] Add initial support for 720DT-48S (#10656) 2022-06-29 09:56:24 -07:00
scripts [swss] Chassis db clean up optimization and bug fixes (#16454) (#16540) 2023-09-14 14:06:52 -07:00
sshd