View Issue Details

IDProjectCategoryView StatusLast Update
0015436CentOS-6centos-releasepublic2018-11-12 15:07
Reportercarlwgeorge 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version6.10 
Target VersionFixed in Version 
Summary0015436: centos-release has unversioned provides of redhat-release and system-release
Descriptioncentos-release-6-10.el6.centos.12.3 has an unversioned provides for redhat-release and system-release.

# rpm -q --provides centos-release | grep -e redhat -e system
redhat-release
system-release

For comparison, they are versioned in centos-release-7-5.1804.4.el7.centos.

# rpm -q --provides centos-release | grep -e redhat -e system
redhat-release = 7.5-8
system-release = 7.5-8
system-release(releasever) = 7

Besides raising an unversioned-explicit-provides rpmlint warning, this allows a user to install the incorrect epel-release.

See also: https://bugzilla.redhat.com/show_bug.cgi?id=1645568
Steps To Reproduceon a CentOS 6 system:

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

(this should fail but it works)
TagsNo tags attached.

Activities

carlwgeorge

carlwgeorge

2018-11-12 15:07

reporter   ~0033101

I just realized this matches redhat-release-server.

# rpm -q --provides redhat-release-server
config(redhat-release-server) = 6Server-6.10.0.12.el6
redhat-release
system-release
redhat-release-server = 6Server-6.10.0.12.el6
redhat-release-server(x86-64) = 6Server-6.10.0.12.el6

If yall wanted to closed this and keep the centos-release provides similar to redhat-release-server provides I would understand.

Issue History

Date Modified Username Field Change
2018-11-02 15:48 carlwgeorge New Issue
2018-11-12 15:07 carlwgeorge Note Added: 0033101