RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 696907 - Anaconda creates mdadm.conf when not needed
Summary: Anaconda creates mdadm.conf when not needed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Lumens
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 670159
TreeView+ depends on / blocked
 
Reported: 2011-04-15 08:43 UTC by Alexander Todorov
Modified: 2011-05-19 12:40 UTC (History)
3 users (show)

Fixed In Version: anaconda-13.21.113-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 696110
Environment:
Last Closed: 2011-05-19 12:40:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0530 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2011-05-18 17:44:52 UTC

Description Alexander Todorov 2011-04-15 08:43:34 UTC
+++ This bug was initially created as a clone of Bug #696110 +++

Created attachment 491696 [details]
boot.log

Description of problem:

Starting RPC idmapd:                                       [  OK  ]
/etc/rc3.d/S25netfs: line 47: mdadm: command not found
Setting up Logical Volume Management:   2 logical volume(s) in volume group "vg_dhcp70188" now active

This is when booting a KVM domU of the latest Workstation variant (snap #3) which has 2 iSCSI targets acting as PVs. 

Version-Release number of selected component (if applicable):
initscripts-9.03.22-1.el6.x86_64
anaconda version 13.21.111

How reproducible:


Steps to Reproduce:
1. Configure tgtd to export 2 iSCSI targets
2. Start KVM domU install with a local disk and attach to the 2 targets
3. Select to use all space on all disks (will create LVM)
4. Select minimal package set

Actual results:
mdadm not found because it is not installed.

Expected results:
If mdadm is necessary I suppose it should have been installed automatically by anaconda.

Additional info:


.... SKIP ....


--- Additional comment from clumens on 2011-04-15 05:32:14 EEST ---

(In reply to comment #12)
> Chris - do we want anaconda writing out mdadm.conf if mdadm isn't being
> installed?

We should create /etc/mdadm.conf on the basis of RAID devices being created.  If there are none, the file should not be created.

Comment 1 Alexander Todorov 2011-04-15 08:44:18 UTC
Filing here for anaconda. 

Expected result:
No /etc/mdadm.conf if no RAID devices are created during install.

Comment 3 RHEL Program Management 2011-04-15 19:39:29 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 6 Alexander Todorov 2011-04-20 13:14:46 UTC
Easier steps to reproduce:

1) Perform install on local disk using autopart and minimal package set
2) No RAID arrays will be created but anaconda will create non-empty /etc/mdadm.conf


Tested with anaconda-13.21.114-1 from 0420.n.0 nightly - mdadm.conf was not created.

Comment 7 errata-xmlrpc 2011-05-19 12:40:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0530.html


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