Bug 1042881

Summary: Potential issues caused by non-namespaced RPM provides and libraries
Product: Red Hat Software Collections Reporter: Honza Horak <hhorak>
Component: postgresqlAssignee: Jozef Mlich <jmlich>
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: postgresql92CC: databases-maint, hhorak
Target Milestone: ---   
Target Release: 1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 07:42:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1042837    

Description Honza Horak 2013-12-13 14:56:12 UTC
Collection postgresql92 seems to provide unprefixed RPM providers, which can be also caused by shipping the same libraries as could be shipped outside of SCL environment. Refer to tracker bug #1042837 for more info why this can be problem and check/fix all suspicious provides, please.

General discussions about the issues and why unprefixed symbols/libraries are problem should take place in the tracker bug #1042837.

Components checked for collection postgresql92:
postgresql92
postgresql92-build
postgresql92-postgresql
postgresql92-postgresql-contrib
postgresql92-postgresql-devel
postgresql92-postgresql-docs
postgresql92-postgresql-libs
postgresql92-postgresql-plperl
postgresql92-postgresql-plpython
postgresql92-postgresql-pltcl
postgresql92-postgresql-server
postgresql92-postgresql-test
postgresql92-postgresql-upgrade
postgresql92-runtime

Potential problems found in collection postgresql92 by components:
-----------------------------------------------------------------
Suspicious provides for package postgresql92-postgresql-contrib
_int.so()(64bit)
adminpack.so()(64bit)
auth_delay.so()(64bit)
auto_explain.so()(64bit)
autoinc.so()(64bit)
btree_gin.so()(64bit)
btree_gist.so()(64bit)
chkpass.so()(64bit)
citext.so()(64bit)
cube.so()(64bit)
dblink.so()(64bit)
dict_int.so()(64bit)
dict_xsyn.so()(64bit)
dummy_seclabel.so()(64bit)
earthdistance.so()(64bit)
file_fdw.so()(64bit)
fuzzystrmatch.so()(64bit)
hstore.so()(64bit)
insert_username.so()(64bit)
isn.so()(64bit)
lo.so()(64bit)
ltree.so()(64bit)
moddatetime.so()(64bit)
pageinspect.so()(64bit)
passwordcheck.so()(64bit)
pg_buffercache.so()(64bit)
pg_freespacemap.so()(64bit)
pg_stat_statements.so()(64bit)
pg_trgm.so()(64bit)
pgcrypto.so()(64bit)
pgrowlocks.so()(64bit)
pgstattuple.so()(64bit)
pgxml.so()(64bit)
refint.so()(64bit)
seg.so()(64bit)
sslinfo.so()(64bit)
tablefunc.so()(64bit)
tcn.so()(64bit)
test_parser.so()(64bit)
timetravel.so()(64bit)
tsearch2.so()(64bit)
unaccent.so()(64bit)
uuid-ossp.so()(64bit)

Suspicious provides for package postgresql92-postgresql-docs
complex.so()(64bit)
funcs.so()(64bit)

Suspicious provides for package postgresql92-postgresql-plperl
plperl.so()(64bit)

Suspicious provides for package postgresql92-postgresql-plpython
plpython2.so()(64bit)

Suspicious provides for package postgresql92-postgresql-pltcl
pltcl.so()(64bit)

Suspicious provides for package postgresql92-postgresql-server
ascii_and_mic.so()(64bit)
cyrillic_and_mic.so()(64bit)
dict_snowball.so()(64bit)
euc2004_sjis2004.so()(64bit)
euc_cn_and_mic.so()(64bit)
euc_jp_and_sjis.so()(64bit)
euc_kr_and_mic.so()(64bit)
euc_tw_and_big5.so()(64bit)
latin2_and_win1250.so()(64bit)
latin_and_mic.so()(64bit)
libpqwalreceiver.so()(64bit)
plpgsql.so()(64bit)
utf8_and_ascii.so()(64bit)
utf8_and_big5.so()(64bit)
utf8_and_cyrillic.so()(64bit)
utf8_and_euc2004.so()(64bit)
utf8_and_euc_cn.so()(64bit)
utf8_and_euc_jp.so()(64bit)
utf8_and_euc_kr.so()(64bit)
utf8_and_euc_tw.so()(64bit)
utf8_and_gb18030.so()(64bit)
utf8_and_gbk.so()(64bit)
utf8_and_iso8859.so()(64bit)
utf8_and_iso8859_1.so()(64bit)
utf8_and_johab.so()(64bit)
utf8_and_sjis.so()(64bit)
utf8_and_sjis2004.so()(64bit)
utf8_and_uhc.so()(64bit)
utf8_and_win.so()(64bit)

Suspicious provides for package postgresql92-postgresql-test
autoinc.so()(64bit)
dummy_seclabel.so()(64bit)
refint.so()(64bit)
regress.so()(64bit)

Suspicious provides for package postgresql92-postgresql-upgrade
pg_upgrade_support.so()(64bit)

Comment 2 Marcela Mašláňová 2013-12-18 11:18:24 UTC
Please, apply for libraries like libperl.so, libruby.so, libv8.so prefix, as documented in http://docs.fedoraproject.org/en-US/Fedora_Contributor_Documentation/1/html/Software_Collections_Guide/sect-Prefixing_the_Library_Major_soname_with_the_Collection_Name.html.

Comment 3 Honza Horak 2013-12-19 07:42:00 UTC
All mentioned libraries are modules dynamicly loaded by dlopen and no package should ever link against them. Having prefixes in these is not necessary and could be even contra-productive, since we would have to change loading mechanism. So as these libraries shouldn't be dangerous, closing as NOTABUG.