View Issue Details

IDProjectCategoryView StatusLast Update
0017381CentOS-7subscription-managerpublic2020-05-21 12:40
Reporterjberanek 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.8-2003 
Target VersionFixed in Version 
Summary0017381: subscription-manager missing update
Descriptionsubscription-manager has had a released update to take it to subscription-manager-1.24.26-3.el7.centos.x86_64, with the changelog:

* Mon Apr 27 2020 William Poteat <wpoteat@redhat.com> 1.24.26-3
- 1828186: Make rhsmd cron read 'processTimeout' case-insensitive
  (csnyder@redhat.com)
- 1827103: Added copytruncate option to logrotate conf file; ENT-2114
  (jhnidek@redhat.com)

* Fri Apr 17 2020 William Poteat <wpoteat@redhat.com> 1.24.26-2
- 1823780: corrected missing quotes for config check; ENT-2010
  (crag@redhat.com)

However, the troublesome /etc/cron.d/rhsmd has not been updated:

#!/bin/sh
# nightly run of rhsmd to log entitlement expiration/validity errors to syslog
# this is a cron job because it doesn't need to 'phone home'. should that
# change, look into calling the dbus interface from rhsmcertd instead.
config=$(grep -E "^processTimeout" /etc/rhsm/rhsm.conf | grep -Po "[0-9]+")
if [ -n $config ]; then
  rhsmd_timeout=$config
else
  rhsmd_timeout=300
fi

/usr/libexec/rhsmd -s &
sleep $rhsmd_timeout;

ps_check=$(pgrep -f '/usr/libexec/rhsmd')
if [ -n "$ps_check" ]; then
  pkill -f '/usr/libexec/rhsmd' >/dev/null 2>&1
  logger -t rhsmd -p user.warn "rhsmd process exceeded runtime and was killed." >/dev/null 2>&1
fi

So, the new patches/sources are missing?
Steps To ReproduceUpdate to subscription-manager-1.24.26-3.el7.centos.x86_64
Check contents of /etc/cron.d/rhsmd
TagsNo tags attached.
abrt_hash
URL

Activities

jberanek

jberanek

2020-05-21 08:04

reporter   ~0036972

$ rpm -qf /etc/cron.daily/rhsmd
subscription-manager-1.24.26-3.el7.centos.x86_64

$ sudo rpm -q --verify subscription-manager
S.5....T. c /etc/rhsm/rhsm.conf
jberanek

jberanek

2020-05-21 08:35

reporter   ~0036973

OK, so the Red Hat and CentOS SRPMs have different tarballs inside them:

Red Hat:
$ sha1sum subscription-manager-1.24.26.tar.gz
acb5718105f463e1e0c33bb34e2e54486d7e93e0 subscription-manager-1.24.26.tar.gz

CentOS
$ sha1sum subscription-manager-1.24.26.tar.gz
89e5fa47d8ce6ddb9ea9cb54be8322c935249847 ../jb/subscription-manager-1.24.26.tar.gz

Issue History

Date Modified Username Field Change
2020-05-21 08:03 jberanek New Issue
2020-05-21 08:04 jberanek Note Added: 0036972
2020-05-21 08:35 jberanek Note Added: 0036973