sonic-buildimage/files
Stephen Sun 610685d27b
Do not pass the option "device" in rsyslog.conf by default when syslog server's source address is configured (#17616)
### Why I did it

An in-band syslog server will not receive any syslog if it is configured without a VRF specified, which is because `eth0` is always specified as the `device` of a syslog server and the syslog packets will be sent to `eth0` regardless of its destination IP address.

### How I did it

Pass the option "device" in rsyslog.conf only if when syslog server's source address is configured with a non-default VRF

#### How to verify it

Manually test:
1. Configuring a syslog server without VRF specified or with `default` as the VRF: no `device` passed in `rsyslog.conf`
2. Configuring a syslog server with non-default VRF: the configured VRF passed as `device` in `rsyslog.conf`
2024-03-23 17:04:00 -07:00
..
Aboot Disable CPU C-States other than C1 (#16703) 2023-10-13 20:24:39 -07:00
apparmor [tacacs]: Fix tcpdump report error when tacacs enabled (#16372) 2023-09-23 00:07:53 -07:00
apt For Bookworm, use non-free-firmware instead of non-free 2023-11-21 18:53:15 -08:00
build/versions [build] Use public storage for public resources. (#18038) 2024-02-27 17:45:49 -08:00
build_scripts During build time mask only those feature/services that are disabled excplicitly (#13283) 2023-01-07 02:36:37 +00:00
build_templates Remove UpdateGraphService feature (#18330) 2024-03-14 13:12:26 -07:00
dhcp Assign the higher metric value for Ipv6 default route learnt via RA message (#16367) 2023-09-01 11:38:14 -07:00
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-14 08:57:19 +02:00
dsc Add pensando platform (#15978) 2023-12-04 14:41:52 -08:00
image_config Do not pass the option "device" in rsyslog.conf by default when syslog server's source address is configured (#17616) 2024-03-23 17:04:00 -07:00
initramfs-tools Fix the fsck script that does filesystem repair (#17424) 2023-12-19 17:51:49 -08:00
scripts Change orchagent stuck message from ERR to WARNING (#17872) 2024-01-26 00:01:50 -08:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-04-25 10:38:52 -07:00