Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure nmbd is restarted following nmbstatus lookup #72

Closed
wants to merge 1 commit into from
Closed

Ensure nmbd is restarted following nmbstatus lookup #72

wants to merge 1 commit into from

Conversation

petrpavlu
Copy link

When the YaST samba-server module is started, it stops the nmb service to run nmbstatus but does not always start is again as it should.

The following happens:

  • Code in yast-samba-server/src/modules/SambaServer.pm calls SambaNmbLookup->Start() from yast-samba-client/src/modules/SambaNmbLookup.pm.
  • SambaNmbLookup.pm stops the nmb service and asynchronously starts nmbstatus.
  • No call is made to SambaNmbLookup->checkNmbstatus() to ensure nmbstatus completed and nmbd can be started again.

This is bsc#1158916. Issue bsc#895319 was a similar problem but in yast-samba-client and got fixed by yast/yast-samba-client#32. The patch here takes the same approach.

@scabrero scabrero self-requested a review January 14, 2020 19:09
@scabrero scabrero self-assigned this Jan 14, 2020
@petrpavlu
Copy link
Author

Abandoning, per the discussion in bsc#1158916, it is no longer necessary to stop nmbd when running nmbstatus and so a better fix is to remove that code from yast-samba-client/src/modules/SambaNmbLookup.pm.

@petrpavlu petrpavlu closed this Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants