Bug 1274251 - List of necessary packages is wrong for /usr/bin/net
List of necessary packages is wrong for /usr/bin/net
Status: CLOSED DUPLICATE of bug 1273924
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: realmd (Show other bugs)
7.2
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Stef Walter
BaseOS QE Security Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-22 07:21 EDT by Jan Pazdziora
Modified: 2015-10-22 08:33 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-22 08:33:21 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Pazdziora 2015-10-22 07:21:25 EDT
Description of problem:

realm join fails with

 * Couldn't find file: /usr/bin/net
 * Required files: /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd, /usr/bin/net
 * Resolving required packages
 ! Necessary packages are not installed: oddjob, oddjob-mkhomedir, sssd, samba-common
realm: Couldn't join realm: Necessary packages are not installed: oddjob, oddjob-mkhomedir, sssd, samba-common

even if samba-common is installed.

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

realmd-0.16.1-5.el7.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. yum install -y realmd oddjob oddjob-mkhomedir sssd samba-common
2. realm join -v addomain.test

Actual results:

 * Couldn't find file: /usr/bin/net
 * Required files: /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd, /usr/bin/net
 * Resolving required packages
 ! Necessary packages are not installed: oddjob, oddjob-mkhomedir, sssd, samba-common
realm: Couldn't join realm: Necessary packages are not installed: oddjob, oddjob-mkhomedir, sssd, samba-common

Expected results:

 * Couldn't find file: /usr/bin/net
 * Required files: /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd, /usr/bin/net
 * Resolving required packages
 ! Necessary packages are not installed: oddjob, oddjob-mkhomedir, sssd, samba-common
realm: Couldn't join realm: Necessary packages are not installed: oddjob, oddjob-mkhomedir, sssd, samba-common-tools

Additional info:

The /usr/bin/net is provided by samba-common-tools in RHEL 7.2.

Also note bug 1271608 which might provide cure if samba-common is fixed to require samba-common-tools but still, the list of packages should not be misleading.
Comment 3 Jan Pazdziora 2015-10-22 08:33:21 EDT

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

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