Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1014463

Summary: systemd-fstab-generator[886]: Failed to create mount unit file /run/systemd/generator/sysroot.mount, as it already exists. Duplicate entry in /etc/fstab?
Product: Red Hat Enterprise Linux 7 Reporter: Bruno Goncalves <bgoncalv>
Component: dracutAssignee: dracut-maint
Status: CLOSED DUPLICATE QA Contact: Bruno Goncalves <bgoncalv>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: bgoncalv, dracut-maint-list, harald, jburke, jstancek, pbunyan, systemd-maint-list
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-30 16:58: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 Bruno Goncalves 2013-10-02 06:43:38 UTC
Description of problem:

When trying to install the OS on a system booting via iSCSI with 2 session the following error happens.

[   32.230373] systemd-fstab-generator[886]: Failed to create mount unit file /run/systemd/generator/sysroot.mount, as it already exists. Duplicate entry in /etc/fstab?
dracut-initqueue[590]: iscsistart: version 6.2.0.873-14
dracut-initqueue[590]: iscsistart: initiator reported error (15 - session exists)
dracut-initqueue[590]: iscsistart: initiator reported error (15 - session exists)
[  OK  ] Started dracut initqueue hook.
         Starting dracut pre-mount hook...
[  OK  ] Started dracut pre-mount hook.
         Mounting /sysroot...
[FAILED] Failed to mount /sysroot.
See 'systemctl status sysroot.mount' for details.


:/# cat /etc/fstab
/dev/root /sysroot auto ro,x-initrd.mount 0 0
/dev/root /sysroot auto ro,x-initrd.mount 0 0

:/# systemctl status sysroot.mount -l
sysroot.mount - /sysroot
   Loaded: loaded (/etc/fstab)
   Active: failed (Result: exit-code) since Wed 2013-10-02 02:16:52 UTC; 20min ago
    Where: /sysroot
     What: /dev/root
  Process: 925 ExecMount=/bin/mount /dev/root /sysroot -t auto -o ro,x-initrd.mount (code=exited, status=32)

Oct 02 02:16:52 localhost systemd[1]: Mounting /sysroot...
Oct 02 02:16:52 localhost mount[925]: mount: /dev/sdc is already mounted or /sysroot busy
Oct 02 02:16:52 localhost systemd[1]: sysroot.mount mount process exited, code=exited status=32
Oct 02 02:16:52 localhost systemd[1]: Failed to mount /sysroot.
Oct 02 02:16:52 localhost systemd[1]: Unit sysroot.mount entered failed state.


Version-Release number of selected component (if applicable):
systemd-207-2.el7.x86_64
dracut-033-3.el7

How reproducible:
100%

Steps to Reproduce:
1.Try to install a iSCSI boot that has 2 sessions configured

2.Installation fails with error above

Comment 4 David Lehman 2013-10-02 13:17:14 UTC
Is this happening when you try to boot the installer or when you try to reboot after installation has completed?

Comment 5 Bruno Goncalves 2013-10-02 13:53:32 UTC
It happens at the installer, just after the iSCSI disks are connected, then the installation fails.

Comment 6 Harald Hoyer 2013-10-29 11:02:44 UTC
please add "rd.debug" to the kernel command line and attach the console.log again.

Comment 7 Bruno Goncalves 2013-10-30 09:27:13 UTC
The problem seems to be caused by adding rd.iscsi.firmware to kernel command line.

Can it be closed as not a bug?

Comment 8 Harald Hoyer 2013-10-30 16:58:37 UTC

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