Disable badfunct rpinspect CI check for /usr/bin/resolveip, BZ1973194
Resolveip binary is only used in mysql_install_db.sh script,
and only in non-"--rpm" mode [1]. However, we call this script with
"--rpm" option enabled, and thus the resolveip is not used [2],
and its badfuncs check can be disabled. [3]
[1] https://gitlab.com/redhat/centos-stream/rpms/mariadb/-/blob/c9s/mariadb-prepare-db-dir.sh#L100
[2] 5566cbadb0/scripts/mysql_install_db.sh (L425-L441)
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1973194#c4
			
			
This commit is contained in:
		
							parent
							
								
									866cfb97a4
								
							
						
					
					
						commit
						cf60f44fa1
					
				| @ -15,3 +15,27 @@ xml: | ||||
|     - /usr/share/mysql-test/std_data/ldml/Index.xml | ||||
|     - /usr/share/mysql-test/plugin/sphinx/sphinx/testdata.xml | ||||
|     - /usr/share/mysql-test/plugin/connect/connect/std_data/nocs.xml | ||||
| 
 | ||||
| # ignore bad functions in resolveip binary, based on BZ1973194 | ||||
| # all forbidden functions listed in main rpminspect config | ||||
| # have to be menioned also here, else it would not be checked for them | ||||
| badfuncs: | ||||
|     - gethostbyname | ||||
|     - gethostbyname2 | ||||
|     - gethostbyaddr | ||||
|     - inet_addr | ||||
|     - inet_aton | ||||
|     - inet_nsap_addr | ||||
|     - inet_ntoa | ||||
|     - inet_nsap_ntoa | ||||
|     - inet_makeaddr | ||||
|     - inet_netof | ||||
|     - inet_network | ||||
|     - inet_neta | ||||
|     - inet_net_ntop | ||||
|     - inet_net_pton | ||||
|     - rcmd | ||||
|     - rexec | ||||
|     - rresvport | ||||
|     ignore: | ||||
|         - /usr/bin/resolveip | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user