View Issue Details

IDProjectCategoryView StatusLast Update
0017838CentOS-7subscription-managerpublic2020-11-10 09:51
Reportergtuminauskas 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformRedHatOSCentOSOS Version7.8.2003
Product Version7.8-2003 
Target VersionFixed in Version 
Summary0017838: cron job for rhsmd gets terminated because settings moved away
Descriptioncron.daily job for rhsmd gets terminated because settings are moved away

this line is not working in /etc/cron.daily/rhsmd (it sets empty value for config variable)
config=$(grep -E "^processTimeout" /etc/rhsm/rhsm.conf | grep -Po "[0-9]+")

but it is working with different command:
# subscription-manager config | grep --ignore-case "processTimeout"
   processtimeout = [300]

every day cron.dai prints out to stdout (and sends email) with this info:
### start
/etc/cron.daily/rhsmd:

sleep: missing operand
Try 'sleep --help' for more information.
/etc/cron.daily/rhsmd: line 19: 21531 Terminated /usr/libexec/rhsmd -s
### end
Steps To Reproduce# cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)

# rpm -qa | grep subscription
subscription-manager-rhsm-certificates-1.24.26-4.el7.centos.x86_64
subscription-manager-1.24.26-4.el7.centos.x86_64
subscription-manager-rhsm-1.24.26-4.el7.centos.x86_64

same bug as here:
https://bugzilla.redhat.com/show_bug.cgi?id=1828186
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-11-10 09:51 gtuminauskas New Issue