tools/debian-mirror-tools/config
Fabiano Mercer 46647df7db Ignore --all/lo* for ifupdown/nslcd scripts
It was detected the networking.service is marked as failing after reboot.
It happens because "ifup -a" is executed by the service, it starts to run the scripts for each interface in /etc/network/interfaces.d/ and finally executes with the argument "$IFACE = all". But several scripts in ifupdown-extra are not prepared to handle "-all" and finish with an error.

In the case of nss-pam-ldapd (that contains the nslcd package) the script /etc/network/if-up.d/nslcd is failing when there are loopback interfaces with labels (lo:X) as the script only tests the interface "lo" to exit with 0 when it should also exit for "lo:X"

Test Plan (Debian only):
PASS  Check systemctl status networking.service after unlock


Partial-Bug: #1983503

Signed-off-by: Fabiano Mercer <fabiano.correamercer@windriver.com>

Depends-On: https://review.opendev.org/c/starlingx/integ/+/852049
Change-Id: I67a3a3113d13f811613c647d3176050417f5a909
2022-08-08 14:19:44 +00:00
..
debian Ignore --all/lo* for ifupdown/nslcd scripts 2022-08-08 14:19:44 +00:00