Actions
Bug #3647
closederror: cannot share pool/folder - smb add share failed
Start date:
2013-03-23
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
When the SMB service is starting up, one sometimes will see
error: cannot share pool/folder - smb add share failed
Updated by Gordon Ross about 9 years ago
From Daniil Lunev
Problem is that there is the race condition between libshare and smf. Libshare starts smb service, but it can go forward with sharing before smf actually begins work with service. cr3848 fixes this race and eliminates errors masking. It will wait for server up to 15 second. If server gets online during this 15 second, then everything is ok. If not, then we propogate error to the upper level. Having this error returned, upper level sets up return code with error, but tries to share other datasets (until datasets is over, service gets online, service gets maintained (one of that)).
Updated by Gordon Ross over 1 year ago
- Status changed from In Progress to Closed
Actions