Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix share-service VM restart problem
The /etc/mtab file may have mount information such as 'nfsd' that if copied to /etc/fstab will cause the share server to hang when rebooted. Update /etc/fstab with exactly the newly mounted or unmounted shares rather than simply overwriting /etc/fstab with /etc/mtab. Change-Id: I67602bae1f928769d768008deca7bd0f2fef1ac2 Close-Bug: #1639662
- Loading branch information
Showing
4 changed files
with
73 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/bug-1639662-fix-share-service-VM-restart-problem-1110f9133cc294e8.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
fixes: | ||
- Changed sync mount permanently logic in the Generic | ||
driver to select the newly mounted share from /etc/mtab | ||
and insert it into /etc/fstab. Added corresponding | ||
remove mount permanently functionality. |