Red Hat Bugzilla – Bug 499781
Duplicate network startup in the init scripts during boot from iSCSI target
Last modified: 2011-01-13 19:05:34 EST
Description of problem:
When creating the initrd image and the system has two partitions on a single iscsi device, the network section is created twice in the init script.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create two partitions on one iscsi device
2. Rebuild initrd
3. Reboot machine
Network is configured twice in the initrd.
Network only to be configured once.
Patch is provided and tested by
Thomas Chenault to be attached.
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
(In reply to comment #0)
> Description of problem:
> When creating the initrd image and the system has two partitions on a single
> iscsi device, the network section is created twice in the init script.
with mkinitrd-22.214.171.124-61 (RHEL5.5) I can't reproduce. I have /home and / on a single iSCSI disk and /boot and swap on a local disk. The original initrd created during install contains the networking section only once. Then I've created a second initrd.img by running: mkinitrd -f test.initrd $(uname -r)
This also has the networking section specified only once.
Are you able to reproduce this with latest RHEL5 release and if yes what are your steps to reproduce?
I think it creates as many paths as required to the root volume. I have a sosreport from the customer, although I've forgotten exactly what it took to reproduce it, besides the above.
I can get a sysreport from the customer if that will assist you. This reproduced on RHEL 5.4 , if you want I can try again on RHEL 5.5 but I didn't see anything in that script that would change the behaviour.
Please ask the customer to test with 5.5 and attach sosreport and any other information that may be useful.
Can anyone provide the testing feedback requested by comment #10?
Thanks in advance.
Should be fixed in mkinitrd-126.96.36.199-64 .
Retested with mkinitrd-188.8.131.52-65.el5 using steps from comment 13. Network started only once during the initrd initialization. Build: RHEL5.6-Server-20100930.0.
Moving to VERIFIED.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Previously, network devices could be set up more than once with iSCSI when the system had two partitions on a single iscsi device. With this update, the network is only configured once. This issue could be resolved thanks to the patch contributed made by Thomas Chenault.
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.