Bug 1258745

Summary: realm command line utility does not write logs about package installation to srdout/stderr
Product: Red Hat Enterprise Linux 7 Reporter: Patrik Kis <pkis>
Component: realmdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: Patrik Kis <pkis>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: ebenes, ovasik, pkis, sbose, stefw
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: realmd-0.16.1-6.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:46:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrik Kis 2015-09-01 07:44:51 UTC
Description of problem:
The previous version of realm command line utility used to write logs about package installation (via PackageKit) to stdout/stderr. Now this changed and can be considered as regression (although with very low priority as logging to journal still works).
I'm not sure, maybe this is caused by recent API change in PackageKit and realmd rebase, but rather reporting the issue here.

Version-Release number of selected component (if applicable):
realmd-0.16.1-3.el7
PackageKit-1.0.7-4.el7

How reproducible:
always

Steps to Reproduce:

# yum -y install PackageKit
...snip
# yum -y remove  sssd sssd-common adcli
...snip
# realm join --user=admin <AD_DOMAIN>
Password for admin: 
#

Expected results:

# realm join --user=admin <AD_DOMAIN>
Password for Amy-admin: 
 * Installing necessary packages: adcli, sssd
#

Comment 2 Stef Walter 2015-09-07 10:55:23 UTC
This is a oneline fix, which I've now pushed upstream:

http://cgit.freedesktop.org/realmd/realmd/commit/?id=ef0797e5ed116a98cc074a6d4e1d1d6b6e6384db

Please let me know if I should respin the errata for this.

Comment 5 Stef Walter 2015-09-10 09:47:28 UTC
Patrick could you add the exception request to this bug?

Comment 10 Stef Walter 2015-10-02 12:59:40 UTC
Bug dropped from RHEL 7.2 as discussed in bug #1267563

Comment 16 errata-xmlrpc 2016-11-04 07:46:30 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://rhn.redhat.com/errata/RHBA-2016-2511.html