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.

Bug 1335643

Summary: Execute bit for /usr/bin/discovery-remaster is not set after installation of Satellite
Product: Red Hat Satellite Reporter: Billy Holmes <biholmes>
Component: Discovery ImageAssignee: Lukas Zapletal <lzap>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 6.2.0CC: biholmes, rjerrido
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-13 14:02:37 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 Billy Holmes 2016-05-12 18:27:45 UTC
Description of problem:

Installation of satellite via:

yum -y install \
        katello \
        bind-utils \
        foreman-discovery-image.noarch \
        rubygem-smart_proxy_discovery.noarch \
        rubygem-smart_proxy_discovery_image.noarch \
        tfm-rubygem-foreman_discovery.noarch \
        tfm-rubygem-hammer_cli_foreman_discovery.noarch \
        pulp-admin-client

  foreman-installer --scenario katello \
    --foreman-admin-username $SAT_USER \
    --foreman-admin-password $SAT_PASS \
    --capsule-puppet true \
    --foreman-proxy-puppetca true \
    --foreman-proxy-tftp true \
    --enable-foreman-plugin-discovery \
    --foreman-initial-location $LOCATION \
    --foreman-initial-organization $ORGANIZATION

Should allow the ability to customize the discovery image as detailed:

https://access.redhat.com/blogs/1169563/posts/2090011

However /usr/bin/discovery-remaster is missing the execute (x) bit.

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

6.0.2 Beta

How reproducible:


Steps to Reproduce:
1. yum install the correct packages.
2. run foreman-installer --scenario katello --enable-foreman-plugin-discovery
3. discovery-remaster ISO_IMAGE "...."

Actual results:

[root@sat1 scripts]# discovery-remaster
bash: /usr/bin/discovery-remaster: Permission denied

Expected results:

discovery-remaster customizes the discovery ISO.

Additional info:

Comment 1 Lukas Zapletal 2016-05-13 14:02:37 UTC
Hello, thanks for report. We will fix that.

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