sonic-buildimage/files
Prince George 0564ce48c9
[baseimage]: Update smartmontool version >= v7.4 (#17635)
Why I did it
Update smartmontool verson to 7.4. This is done to prevent smartmontools service to exit with non-zero exit status on platform that does not have a SSD/disk to be monitored.

Until Debian Bullseye (which had smartmontools 7.2), Debian had a patch applied that changed the default quit mode to never exit. A bug report was filed on Debian, saying that the source code patch isn't needed and could just be done via command line options, and also that smartmontools 7.3 has a new built-in option to exit with 0 if there are no monitorable devices found (which prevents systemd from treating it as a service failure). Because of that, Debian Bookworm (which also upgraded to 7.3) removed the patch and restored the default behavior of exiting with exit code 17 if there are no devices found.

Smartmontools v7.3 has this issue, because of which smartd exits with non-zero exit status even with "-q" option.

How I did it
Update the smartmontools to version 7.4 which has the fix for exiting gracefully if no monitoring device is found
Added smartd option "-q nodev0" to allow smartd to exit with status 0 if no monitoring device found
2024-02-12 09:37:12 -08: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 [ci/build]: Upgrade SONiC package versions 2024-01-25 14:35:40 +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 [baseimage]: Update smartmontool version >= v7.4 (#17635) 2024-02-12 09:37:12 -08: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 [baseimage]: Update smartmontool version >= v7.4 (#17635) 2024-02-12 09:37:12 -08: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