Bug 1566088

Summary: Need to add daemon reload suggestion at fstab edit
Product: Red Hat Enterprise Linux 7 Reporter: John Pittman <jpittman>
Component: doc-Storage_Administration_GuideAssignee: Marek Suchánek <msuchane>
Status: CLOSED CURRENTRELEASE QA Contact: Zhang Kexin <kzhang>
Severity: medium Docs Contact:
Priority: high    
Version: 7.4CC: jpittman, kwalker, msekleta, msuchane, rhel-docs
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-10 12:44:10 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:

Description John Pittman 2018-04-11 13:38:52 UTC
Document URL: 


Section Number and Name: 


Describe the issue: 

When changing /etc/fstab online in a systemd environment, a 'systemctl daemon-reload' must be run.  After editing your /etc/fstab with the sed command, you'll need to run a 'systemctl daemon-reload'.  The fstab isn't read and the mount units generated until that is run.  Without that, you will have a mount unit created for the old swap LV that will attempt to mount whenever your trigger a udev change event.  

Suggestions for improvement: 

Maybe a hint at the end of the page.  "If editing /etc/fstab online, ie. with no reboot, then 'systemctl daemon-reload' should be run afterwards to update systemd daemon"