manila/releasenotes/notes/bug-1639662-fix-share-service-VM-restart-problem-1110f9133cc294e8.yaml
Xiaoyang Zhang b76934770b 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
2018-05-22 11:43:29 +08:00

7 lines
226 B
YAML

---
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.