Bug 1273924

Summary: realmd proposes wrong package to install
Product: Red Hat Enterprise Linux 7 Reporter: Patrik Kis <pkis>
Component: realmdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: Marek Marusic <mmarusic>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: jpazdziora, mmarusic, pkis, sbose
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:34 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:
Bug Depends On:    
Bug Blocks: 1296125, 1313485    

Description Patrik Kis 2015-10-21 13:51:02 UTC
Description of problem:
After the recent samba update the net tools moved from samba-common to samba-common-tools package. But realm still proposes to install the package-samba common. It looks like as it was hardcoded.

Version-Release number of selected component (if applicable):
realmd-0.16.1-5.el7
samba-4.2.3-7.el7

How reproducible:
always

Steps to Reproduce:

# rpm -e samba-client-common
#
# rpm -q oddjob oddjob-mkhomedir sssd samba-common
oddjob-0.31.5-4.el7.x86_64
oddjob-mkhomedir-0.31.5-4.el7.x86_64
sssd-1.13.0-40.el7.x86_64
samba-common-4.2.3-7.el7.noarch
#
# echo password | realm join --user=administrator --membership-software=samba ad.test.com
Password for administrator: 
See: journalctl REALMD_OPERATION=r11173.1786
realm: Couldn't join realm: Necessary packages are not installed: oddjob, oddjob-mkhomedir, sssd, samba-common
#

Comment 2 Jan Pazdziora 2015-10-22 12:33:21 UTC
*** Bug 1274251 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2016-11-04 07:46:34 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