RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1819613 - /etc/cron.daily/rhsmd gives error sleep: missing operand
Summary: /etc/cron.daily/rhsmd gives error sleep: missing operand
Keywords:
Status: CLOSED DUPLICATE of bug 1803794
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-01 07:52 UTC by Dennixx
Modified: 2023-10-06 19:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-06 16:13:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4963101 0 None None None 2020-04-04 01:01:00 UTC

Description Dennixx 2020-04-01 07:52:46 UTC
Description of problem:
I received a bunch of e-mails from cron with the following content:
-----
/etc/cron.daily/rhsmd:

sleep: missing operand
Try 'sleep --help' for more information.
/etc/cron.daily/rhsmd: line 19:  3825 Terminated              /usr/libexec/rhsmd -s
-----

This was due to subscription-manager being updated.

Version-Release number of selected component (if applicable):

subscription-manager-1.24.26-1.el7.x86_64


How reproducible:

Always

Steps to Reproduce:

1. Run the script

Additional info:

'if [ -n $config ]' should be 'if [ -n "$config" ]'

Please also see bug #1803794, which was reported a month and a half ago against RHEL8.2 beta

Comment 2 Dennixx 2020-04-01 08:03:09 UTC
I see there's an even older bugreport on this: bug #1794653

Comment 3 Rehana 2020-04-06 16:13:43 UTC

*** This bug has been marked as a duplicate of bug 1803794 ***


Note You need to log in before you can comment on or make changes to this bug.