Bug 1674055 - unexpected output from at least two cf-me packages due to the use of pushd/popd, without redirecting to /dev/null.
Summary: unexpected output from at least two cf-me packages due to the use of pushd/po...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Build
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.11.0
Assignee: Satoe Imaishi
QA Contact: Jaroslav Henner
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-08 21:46 UTC by Sudhir Mallamprabhakara
Modified: 2020-01-02 11:51 UTC (History)
6 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:35:26 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:35:51 UTC

Description Sudhir Mallamprabhakara 2019-02-08 21:46:35 UTC
Description of problem: unexpected output from at least two cf-me packages due to the use of pushd/popd, without redirecting to /dev/null.

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


How reproducible:
https://engineering.redhat.com/rt/Ticket/Display.html?id=486134

Steps to Reproduce:
1. pushd/popd output should go to /dev/null
2.
3.

Actual results:
pushd /tmp ; popd -- and you'll see the dirs printed on the screen

Expected results:
pushd/popd output should go to /dev/null

Additional info:

Comment 5 Jaroslav Henner 2019-07-15 19:38:17 UTC
I reproduced this when updting CFME 5.10.x to current 5.10.:

  Updating   : cfme-5.10.7.1-1.el7cf.x86_64                              78/352 
no crontab for root
/var/www/miq/vmdb/certs /
/
/etc/yum.repos.d /
/


I found that updating cfme from 5.11.0.1 to cfme-5.11.0.14-1.el8cf.x86_64 didn't produce the error, but there is some other issue:
...
 Running scriptlet: qpid-proton-c-0.28.0-1.el8.x86_64                     4/16 
  Installing       : rubygem-qpid_proton-0.26.0-1.el8cf.x86_64             5/16 
  Upgrading        : cfme-gemset-5.11.0.14-1.el8cf.x86_64                  6/16 
  Running scriptlet: cfme-5.11.0.14-1.el8cf.x86_64                         7/16 
  Upgrading        : cfme-5.11.0.14-1.el8cf.x86_64                         7/16 
  Running scriptlet: cfme-5.11.0.14-1.el8cf.x86_64                         7/16 
  Upgrading        : cfme-appliance-common-5.11.0.14-1.el8cf.x86_64        8/16 
  Running scriptlet: cfme-appliance-common-5.11.0.14-1.el8cf.x86_64        8/16 
  Upgrading        : cfme-appliance-5.11.0.14-1.el8cf.x86_64               9/16 
  Running scriptlet: cfme-appliance-5.11.0.14-1.el8cf.x86_64               9/16 
warning: %post(cfme-appliance-5.11.0.14-1.el8cf.x86_64) scriptlet failed, exit status 3

Error in POSTIN scriptlet in rpm package cfme-appliance
  Upgrading        : cfme-appliance-tools-5.11.0.14-1.el8cf.x86_64        10/16 
  Running scriptlet: cfme-appliance-tools-5.11.0.14-1.el8cf.x86_64        10/16 
  Cleanup          : cfme-appliance-5.11.0.7-1.el8cf.x86_64               11/16

Comment 7 errata-xmlrpc 2019-12-12 13:35:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4199


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