sonic-buildimage/files/image_config/rsyslog
Saikrishna Arcot c8b5daed27 Upgrade to ifupdown2 3.0.0 with a patch to fix using broadcast addresses
In version 3.0.0, If a broadcast address is specified in
/etc/network/interfaces, then when ifup is run, it will fail with an
error saying `'str' object has no attribute 'packed'`. This appears to
be because it expects all attributes for an interface to be "packable"
into a compact binary representation. However, it doesn't actually
convert the broadcast address into an IPNetwork object (other addresses
are handled).

Therefore, convert the broadcast address it reads in from a str to an
IPNetwork object.

Also explicitly specify the scope of the loopback address in
/etc/network/interfaces as host scope. Otherwise, it will get added as
global scope by default. As part of this, use JSON to parse ip's output
instead of text, for robustness.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2021-08-12 23:18:01 -07:00
..
rsyslog.d Move frr logs from syslog to /var/log/frr/*.log (#5988) 2020-12-10 08:44:34 -08:00
rsyslog-config.service [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
rsyslog-config.sh Upgrade to ifupdown2 3.0.0 with a patch to fix using broadcast addresses 2021-08-12 23:18:01 -07:00
rsyslog-container.conf.j2 Revert "[docker-base]: Rate limit priority INFO and lower in syslog" (#5763) 2020-11-02 08:49:40 -08:00
rsyslog.conf.j2 syslog changes Multi ASIC platforms (#4738) 2020-07-12 18:08:51 +00:00