rockstor / rockstor-core

Linux/BTRFS based Network Attached Storage(NAS)
http://rockstor.com/docs/contribute_section.html
GNU General Public License v3.0
553 stars 137 forks source link

Pool delete fails to remove smb.conf entry #2841

Open phillxnet opened 4 months ago

phillxnet commented 4 months ago

An existing Samba export is only removed from DB, not smb.conf, during an associated Pool delete. This was observed on a TW installer derived instance; but is likely unrelated to the underlying OS. So we likely fail to remove out export config when deleting a pool. N.B. this failure was associated with an initial Pool delete 'busy' failure - then followed up by a seemingly successful Pool delete re-try.


Requires confirmation without associated initial Pool delete 'busy' fail.

phillxnet commented 4 months ago

Creating the same smb share and then deleting this share did, however, then remove the associated smb config. So the config removal failure looks to be associated with the Pool delete not propogating to a full smb config export removal.