Opened 8 years ago

Last modified 17 months ago

#1082 assigned enhancement

rpmlint issues centos7

Reported by: mjtrangoni@… Owned by: thresh
Priority: minor Milestone: 1.11
Component: nginx-package Version: 1.11.x
Keywords: rpm rpmlint Cc:
uname -a: Linux 3.10.0-327.36.1.el7.x86_64 #1 SMP Sun Sep 18 13:04:29 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx -V
nginx version: nginx/1.11.4
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_perl_module=dynamic --add-dynamic-module=njs-0.1.2/nginx --with-threads --with-stream --with-stream_ssl_module --with-stream_realip_module --with-stream_geoip_module=dynamic --with-http_slice_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_v2_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'

Description

It would be nice if soumeone could fix those warnings.

$ rpmlint nginx-1.11.4-1.el7.ngx.x86_64.rpm
nginx.x86_64: W: no-version-in-last-changelog
nginx.x86_64: W: invalid-license 2-clause BSD-like license
nginx.x86_64: W: only-non-binary-in-usr-lib
nginx.x86_64: W: no-manual-page-for-binary nginx
nginx.x86_64: W: no-manual-page-for-binary nginx-debug
nginx.x86_64: E: unknown-key (MD5
nginx.x86_64: W: dangerous-command-in-%post chmod
1 packages and 0 specfiles checked; 1 errors, 6 warnings

Change History (3)

comment:1 by thresh, 8 years ago

Owner: set to thresh
Status: newassigned

comment:2 by Maxim Dounin, 3 years ago

Component: othernginx-package

comment:3 by thresh, 17 months ago

I've ran fresh rpmlint on our packages:

nginx.aarch64: W: incoherent-version-in-changelog 1.25.1-1.el9.ngx ['1:1.25.1-1.el9.ngx', '1:1.25.1-1.ngx']
nginx.aarch64: W: invalid-license 2-clause BSD-like license
nginx.aarch64: W: crypto-policy-non-compliance-openssl /usr/sbin/nginx SSL_CTX_set_cipher_list
nginx.aarch64: W: crypto-policy-non-compliance-openssl /usr/sbin/nginx-debug SSL_CTX_set_cipher_list
nginx.aarch64: E: missing-dependency-to-logrotate for logrotate script /etc/logrotate.d/nginx
nginx.aarch64: W: no-manual-page-for-binary nginx-debug
nginx.aarch64: W: dangerous-command-in-%post chmod

While most are cosmetic warnings, I've fixed a logrotate error in https://hg.nginx.org/pkg-oss/rev/4ff86ec50b19

Note: See TracTickets for help on using tickets.