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 1653207

Summary: systemd-fstab-generator: the device listed in /etc/fstab is removed automatically when executing "systemctl start mount_point"
Product: Red Hat Enterprise Linux 8 Reporter: Yongcheng Yang <yoyang>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: high    
Version: 8.0CC: systemd-maint-list, xzhou
Target Milestone: rcKeywords: Reproducer
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-29 10:53:31 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:

Comment 2 Yongcheng Yang 2019-08-29 10:53:31 UTC
This problem has been resolved ready. But I'm not sure which is the exact version.
Just closing it now.

[root@ ]# ./bz1653207.sh 
$ tail -2 /etc/fstab
/tmp/test_img.xfs  /export_test.xfs  xfs  auto  0 0
/tmp/test_img.ext4  /export_test.ext4  ext4  auto  0 0
$ ls -l /tmp/test_img.*
-rw-r--r--. 1 root root 1073741824 Aug 29 06:51 /tmp/test_img.ext4
-rw-r--r--. 1 root root 1073741824 Aug 29 06:51 /tmp/test_img.xfs
$ systemctl start /export_test.xfs
/export_test.xfs is a mountpoint
$ systemctl start /export_test.ext4
/export_test.ext4 is a mountpoint
[root@ ]# rpm -q systemd
systemd-239-17.el8.x86_64

Comment 3 Yongcheng Yang 2019-09-04 09:35:16 UTC
(In reply to Yongcheng Yang from comment #2)
> This problem has been resolved ready. But I'm not sure which is the exact

The root cause is that tmp.mount may be started and /tmp over-mounted as a result.

And after that, same reproducer cannot trigger the failure. Than's why I thought it fixed before.

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