diff --git a/dhcp.spec b/dhcp.spec index b629570..1f1c153 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -516,6 +516,7 @@ done * Tue Mar 31 2026 Martin Osvald - 12:4.4.2-21.b1 - Fix buffer overflow in print_hw_addr() Resolves: RHEL-151420 +- Add rpminspect.yaml to ignore badfuncs * Wed Jan 07 2026 Martin Osvald - 12:4.4.2-20.b1 - Create /var/lib/dhcpd through systemd-tmpfiles diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 0000000..08f1098 --- /dev/null +++ b/rpminspect.yaml @@ -0,0 +1,22 @@ +--- +badfuncs: + # Adding waiver for all these functions to stop rpminspec to complain about them. + # The DHCP is EOL software so there is no chance to get them replaced + # with alternatives upstream. + allowed: + /usr/bin/omshell: + - gethostbyname + - inet_ntoa + /usr/sbin/dhcpd: + - gethostbyaddr + - gethostbyname + - inet_ntoa + /usr/sbin/dhclient: + - gethostbyname + - inet_ntoa + /usr/sbin/dhcrelay: + - gethostbyname + - inet_ntoa + /usr/sbin/keama: + - gethostbyname +