SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Revisions: Issue #7041 All Revisions ] Back to Issue ]
Summary 0007041: Re-implement forward compatible exclude lists
Revision 2016-01-14 15:00 by user2
Description In ClearOS 6, the yum exclude lists look like:

  exclude=clamav-* ...

In ClearOS 7, this was changed (no tracker) to an explicit list:

  exclude=clamav clamav-data clamav-data-empty ... and a bunch more clamav packages

The former has the advantage of being forward compatible to upstream packaging changes. The disadvantage is the possibility of excluding too much if a new similarly named package comes along. However, this would only have the effect of excluding a package in the future.

The latter has the advantage of being an explicit list that won't catch similarly named packages. The disadvantage: when upstream package changes occur (e.g. Samba in CentOS 7.2), ugly error messages like this occur:

Error: Package: samba-common-tools-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
           Requires: libwbclient = 4.2.3-11.el7_2
           Installed: libwbclient-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               libwbclient = 4.2.3-10.2.v7
           Available: libwbclient-4.1.12-23.v7.x86_64 (clearos)
               libwbclient = 4.1.12-23.v7
Error: Package: samba-common-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
           Requires: libwbclient = 4.2.3-11.el7_2
           Installed: libwbclient-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               libwbclient = 4.2.3-10.2.v7
           Available: libwbclient-4.1.12-23.v7.x86_64 (clearos)
               libwbclient = 4.1.12-23.v7
Error: Package: samba-client-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
           Requires: libwbclient = 4.2.3-11.el7_2
           Installed: libwbclient-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               libwbclient = 4.2.3-10.2.v7
           Available: libwbclient-4.1.12-23.v7.x86_64 (clearos)
               libwbclient = 4.1.12-23.v7
Error: Package: samba-libs-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
           Requires: samba-client-libs = 4.2.3-10.2.v7
           Removing: samba-client-libs-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               samba-client-libs = 4.2.3-10.2.v7
           Updated By: samba-client-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
               samba-client-libs = 4.2.3-11.el7_2
           Available: samba-client-libs-4.2.3-10.el7.i686 (clearos-centos)
               samba-client-libs = 4.2.3-10.el7
Error: Package: samba-winbind-clients-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
           Requires: samba-client-libs = 4.2.3-10.2.v7
           Removing: samba-client-libs-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               samba-client-libs = 4.2.3-10.2.v7
           Updated By: samba-client-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
               samba-client-libs = 4.2.3-11.el7_2
           Available: samba-client-libs-4.2.3-10.el7.i686 (clearos-centos)
               samba-client-libs = 4.2.3-10.el7
Error: Package: samba-client-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
           Requires: samba-common = 4.2.3-11.el7_2
           Installed: samba-common-4.2.3-10.2.v7.noarch (@private-clearcenter-verified-updates)
               samba-common = 4.2.3-10.2.v7
           Available: samba-common-4.1.12-23.v7.x86_64 (clearos)
               samba-common = 4.1.12-23.v7

Revision 2016-01-14 14:58 by user2
Description In ClearOS 6, the yum exclude lists look like:

  exclude=clamav-* ...

In ClearOS 7, this was changed (no tracker) to an explicit list:

  exclude=clamav clamav-data clamav-data-empty ... and a bunch more clamav packages

The former has the advantage of being forward compatible to upstream packaging changes. The disadvantage is the possibility of excluding too much if a new similarly named package comes along. However, this would only have the effect of excluding a package in the future.

The later has the advantage of being an explicit list that won't catch similarly named packages. The disadvantage: when upstream package changes occur (e.g. Samba in CentOS 7.2), ugly error messages like this occur:

Error: Package: samba-common-tools-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
           Requires: libwbclient = 4.2.3-11.el7_2
           Installed: libwbclient-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               libwbclient = 4.2.3-10.2.v7
           Available: libwbclient-4.1.12-23.v7.x86_64 (clearos)
               libwbclient = 4.1.12-23.v7
Error: Package: samba-common-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
           Requires: libwbclient = 4.2.3-11.el7_2
           Installed: libwbclient-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               libwbclient = 4.2.3-10.2.v7
           Available: libwbclient-4.1.12-23.v7.x86_64 (clearos)
               libwbclient = 4.1.12-23.v7
Error: Package: samba-client-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
           Requires: libwbclient = 4.2.3-11.el7_2
           Installed: libwbclient-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               libwbclient = 4.2.3-10.2.v7
           Available: libwbclient-4.1.12-23.v7.x86_64 (clearos)
               libwbclient = 4.1.12-23.v7
Error: Package: samba-libs-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
           Requires: samba-client-libs = 4.2.3-10.2.v7
           Removing: samba-client-libs-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               samba-client-libs = 4.2.3-10.2.v7
           Updated By: samba-client-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
               samba-client-libs = 4.2.3-11.el7_2
           Available: samba-client-libs-4.2.3-10.el7.i686 (clearos-centos)
               samba-client-libs = 4.2.3-10.el7
Error: Package: samba-winbind-clients-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
           Requires: samba-client-libs = 4.2.3-10.2.v7
           Removing: samba-client-libs-4.2.3-10.2.v7.x86_64 (@private-clearcenter-verified-updates)
               samba-client-libs = 4.2.3-10.2.v7
           Updated By: samba-client-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
               samba-client-libs = 4.2.3-11.el7_2
           Available: samba-client-libs-4.2.3-10.el7.i686 (clearos-centos)
               samba-client-libs = 4.2.3-10.el7
Error: Package: samba-client-libs-4.2.3-11.el7_2.x86_64 (clearos-centos-updates)
           Requires: samba-common = 4.2.3-11.el7_2
           Installed: samba-common-4.2.3-10.2.v7.noarch (@private-clearcenter-verified-updates)
               samba-common = 4.2.3-10.2.v7
           Available: samba-common-4.1.12-23.v7.x86_64 (clearos)
               samba-common = 4.1.12-23.v7

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7