From debd129223b4df09fd630d814ddf7bdef8e38f55 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 06 2019 11:09:20 +0000 Subject: import subscription-manager-1.24.13-1.el7 --- diff --git a/.gitignore b/.gitignore index 2ad657c..ae312ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/subscription-manager-1.21.10.tar.gz -SOURCES/subscription-manager-cockpit-1.21.10.tar.gz +SOURCES/subscription-manager-1.24.13.tar.gz +SOURCES/subscription-manager-cockpit-1.24.13.tar.gz diff --git a/.subscription-manager.metadata b/.subscription-manager.metadata index 4169b88..684dc0f 100644 --- a/.subscription-manager.metadata +++ b/.subscription-manager.metadata @@ -1,2 +1,2 @@ -3fbdfd71dd14a4275ff1f35019ec100f32a93395 SOURCES/subscription-manager-1.21.10.tar.gz -f47a1611b7e59e9d7712d8afffb2827017d366f7 SOURCES/subscription-manager-cockpit-1.21.10.tar.gz +958d9084b7d1572d59ba2f859cd877f146062c7f SOURCES/subscription-manager-1.24.13.tar.gz +aa0c16b16c0d7f5665543fef92ba3e2ec9c37f50 SOURCES/subscription-manager-cockpit-1.24.13.tar.gz diff --git a/SOURCES/subscription-manager-1.19.21-centos-remove-redhat.repo.patch b/SOURCES/subscription-manager-1.19.21-centos-remove-redhat.repo.patch deleted file mode 100644 index ed06dbc..0000000 --- a/SOURCES/subscription-manager-1.19.21-centos-remove-redhat.repo.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -uNrp subscription-manager-1.20.11.orig/src/subscription_manager/repolib.py subscription-manager-1.20.11/src/subscription_manager/repolib.py ---- subscription-manager-1.20.11.orig/src/subscription_manager/repolib.py 2018-03-13 14:36:33.000000000 +0000 -+++ subscription-manager-1.20.11/src/subscription_manager/repolib.py 2018-04-12 19:12:43.177743996 +0000 -@@ -955,6 +955,7 @@ class RepoFileBase(object): - return self.path_exists(self.path) - - def create(self): -+ return - if self.path_exists(self.path) or not self.manage_repos: - return - with open(self.path, 'w') as f: diff --git a/SPECS/subscription-manager.spec b/SPECS/subscription-manager.spec index 29e0fc6..de48361 100644 --- a/SPECS/subscription-manager.spec +++ b/SPECS/subscription-manager.spec @@ -2,7 +2,6 @@ %global use_systemd 0%{?fedora} || (0%{?rhel} && 0%{?rhel} >= 7) || (0%{?suse_version} && 0%{?suse_version} >= 1315) # For optional building of ostree-plugin sub package. Unrelated to systemd # but the same versions apply at the moment. -%global if_centos (0%{?centos_ver} && 0%{?centos_ver} >= 7) %global has_ostree %use_systemd && 0%{?suse_version} == 0 %global use_initial_setup 1 %global use_firstboot 0 @@ -63,77 +62,78 @@ %global __python %__python3 %global py_package_prefix python%{python3_pkgversion} %global rhsm_package_name %{py_package_prefix}-subscription-manager-rhsm -%define include_syspurpose 1 %else %global py_package_prefix python %global rhsm_package_name subscription-manager-rhsm %endif +%global include_syspurpose 1 + %global _hardened_build 1 %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro -Wl,-z,now} %if %{has_ostree} -%define install_ostree INSTALL_OSTREE_PLUGIN=true +%global install_ostree INSTALL_OSTREE_PLUGIN=true %else -%define install_ostree INSTALL_OSTREE_PLUGIN=false +%global install_ostree INSTALL_OSTREE_PLUGIN=false %endif # makefile will guess, but be specific. %if 0%{?gtk3} -%define gtk_version GTK_VERSION=3 +%global gtk_version GTK_VERSION=3 %else -%define gtk_version GTK_VERSION=2 +%global gtk_version GTK_VERSION=2 %endif %if %{use_initial_setup} -%define post_boot_tool INSTALL_INITIAL_SETUP=true INSTALL_FIRSTBOOT=false +%global post_boot_tool INSTALL_INITIAL_SETUP=true INSTALL_FIRSTBOOT=false %else -%define post_boot_tool INSTALL_INITIAL_SETUP=false INSTALL_FIRSTBOOT=true +%global post_boot_tool INSTALL_INITIAL_SETUP=false INSTALL_FIRSTBOOT=true %endif %if 0%{?suse_version} -%define install_zypper_plugins INSTALL_ZYPPER_PLUGINS=true +%global install_zypper_plugins INSTALL_ZYPPER_PLUGINS=true %else -%define install_zypper_plugins INSTALL_ZYPPER_PLUGINS=false +%global install_zypper_plugins INSTALL_ZYPPER_PLUGINS=false %endif # makefile defaults to INSTALL_DNF_PLUGINS=false %if %{use_dnf} -%define install_dnf_plugins INSTALL_DNF_PLUGINS=true +%global install_dnf_plugins INSTALL_DNF_PLUGINS=true %else -%define install_dnf_plugins INSTALL_DNF_PLUGINS=false +%global install_dnf_plugins INSTALL_DNF_PLUGINS=false %endif # makefile defaults to INSTALL_YUM_PLUGINS=true %if %{use_yum} -%define install_yum_plugins INSTALL_YUM_PLUGINS=true +%global install_yum_plugins INSTALL_YUM_PLUGINS=true %else -%define install_yum_plugins INSTALL_YUM_PLUGINS=false +%global install_yum_plugins INSTALL_YUM_PLUGINS=false %endif %if %{use_systemd} -%define with_systemd WITH_SYSTEMD=true +%global with_systemd WITH_SYSTEMD=true %else -%define with_systemd WITH_SYSTEMD=false +%global with_systemd WITH_SYSTEMD=false %endif %if %{use_subman_gui} -%define with_subman_gui WITH_SUBMAN_GUI=true +%global with_subman_gui WITH_SUBMAN_GUI=true %else -%define with_subman_gui WITH_SUBMAN_GUI=false +%global with_subman_gui WITH_SUBMAN_GUI=false %endif %if %{use_cockpit} && !0%{use_subman_gui} -%define with_cockpit WITH_COCKPIT=true +%global with_cockpit WITH_COCKPIT=true %else -%define with_cockpit WITH_COCKPIT=false +%global with_cockpit WITH_COCKPIT=false %endif -%define subpackages SUBPACKAGES="%{?include_syspurpose:syspurpose}" +%global subpackages SUBPACKAGES="%{?include_syspurpose:syspurpose}" Name: subscription-manager -Version: 1.21.10 -Release: 3%{?dist} +Version: 1.24.13 +Release: 1%{?dist} Summary: Tools and libraries for subscription and repository management Group: System Environment/Base License: GPLv2 @@ -147,11 +147,12 @@ URL: http://www.candlepinproject.org/ Source0: %{name}-%{version}.tar.gz # this is a little different from the Source0, because of limitations in tito, # namely that tito expects only one source tarball +%if %{use_cockpit} Source1: %{name}-cockpit-%{version}.tar.gz +%endif %if 0%{?suse_version} Source2: subscription-manager-rpmlintrc %endif -Patch999: subscription-manager-1.19.21-centos-remove-redhat.repo.patch %if 0%{?suse_version} < 1200 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -176,7 +177,14 @@ Requires: virt-what Requires: %{rhsm_package_name} = %{version} Requires: %{py_package_prefix}-six Requires: %{py_package_prefix}-dateutil +Requires: %{py_package_prefix}-syspurpose + +# rhel 8 has different naming for setuptools going forward +%if (0%{?rhel} && 0%{?rhel} >= 8) +Requires: platform-python-setuptools +%else Requires: %{py_package_prefix}-setuptools +%endif %if %{with python3} Requires: python3-dbus @@ -204,7 +212,7 @@ Requires: %{?gtk3:gobject-introspection, pygobject3-base} %{!?gtk3:pygobject2} %endif # There's no dmi to read on these arches, so don't pull in this dep. # Additionally, dmidecode isn't packaged at all on SUSE -%ifnarch ppc ppc64 s390 s390x +%ifnarch aarch64 ppc ppc64 ppc64le s390 s390x Requires: %{py_package_prefix}-dmidecode %{?dmidecode_version} %endif %endif @@ -261,7 +269,7 @@ The Subscription Manager package provides programs and libraries to allow users to manage subscriptions and yum repositories from the Red Hat entitlement platform. -%if %{with python3} + %package -n %{py_package_prefix}-syspurpose Summary: A commandline utility for declaring system syspurpose Group: System Environment/Base @@ -269,7 +277,6 @@ Group: System Environment/Base %description -n %{py_package_prefix}-syspurpose Provides the syspurpose commandline utility. This utility manages the system syspurpose. -%endif %package -n subscription-manager-plugin-container @@ -351,13 +358,30 @@ subscriptions %package -n dnf-plugin-subscription-manager Summary: Subscription Manager plugins for DNF Group: System Environment/Base +%if (0%{?fedora} >= 29 || 0%{?rhel} >= 8) +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: json-c-devel +BuildRequires: libdnf-devel >= 0.22.5 +Requires: json-c +Requires: libdnf >= 0.22.5 +%endif +# See BZ 1581410 - avoid a circular dependency +%if (0%{?rhel} < 8) Requires: %{name} = %{version}-%{release} -Requires: dnf >= 1.0.0 +%endif %if %{with python3} Requires: python3-dnf-plugins-core +Requires: python3-librepo %else Requires: python2-dnf-plugins-core +%if (0%{?rhel} == 7) +Requires: python-librepo +%else +Requires: python2-librepo +%endif %endif +Requires: dnf >= 1.0.0 %description -n dnf-plugin-subscription-manager This package provides plugins to interact with repositories and subscriptions @@ -388,6 +412,9 @@ Group: System Environment/Base Requires: rhsm-gtk = %{version}-%{release} Requires: initial-setup-gui >= 0.3.9.24-1 Obsoletes: subscription-manager-firstboot < 1.15.3-1 +%if (0%{?fedora} >= 24 || 0%{?rhel} >= 8) +Supplements: initial-setup-gui +%endif %description -n subscription-manager-initial-setup-addon This package contains the initial-setup screens for subscription-manager. @@ -498,8 +525,6 @@ Subscription Manager Cockpit UI %prep %setup -q -%patch999 -p1 - %build make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \ LDFLAGS="%{__global_ldflags}" OS_DIST="%{dist}" PYTHON="%{__python}" \ @@ -509,6 +534,13 @@ make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \ python2 ./setup.py build --quiet --gtk-version=%{?gtk3:3}%{?!gtk3:2} --rpm-version=%{version}-%{release} %endif +%if (%{use_dnf} && (0%{?fedora} >= 29 || 0%{?rhel} >= 8)) +pushd src/dnf-plugins/product-id +%cmake -DCMAKE_BUILD_TYPE="Release" . +%make_build +popd +%endif + %install rm -rf %{buildroot} make -f Makefile install VERSION=%{version}-%{release} \ @@ -524,6 +556,13 @@ make -f Makefile install VERSION=%{version}-%{release} \ %{?subpackages} \ %{?include_syspurpose:INCLUDE_SYSPURPOSE="1"} +%if (%{use_dnf} && (0%{?fedora} >= 29 || 0%{?rhel} >= 8)) +pushd src/dnf-plugins/product-id +mkdir -p %{buildroot}%{_libdir}/libdnf/plugins +%make_install +popd +%endif + %if %{with python2_rhsm} mkdir -p %{buildroot}%{python2_sitearch}/rhsm # Build binary extension in Python2 site-packages directory @@ -532,55 +571,61 @@ python2 ./setup.py build_ext --build-lib %{buildroot}%{python2_sitearch} --quiet cp %{buildroot}%{python_sitearch}/rhsm/*.py %{buildroot}%{python2_sitearch}/rhsm/ %endif -%find_lang rhsm +%if 0%{?suse_version} +%suse_update_desktop_file -n -r subscription-manager-gui Settings PackageManager +%endif + +%if %use_subman_gui +desktop-file-validate %{buildroot}/etc/xdg/autostart/rhsm-icon.desktop +desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-gui.desktop +%else +%if %use_cockpit +desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-cockpit.desktop +%endif +%endif +# libexec directory does not exist on sles based distros +%if 0%{?suse_version} +sed -i 's/libexec/lib/g' %{buildroot}/%{_sysconfdir}/cron.daily/rhsmd +%endif + +%find_lang rhsm +%if 0%{?include_syspurpose} +%find_lang syspurpose +%endif # fake out the redhat.repo file %if %{use_yum} || %{use_dnf} - %{__mkdir} %{buildroot}%{_sysconfdir}/yum.repos.d + mkdir %{buildroot}%{_sysconfdir}/yum.repos.d touch %{buildroot}%{_sysconfdir}/yum.repos.d/redhat.repo %endif # fake out the certificate directories -%{__mkdir_p} %{buildroot}%{_sysconfdir}/pki/consumer -%{__mkdir_p} %{buildroot}%{_sysconfdir}/pki/entitlement +mkdir -p %{buildroot}%{_sysconfdir}/pki/consumer +mkdir -p %{buildroot}%{_sysconfdir}/pki/entitlement # Setup cert directories for the container plugin: -%if 0%{!?if_centos} -%{__mkdir_p} %{buildroot}%{_sysconfdir}/docker/certs.d/ -%{__mkdir} %{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com +mkdir -p %{buildroot}%{_sysconfdir}/docker/certs.d/ +mkdir %{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/redhat-entitlement-authority.pem %{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt -%else -rm %{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem -%endif -%if 0%{!?if_centos} -%{__mkdir_p} %{buildroot}%{_sysconfdir}/etc/rhsm/ca +mkdir -p %{buildroot}%{_sysconfdir}/etc/rhsm/ca install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/redhat-entitlement-authority.pem %{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem -install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-uep.pem -%else -rm %{_builddir}/%{buildsubdir}/etc-conf/redhat-entitlement-authority.pem -rm %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem -%endif +install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/redhat-uep.pem %{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-uep.pem %if %use_cockpit # install cockpit dist targz tar --strip-components=1 -xzf %{SOURCE1} -C %{buildroot} %endif +# fix timestamps on our byte compiled files so they match across arches +find %{buildroot} -name \*.py -exec touch -r %{SOURCE0} '{}' \; + %if %{with python3} %py_byte_compile %{__python3} %{buildroot}%{rhsm_plugins_dir}/ %py_byte_compile %{__python3} %{buildroot}%{_datadir}/anaconda/addons/com_redhat_subscription_manager/ %endif -# fix timestamps on our byte compiled files so they match across arches -find %{buildroot} -name \*.py -exec touch -r %{SOURCE0} '{}' \; - -rm -f %{buildroot}/etc/xdg/autostart/rhsm-icon.desktop -rm -f %{buildroot}/usr/bin/rhsm-icon -rm -f %{buildroot}/usr/bin/subscription-manager-gui -rm -f %{buildroot}/usr/sbin/subscription-manager-gui - # base/cli tools use the gettext domain 'rhsm', while the # gnome-help tools use domain 'subscription-manager' %files -f rhsm.lang @@ -636,6 +681,7 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui %attr(755,root,root) %{_libexecdir}/rhsmcertd-worker %attr(755,root,root) %{_libexecdir}/rhsmd + # our config dirs and files %attr(755,root,root) %dir %{_sysconfdir}/pki/consumer %attr(755,root,root) %dir %{_sysconfdir}/pki/entitlement @@ -671,7 +717,6 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui # remove the repo file when we are deleted %config(noreplace) %attr(644,root,root) %{_sysconfdir}/dnf/plugins/subscription-manager.conf %config(noreplace) %attr(644,root,root) %{_sysconfdir}/dnf/plugins/product-id.conf - %config(noreplace) %attr(644,root,root) %{_sysconfdir}/dnf/plugins/search-disabled-repos.conf %endif # misc system config @@ -745,8 +790,7 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui # zypper plugins %if 0%{?suse_version} -%{_prefix}/lib/zypp/plugins/services/subscription-manager -%{_prefix}/lib/zypp/plugins/commit/product-id +%{_prefix}/lib/zypp/plugins/services/rhsm %endif # rhsmlib @@ -834,7 +878,7 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui #%files -n subscription-manager-gui -f subscription-manager.lang %files -n subscription-manager-gui %defattr(-,root,root,-) -#%attr(755,root,root) %{_sbindir}/subscription-manager-gui +%attr(755,root,root) %{_sbindir}/subscription-manager-gui %if 0%{?suse_version} %dir %{python_sitearch}/subscription_manager/gui/data %dir %{python_sitearch}/subscription_manager/gui/data/glade @@ -850,9 +894,9 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui %dir %{_datadir}/omf/subscription-manager %else # symlink to console-helper -#%{_bindir}/subscription-manager-gui +%{_bindir}/subscription-manager-gui %endif -#%{_bindir}/rhsm-icon +%{_bindir}/rhsm-icon %{_datadir}/gnome/help/subscription-manager/C/figures/*.png %{_datadir}/gnome/help/subscription-manager/C/*.xml @@ -862,7 +906,7 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui %{_datadir}/appdata/subscription-manager-gui.appdata.xml # desktop config files -#%{_sysconfdir}/xdg/autostart/rhsm-icon.desktop +%{_sysconfdir}/xdg/autostart/rhsm-icon.desktop %if !0%{?suse_version} %{_sysconfdir}/pam.d/subscription-manager-gui %{_sysconfdir}/security/console.apps/subscription-manager-gui @@ -915,20 +959,22 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui %doc README.Fedora %endif -%if %{with python3} -%files -n %{py_package_prefix}-syspurpose +%files -n %{py_package_prefix}-syspurpose -f syspurpose.lang %defattr(-,root,root,-) -%dir %{python3_sitelib}/syspurpose*.egg-info -%{python3_sitelib}/syspurpose*.egg-info/* +%dir %{python_sitelib}/syspurpose*.egg-info +%{python_sitelib}/syspurpose*.egg-info/* %dir %{_sysconfdir}/rhsm/syspurpose -%dir %{python3_sitelib}/syspurpose -%{python3_sitelib}/syspurpose/{*.py*,__pycache__/*} +%dir %{python_sitelib}/syspurpose +%{python_sitelib}/syspurpose/*.py* +%if %{with python3} +%{python_sitelib}/syspurpose/__pycache__ +%endif %doc %{_mandir}/man8/syspurpose.8.* %doc LICENSE %attr(755, root, root) %{_sbindir}/syspurpose %attr(644,root,root) %{_sysconfdir}/rhsm/syspurpose/valid_fields.json -%endif +%attr(644,root,root) %{_sysconfdir}/bash_completion.d/syspurpose %files -n subscription-manager-plugin-container %defattr(-,root,root,-) @@ -946,9 +992,9 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui %{python_sitearch}/subscription_manager/plugin/container.py* # Copying Red Hat CA cert into each directory: -#%attr(755,root,root) %dir %{_sysconfdir}/docker/certs.d/cdn.redhat.com -#%attr(644,root,root) %{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem -#%attr(644,root,root) %{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt +%attr(755,root,root) %dir %{_sysconfdir}/docker/certs.d/cdn.redhat.com +%attr(644,root,root) %{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem +%attr(644,root,root) %{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt %if %has_ostree @@ -981,6 +1027,9 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui %files -n dnf-plugin-subscription-manager %defattr(-,root,root,-) %{python_sitelib}/dnf-plugins/* +%if (0%{?fedora} >= 29 || 0%{?rhel} >= 8) +%{_libdir}/libdnf/plugins/product-id.so +%endif %endif @@ -1000,7 +1049,7 @@ rm -f %{buildroot}/usr/sbin/subscription-manager-gui %attr(755,root,root) %dir %{_sysconfdir}/rhsm %attr(755,root,root) %dir %{_sysconfdir}/rhsm/ca -#%attr(644,root,root) %{_sysconfdir}/rhsm/ca/redhat-uep.pem +%attr(644,root,root) %{_sysconfdir}/rhsm/ca/redhat-uep.pem %if %use_cockpit %files -n subscription-manager-cockpit @@ -1047,7 +1096,7 @@ if [ -x /bin/dbus-send ] ; then fi %if !%use_systemd -if [ "$1" -eq "2" ] ; then +if [ "$1" = "2" ] ; then /sbin/service rhsmcertd condrestart >/dev/null 2>&1 || : fi %endif @@ -1101,19 +1150,413 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog -* Mon Nov 19 2018 Johnny Hughes 1.21.10-3 -- Manual CentOS Debranding +* Fri Jun 21 2019 Christopher Snyder 1.24.13-1 +- 1722238: Fix reporting insights id in facts on RHEL7 (jhnidek@redhat.com) -* Wed Nov 07 2018 Christopher Snyder 1.21.10-3 -- 1646867: Do not update ent certs inside containers (csnyder@redhat.com) +* Wed Jun 19 2019 Christopher Snyder 1.24.12-1 +- 1722238: Report insights id as fact, when insights is installed + (jhnidek@redhat.com) -* Wed Sep 05 2018 Christopher Snyder 1.21.10-2 -- Fix up Makefile (csnyder@redhat.com) +* Tue Jun 18 2019 Christopher Snyder 1.24.11-1 +- 1709728: Dialog with proxy conf didn't pop-up; ENT-1333 (jhnidek@redhat.com) +- 1704421: Install only one prod cert, when RPM is available in more repos. + (jhnidek@redhat.com) +- 1710564: Make entitlement certs and keys world-readable (csnyder@redhat.com) -* Wed Sep 05 2018 Christopher Snyder 1.21.10-1 -- Updated translations (csnyder@redhat.com) +* Tue Jun 04 2019 Christopher Snyder 1.24.10-1 +- 1688221: update translations (csnyder@redhat.com) +- Revert "1700445: Do not disabled repos in redhat.repo; ENT-1261" + (csnyder@redhat.com) +- Revert "1621275: Less communication with candlepin server from sub-man + plugin; ENT-923" (csnyder@redhat.com) + +* Thu May 30 2019 Christopher Snyder 1.24.9-1 +- 1703607: Remove productid cert, when it is not needed; ENT-1300 + (jhnidek@redhat.com) + +* Tue May 28 2019 Christopher Snyder 1.24.8-1 +- fix bad cherry-pick (removes uninitentional tab) (csnyder@redhat.com) + +* Tue May 28 2019 Christopher Snyder 1.24.7-1 +- 1704662: Do not create corrupted redhat.repo (wrong scheme); ENT-1306 + (jhnidek@redhat.com) +- 1703768: Display 'Status Details' correctly in GUI; ENT-1305 + (jhnidek@redhat.com) +- 1699345: Do not perform proxy check under some circumstances. + (awood@redhat.com) +- 1698645: Ensure we use local syspurpose when there are network issues + (csnyder@redhat.com) +- 1698443: Proper callbacks in cert sorter (wpoteat@redhat.com) +- 1697563: Suppress output when collecting profile (khowell@redhat.com) +- 1696428: use enabled_metadata = 0 for disabled repositories + (jhnidek@redhat.com) +- 1669994: Use on_date on syspurpose status if specified (nmoumoul@redhat.com) +- 1668152: Remove the Select SLA screen from initial-setup + (nmoumoul@redhat.com) +- 1660883: Better feedback for repo commands when not registered + (wpoteat@redhat.com) +- 1657173: Install cron service properly on SLES; ENT-1250 (jhnidek@redhat.com) +- 1657171: Bug fix of .spec file specific for SuSE; ENT-1056 + (jhnidek@redhat.com) +- 1637090: Do not send Host header twice, when m2crypto is used; ENT-1100 + (jhnidek@redhat.com) +- 1621275: Less communication with candlepin server from sub-man plugin; + ENT-923 (jhnidek@redhat.com) +- 1708722: Only show syspurpose usage when necessary (csnyder@redhat.com) +- 1688221: Update translations (csnyder@redhat.com) + +* Thu May 09 2019 Christopher Snyder 1.24.6-1 +- 1700445: Do not disabled repos in redhat.repo; ENT-1261 (jhnidek@redhat.com) +- 1591704: Handle disabled status when golden ticket is in play + (wpoteat@redhat.com) + +* Thu May 02 2019 Christopher Snyder 1.24.5-1 +- Do a new release + +* Thu May 02 2019 Christopher Snyder 1.24.4-3 +- Fix malformed cherry-pick (csnyder@redhat.com) + +* Thu May 02 2019 Christopher Snyder 1.24.4-2 +- 1685037: Ignore null repos when running using packagekit (csnyder@redhat.com) +- 1666845: Always submit empty string for reset (csnyder@redhat.com) +- 1666845: Always submit empty string for reset (csnyder@redhat.com) +- 1666845: Do not set role or usage to the empty string (csnyder@redhat.com) +- 1673973: Do not override sla on auto-attach (csnyder@redhat.com) +- 1673973: Read syspurpose on register using cockpit (csnyder@redhat.com) +- 1673934, 1673931: Two bug fixes of productid libdnf plugin; ENT-1165 + (jhnidek@redhat.com) +- 1655778: Increase RHEL major version detection reliability + (csnyder@redhat.com) +- 1676982: Do not make duplicate sync calls on syspurpose show + (csnyder@redhat.com) +- 1654531: Add default for proxy_scheme in rhsm.conf (csnyder@redhat.com) + +* Tue Apr 16 2019 Kevin Howell 1.24.4-1 +- Bump release to simply build/release (khowell@redhat.com) + +* Tue Apr 16 2019 Kevin Howell 1.24.3-4 +- 1698468: require python-librepo for rhel 7 (csnyder@redhat.com) + +* Thu Apr 11 2019 Christopher Snyder 1.24.3-2 +- 1694107: Begin packaging syspurpose for python 2 systems (csnyder@redhat.com) + +* Wed Feb 13 2019 Christopher Snyder 1.24.3-1 +- Add rhel 7.7 releaser (csnyder@redhat.com) +- 1654531: Add proxy_scheme to rhsm.conf (csnyder@redhat.com) +- 1665409: Update syspurpose status in cockpit addon (nmoumoul@redhat.com) +- 1673838: Set trailing character '\0' at the end of cert content + (jhnidek@redhat.com) +- 1666516: Allow reporting of profile info on dnf transactions + (csnyder@redhat.com) +- 1633216: Use new libdnf API to reuse connection to repo; ENT-1111 + (jhnidek@redhat.com) +- 1668947: set enable_metadata to 0 for disabled repos; ENT-1146 + (jhnidek@redhat.com) +- 1666512: Add some details on dnf uploadprofile to rhsm.conf man page + (csnyder@redhat.com) +- More reliable PXE server and PXE client (jhnidek@redhat.com) +- 1666516: Don't send package list, when report_package_profile=0; ENT-1097 + (jhnidek@redhat.com) +- 1671734: Dont traceback on status syspurpose sync - Do not show an error or + traceback when running the status command and the server is unreachable + during syncing of syspurpose data. (nmoumoul@redhat.com) +- 1668152: take into account syspurpose during initial-setup - Registering + through initial-setup will now persist & use the syspurpose values that were + set during the anaconda installation process. (nmoumoul@redhat.com) +- 1661414: No message display when set service level by subscription + manager[ENT-1106] (ojanus@redhat.com) +- 1661400: Incorrect handling of response message (wpoteat@redhat.com) +- 1652870: Stay consistent with Katello list (wpoteat@redhat.com) +- ENT-978: Upgrade pxe-server/client to fedora29 - Also, now the RHSM spoke in + anaconda initializes and logs in the rhsm.log. (nmoumoul@redhat.com) +- 1660520: Modify spec file to require right version of libdnf. + (jhnidek@redhat.com) +- 1582317: Do not collect hardware facts twice; ENT-653 (jhnidek@redhat.com) +- 1666373: Do not delete product certs for disabled repos; ENT-1034 + (jhnidek@redhat.com) +- Supplements keyword is not available on rhel7 or centos7. + (jhnidek@redhat.com) +- 1634033: do not install conf file for non-existant dnf plugin + (csnyder@redhat.com) +- 1652870: handle new syspurpose status states - Now, the new syspurpose + statuses 'matched', 'mismatched' and 'not specified' returned by the server + will also be handled and shown. - In addition, for backwards compatibility, + if the server returns one of 'valid', 'invalid' or 'partial' status, those + will still be handled and shown too by subscription-manager. + (nmoumoul@redhat.com) +- 1632394: Supplement initial-setup-gui with our addon (csnyder@redhat.com) +- 1654531: Make default repolist proxy to http protocol when not specified + (wpoteat@redhat.com) +- 1655083: Sync syspurpose on status command (csnyder@redhat.com) +- 1658383: Ensure syspurpose has translations (csnyder@redhat.com) +- 1624859: Simplify syspurpose bash completion (csnyder@redhat.com) +- 1656598: Treat false as disabled when listing repos (csnyder@redhat.com) +- 1663254: Remove "Red Hat Enterprise Linux Client/Desktop" role option + (csnyder@redhat.com) +- 1591399: Stop throwing exception on timeout to avoid stacktrace + (wpoteat@redhat.com) +- 1658409: Stop redhat.repo from growing exponentially (awood@redhat.com) +- 1661219: Do not delete product certs for disabled repos; ENT-1034 + (jhnidek@redhat.com) +- 1660224: Allow setting and unsetting of addons and service level + (csnyder@redhat.com) +- 1618901: Module name unknown (wpoteat@redhat.com) +- 1643128: Do not execute subscription-manager dnf plugin twice; ENT-987 + (jhnidek@redhat.com) +- 1660224: Use the result from SyncResult objects for showing syspurpose + (csnyder@redhat.com) +- Added several unit tests and refactoring of code to libdnf product ID plugin + (jhnidek@redhat.com) +- 1633277: syspurpose tool will now log in rhsm.log - The syspurpose tool will + now log all communication with the server in the rhsm.log - Added a lot of + log statements in the key actions of the syspurpose tool itself, to help + with debugging. (nmoumoul@redhat.com) +- 1636852 & 1646384: better auth handling when listing service-levels - When + running service-level --list with invalid credentials, dont traceback, but + show the proper error to the user. - This is handled when either the + --serverurl, or --username and --password options are used. + (nmoumoul@redhat.com) +- 1654491: Use new API of DNF (jhnidek@redhat.com) +- 1633264: Ensure we sync syspurpose on register (csnyder@redhat.com) +- 1625214: send ConfigChanged event when file replaced - Now, the ConfigChanged + event will be sent not only when a monitored file is edited in place, but + also when the whole file is replaced with another who is moved/renamed to + the same location & name. (nmoumoul@redhat.com) +- 1654873: Add man entry for rhsmcertd.disable (csnyder@redhat.com) +- 1654868: Add man page docs of the package_profile_on_trans option + (csnyder@redhat.com) +- 1638153: Restore service-level command for older servers (csnyder@redhat.com) +- 1624859: Add bash completion for syspurpose aspects (csnyder@redhat.com) +- 1633380: show syspurpose status Unknown when cache missing - When the server + is unreachable and the syspurpose status cache is missing, then don't + traceback, but show status as 'Unknown'. - Also, when the server is + reachable, but the system is unregisted, show the 'Unknown' syspurpose + status, but don't cache it. (nmoumoul@redhat.com) +- 1642888: Add semanage advice on setting non-default proxy_port + (csnyder@redhat.com) +- 1651621: use cockpit-desktop to launch cockpit based gui (csnyder@redhat.com) +- Bug fix: include debuginfo in RPM with debuginfo information + (jhnidek@redhat.com) +- Sync changes with Entitlement Server from both subman and syspurpose + (csnyder@redhat.com) +- 1618372: Print accessible content paths from X509 extension using rct + (awood@redhat.com) +- 1650323: dnf subcommand for profile uploads; ENT-984 (jhnidek@redhat.com) +- 1599801: fix Python2 and Python3 incompatibility; ENT-776 + (jhnidek@redhat.com) +- 1649125: setuptools naming change (wpoteat@redhat.com) +- 1618498: cockpit will notify activation keys require org - When trying to + register with activation keys in cockpit, now the proper message will be + displayed to the user when he doesn't also provide an organisation. + (nmoumoul@redhat.com) +- 1651669: Remove dbus-python from egg requirements (khowell@redhat.com) +- Fix issue with Python 3.7 on Fedora 29. (jhnidek@redhat.com) +- Fix several issues with os.errno (jhnidek@redhat.com) +- 1650941: Fix value of Self-Support SLA in valid_fields.json + (csnyder@redhat.com) +- Fix builds of product-id plugin (khowell@redhat.com) +- Fixed bug that caused crashes of PackageKit daemon. (jhnidek@redhat.com) +- Small fixes of libdnf product-id plugin (jhnidek@redhat.com) +- Disable rhsmcertd by config entry (wpoteat@redhat.com) +- Typo fixes (khowell@redhat.com) +- Add fixes from @kahowell (dellweg@atix.de) +- Add dpkg-post-invoke hook deb_package_profile_upload (dellweg@atix.de) +- Add apt-transport-katello (dellweg@atix.de) +- Fall back to python package version (dellweg@atix.de) +- Make AptRepoFile dependent on the existence of python-deb822 + (dellweg@atix.de) +- Add dependencies (dellweg@atix.de) +- Multiplex server_value_repo_logic for all packet managers (dellweg@atix.de) +- Factor out repofile.py from repolib.py (dellweg@atix.de) +- Make apt, yum and zypper equal siblings in repolib (dellweg@atix.de) +- Add AptRepoFile (dellweg@atix.de) +- Rename modules to use underscore instead of hyphen. (awood@redhat.com) +- Remove zypper productid tests (for now) (khowell@redhat.com) +- Fix service name in zypper tests (khowell@redhat.com) +- Do not build libdnf plugin on RHEL 7 or Fedora 28. (awood@redhat.com) +- Uniquify the module list (paji@redhat.com) +- ENT-949: run the package profile reporting on the post_trans_hook for each + transaction (wpoteat@redhat.com) +- Add module that can be invoked to force package profile upload. + (awood@redhat.com) +- Polished libdnf product-id plugin accorind feedback from PR. + (jhnidek@redhat.com) +- 1632394 Fix error caused by changes in pyanaconda API. ENT-906 + (jhnidek@redhat.com) +- Package product-id plugin (awood@redhat.com) +- Remove macro forms of system executables (awood@redhat.com) +- Change in-source build message to a warning. (awood@redhat.com) +- Correct a few issues from code review. (awood@redhat.com) +- Remove "hello world" plugin (awood@redhat.com) +- Fixed almost all memory leaks from product-id plugin (jhnidek@redhat.com) +- Make "Debug" default built type. (jhnidek@redhat.com) +- Solve some warnings. (awood@redhat.com) +- Added documentation about product-id plugin. (jhnidek@redhat.com) +- Add docs. Deduplicate repo IDs. (awood@redhat.com) +- Added some unit tests for reading product certificate. (jhnidek@redhat.com) +- Get rid of remaining compile warnings. (jhnidek@redhat.com) +- Incorporate productDB code. (awood@redhat.com) +- Add option to make production ready code, added some more strict gcc options. + (jhnidek@redhat.com) +- Added more unit tests and fixed one bug. (jhnidek@redhat.com) +- Added some basic test for creating handle and hook. (jhnidek@redhat.com) +- Add incomplete method to write database. (awood@redhat.com) +- Added basic support for testing product-id.c (jhnidek@redhat.com) +- Fixed some memory leaks from productdb and unit tests. (jhnidek@redhat.com) +- Additional product db work (awood@redhat.com) +- Fix memory leaks and logging messages. (jhnidek@redhat.com) +- Fixed issue with list of installed packages and small changes + (jhnidek@redhat.com) +- More productdb functions and tests. (awood@redhat.com) +- Removing of unused product certs and productdb (jhnidek@redhat.com) +- Code and tests for product-db. (awood@redhat.com) +- Basic refactoring, add unit framework. (awood@redhat.com) +- Fixed issue with variable substitution. (jhnidek@redhat.com) +- Removed more memory leaks and improved printError(). (jhnidek@redhat.com) +- Write the map of product ID to repos into JSON. (awood@redhat.com) +- Added support for JSON-C into CMakeLists.txt. (jhnidek@redhat.com) +- Fixed several memory leaks using Valgrind (jhnidek@redhat.com) +- Rename method to denote it actually installs a cert. (awood@redhat.com) +- Move hook method up to be with its friends. (awood@redhat.com) +- Only install product certs from active repos. (awood@redhat.com) +- Switch to CMake for product-id plugin by removing Makefile. + (awood@redhat.com) +- Make reading of product certificate more robust. (jhnidek@redhat.com) +- Loging of productid plugin and put decompressed cert to /etc/pki/product + (jhnidek@redhat.com) +- Figure out what file name to use for the product cert. (awood@redhat.com) +- Link product-id.so with zlib, libcrypto and libssl libraries. + (jhnidek@redhat.com) +- Gunzip the product certificate. (awood@redhat.com) +- Find active packages (awood@redhat.com) +- Faster method of fetching active repos. (jhnidek@redhat.com) +- Look for active packages (awood@redhat.com) +- Fetch productid file. (awood@redhat.com) +- Ignore cmake build directories (awood@redhat.com) +- Rename using hyphen (awood@redhat.com) +- Add CMake file (awood@redhat.com) +- Makefile and trivial version of product id plugin (awood@redhat.com) +- Add note about using a local build. (awood@redhat.com) +- Added debug printing to log file (testing of pkcon). (jhnidek@redhat.com) +- Added more notes to README.md. (jhnidek@redhat.com) +- Added README.md; fixed bug in plugin and added some \n to printf. + (jhnidek@redhat.com) +- Added initial test/example libdnf plugin (crog@redhat.com) +- Clean up temp files after unit tests. (awood@redhat.com) +- Add an environment variable to disable package profile reporting + (awood@redhat.com) +- 1642271: Do not set a None lang (csnyder@redhat.com) +- Detect sles11 via /etc/SuSE-release (khowell@redhat.com) + +* Mon Nov 05 2018 Christopher Snyder 1.24.2-1 +- 1645205: Do not update ent certs inside containers (csnyder@redhat.com) +- 1633304: Disable zypper product-id plugin. (awood@redhat.com) +- Fedora documentation guidelines favor global over define. (awood@redhat.com) +- Show installed profiles only for enabled modules (paji@redhat.com) +- 1631339: Fix os.errno issue (rob@sandersmail.eu) +- Add a missing comma in test_cache (nmoumoul@redhat.com) +- Add module enabled and disabled information (paji@redhat.com) +- 1636381: Fix up our detection of missing org for service-level list + (csnyder@redhat.com) +- 1616403: Better handling of missing locale use (wpoteat@redhat.com) +- 1636381: Handle case of nonexistant org (nmoumoul@redhat.com) +- Add scripts to setup local development environment (khowell@redhat.com) +- 1633380: Add syspurpose compliance status cache - Altered the syspurpose + compliance status connection call to use the + /consumers/{uuid}/purpose_compliance API instead of fetching the consumer + object and reading the syspurpose compliance field off of it. - Added new + syspurpose compliance status cache saved in + /var/lib/rhsm/cache/syspurpose_compliance_status.json similar to the + entitlement status cache. - When the server is unreachable, we don't + traceback, but rather use the new cache value instead. (nmoumoul@redhat.com) +- 1639625: Tolerate server missing syspurpose fields (khowell@redhat.com) +- 1639086: Fix vendor comparison (hyu@redhat.com) +- Includes the installed module profiles (paji@redhat.com) +- 1623390: Fix unregistered messaging in syspurpose (khowell@redhat.com) +- 1637183: Replace redhat-uep.pem properly (khowell@redhat.com) +- 1632797: Only save SLA set during register or attach if specified + (csnyder@redhat.com) +- Updated how syspurpose handles unsetting values (crog@redhat.com) +- Update man page for report_package_profile option (nmoumoul@redhat.com) +- Automatic commit of package [subscription-manager] release [1.24.1-1]. + (csnyder@redhat.com) +- 1616366: Use LANG from environment (csnyder@redhat.com) +- syspurpose no longer supresses JSON malformation errors (crog@redhat.com) +- Rename zypper plugin to rhsm (khowell@redhat.com) +- 1632384: Sync SLA regardless of capability: (nmoumoul@redhat.com) +- 1621783: Updated syspurpose fields to match expected values (crog@redhat.com) +- 1632248: User should be able to set/unset while not registered + (csnyder@redhat.com) +- 1633575: Update error message when syspurpose is not supported by server + (csnyder@redhat.com) +- 1614925: Fix grammar (csnyder@redhat.com) + +* Mon Oct 15 2018 Christopher Snyder 1.24.1-1 +- Rename zypper plugin to rhsm (khowell@redhat.com) +- 1632384: Sync SLA regardless of capability: (nmoumoul@redhat.com) +- 1621783: Updated syspurpose fields to match expected values (crog@redhat.com) +- 1633575: Update error message when syspurpose is not supported by server + (csnyder@redhat.com) +- 1614925: Fix grammar (csnyder@redhat.com) +- Added support of modulemd to combined profile; ENT-834 (jhnidek@redhat.com) +- 1620136: dnf plugin deletes prod cert as expected; ENT-773 + (jhnidek@redhat.com) +- 1615944: Show help when no args are provided (csnyder@redhat.com) +- 1614943: Fix bytes/unicode handling of dmi data (khowell@redhat.com) +- 1618825: Rename de_DE.po and es_ES.po (awood@redhat.com) +- Combined profile: WIP enabled repos (jhnidek@redhat.com) +- Added list of enabled repos to combined profile; ENT-833 (jhnidek@redhat.com) +- 1607955: WIP: polishing PR with bug fix of release --list + (jhnidek@redhat.com) +- Fixed name of capability and added two unit tests. (jhnidek@redhat.com) +- Explict requires added for package we use directly (wpoteat@redhat.com) +- 1581410: Eliminate potential for circular dependency (awood@redhat.com) +- 1631076: subscription-manager rpm now requires python3-syspurpose + (nmoumoul@redhat.com) +- For tito build, clean the yarn cache (khowell@redhat.com) +- Fix ubuntu compat for virt-who travis runs (khowell@redhat.com) +- Fix RPMDiff issue with multilib (jhnidek@redhat.com) +- Use Combined Profile reporting (jhnidek@redhat.com) +- 1629073: No python3-dmidecode on aarch64, ppc64le (khowell@redhat.com) +- Simplify and fix subpackages logic (khowell@redhat.com) +- 1614653: Update intermediate CA (khowell@redhat.com) +- Fix spelling to capitalize Workstation properly (bcourt@redhat.com) +- 1607955: Try to use all entitlement certs for connection with CDN + (jhnidek@redhat.com) +- Use pre-provisioned centos7 box (khowell@redhat.com) +- Vagrant: use ansible-role-subman-devel via galaxy (khowell@redhat.com) +- Vagrant: skip provisioning if var needs_provision is false + (khowell@redhat.com) + +* Mon Sep 10 2018 Christopher Snyder 1.24.0-1 +- Use the "service_level_agreement" attribute for the SlaCommand + (csnyder@redhat.com) - 1623262: Make automatic enablement of yum plugins working again; ENT-820 (jhnidek@redhat.com) +- Start releasing to f29 (csnyder@redhat.com) + +* Thu Aug 30 2018 Christopher Snyder 1.23.4-1 +- 1600694: Log dbus exception tracebacks at the debug level + (csnyder@redhat.com) +- 1623368: Register a system without a syspurpose.json file + (jhnidek@redhat.com) +- Revert "Add sles version to dist" (cnsnyder@users.noreply.github.com) +- 1596699: Handle non-existant rhsm-debug destination (ENT-780) + (nmoumoul@redhat.com) +- Sync system purpose for sub-man subcommands (jhnidek@redhat.com) +- Add man page for syspurpose. (awood@redhat.com) +- 1613968: DNF product-id plugin can install product cert; ENT-789 + (jhnidek@redhat.com) +- Add sles version to dist (jsherril@redhat.com) +- Remove extraneous include in setup() (khowell@redhat.com) +- Updated translations (csnyder@redhat.com) +- 1596001: Change syspurpose import error log level to debug level + (csnyder@redhat.com) +- 1602702: rhsmcertd did not close lock file; ENT-736 (jhnidek@redhat.com) +- Adds the addons set of commands to syspurpose (csnyder@redhat.com) +- 1581445: ENT-564: rhsm configuration manage_repos is not working on RHEL8 + (jhnidek@redhat.com) +- Fix time stamps of pyc files (csnyder@redhat.com) * Mon Aug 13 2018 Christopher Snyder 1.23.3-1 - 1606435: Rename the async module for compatibility with python 3.7; ENT-737