Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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.
Descriptionjeff.chapin@uni.edu
2019-10-03 13:29:25 UTC
Description of problem:
/usr/bin/katello-rhsm-consumer has bad redirects for STDERR, resulting in files named /1 that contain:
$ cat /1
Stopping goferd[ OK ]
Starting goferd[ OK ]
$ grep -n '2&>1' /usr/bin/katello-rhsm-consumer
255: systemctl reload docker >/dev/null 2&>1
258: service docker reload >/dev/null 2&>1
265: service goferd restart >/dev/null 2&>1
Version-Release number of selected component (if applicable):
6.4.1
How reproducible:
100% of the time
Steps to Reproduce:
1.grep -n '2&>1' /usr/bin/katello-rhsm-consumer
Alternatively:
1. yum -y remove "katello-ca-consumer*" --disablerepo=* --noplugins
2. yum -y localinstall "${SAT_SERVER}/pub/katello-ca-consumer-latest.noarch.rpm" --disablerepo=* --noplugins
This is from the official Satellite documentation for reinstalling this package when updating certificates on Satellite.
Actual results:
$ cat /1
Stopping goferd[ OK ]
Starting goferd[ OK ]
Expected results:
No output is redirected to /dev/null, and no files are created.
Additional info:
Comment 3Zach Huntington-Meath
2019-10-10 13:14:27 UTC
Description of problem: /usr/bin/katello-rhsm-consumer has bad redirects for STDERR, resulting in files named /1 that contain: $ cat /1 Stopping goferd[ OK ] Starting goferd[ OK ] $ grep -n '2&>1' /usr/bin/katello-rhsm-consumer 255: systemctl reload docker >/dev/null 2&>1 258: service docker reload >/dev/null 2&>1 265: service goferd restart >/dev/null 2&>1 Version-Release number of selected component (if applicable): 6.4.1 How reproducible: 100% of the time Steps to Reproduce: 1.grep -n '2&>1' /usr/bin/katello-rhsm-consumer Alternatively: 1. yum -y remove "katello-ca-consumer*" --disablerepo=* --noplugins 2. yum -y localinstall "${SAT_SERVER}/pub/katello-ca-consumer-latest.noarch.rpm" --disablerepo=* --noplugins This is from the official Satellite documentation for reinstalling this package when updating certificates on Satellite. Actual results: $ cat /1 Stopping goferd[ OK ] Starting goferd[ OK ] Expected results: No output is redirected to /dev/null, and no files are created. Additional info: