Bug 1611541 - Broken symlink for initrd0.img and vmlinuz0
Summary: Broken symlink for initrd0.img and vmlinuz0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Discovery Image
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.4.0
Assignee: Lukas Zapletal
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks: 1598020
TreeView+ depends on / blocked
 
Reported: 2018-08-02 10:07 UTC by Nikhil Kathole
Modified: 2019-11-05 23:31 UTC (History)
3 users (show)

Fixed In Version: foreman-discovery-image-3.5.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 16:48:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1578290 0 unspecified CLOSED Unify kernel and initramdisk path with upstream 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2018:2928 0 None None None 2018-10-16 16:49:14 UTC

Internal Links: 1578290

Description Nikhil Kathole 2018-08-02 10:07:56 UTC
Description of problem: Trying to discover host could not find vmlinuz0 and initrd0.img

boot]# tree
.
├── fdi-image
├── fdi-image-rhel_7-img -> fdi-image/initrd0.img
├── fdi-image-rhel_7-vmlinuz -> fdi-image/vmlinuz0
├── foreman-discovery-image-3.5.1-2.iso-img
├── foreman-discovery-image-3.5.1-2.iso-vmlinuz
├── RedHat-6.9-x86_64-initrd.img
├── RedHat-6.9-x86_64-vmlinuz
├── RedHat-7.5-x86_64-initrd.img
└── RedHat-7.5-x86_64-vmlinuz

fdi-image-rhel_7-img and fdi-image-rhel_7-vmlinuz are symbolic links which should not.

tree should be like

# tree
.
├── fdi-image
│   ├── initrd0.img -> fdi-image-rhel_7-img
│   └── vmlinuz0 -> fdi-image-rhel_7-vmlinuz
├── fdi-image-rhel_7-img
├── fdi-image-rhel_7-vmlinuz
├── foreman-discovery-image-3.5.1-2.iso-img
├── foreman-discovery-image-3.5.1-2.iso-vmlinuz
├── RedHat-6.9-x86_64-initrd.img
├── RedHat-6.9-x86_64-vmlinuz
├── RedHat-7.5-x86_64-initrd.img
└── RedHat-7.5-x86_64-vmlinuz




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

foreman-discovery-image-3.5.1-2.el7sat.noarch


How reproducible:
always

Steps to Reproduce:
1. yum install foreman-discovery-image
2. tree

Actual results: fdi-image directory is empty and initrd0-img and vmlinuz0 are symbolic links.


Expected results: fdi-directory should have symbolic links to initrd0-img and vmlinuz0 and boot directory should have fdi-image-rhel_7-img and fdi-image-rhel_7-vmlinuz not symbolic links.


Additional info:

Comment 3 Brad Buckingham 2018-08-06 11:05:33 UTC
Moving to GA as it was confirmed that this is not present with 3.4.4.

Comment 4 Lukas Zapletal 2018-08-06 13:39:27 UTC
This was introduced with: https://bugzilla.redhat.com/show_bug.cgi?id=1578290

Comment 5 Nikhil Kathole 2018-09-10 09:18:14 UTC
VERIFIED

Version tested:
Satellite 6.4 snap 21

foreman-discovery-image-3.5.2-1.el7sat.noarch

boot]# tree
.
├── fdi-image
│   ├── foreman-discovery-image-3.5.2-1.iso-img
│   ├── foreman-discovery-image-3.5.2-1.iso-vmlinuz
│   ├── initrd0.img -> foreman-discovery-image-3.5.2-1.iso-img
│   └── vmlinuz0 -> foreman-discovery-image-3.5.2-1.iso-vmlinuz
├── RedHat-6.9-x86_64-initrd.img
├── RedHat-6.9-x86_64-vmlinuz
├── RedHat-7.5-x86_64-initrd.img
└── RedHat-7.5-x86_64-vmlinuz

Comment 7 errata-xmlrpc 2018-10-16 16:48:22 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-2018:2928


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