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

samba: update to 4.13.4 #28527

Closed
wants to merge 2 commits into from
Closed

samba: update to 4.13.4 #28527

wants to merge 2 commits into from

Conversation

ahesford
Copy link
Member

@ahesford ahesford commented Feb 5, 2021

Relatively minor update, but I'd appreciate a bit of testing, especially from @Anachron and @wangp who had some issues on armv7l or aarch64.

There is a caveat: I tried building this update while running the smbd and nmbd services from the current samba-4.13.3_1 package. The resulting 4.13.4_1 package produced a broken smbd which died on startup with the error

svcctl_init_winreg: Could not open SYSTEM\CurrentControlSet\Services - NT_STATUS_INVALID_HANDLE
regdb_close: decrementing refcount (1->0)
dcesrv_init_ep_server: Failed to init endpoint server 'svcctl': NT_STATUS_UNSUCCESSFUL
dcesrv_init: Failed to init DCE/RPC endpoint servers: NT_STATUS_UNSUCCESSFUL
main: Failed to setup RPC server: NT_STATUS_UNSUCCESSFUL
exit_daemon: daemon failed to start: Samba cannot setup ep pipe, error code 13

Code 13 looks like EACCES, but this is a hard-coded number that is independent of the actual reason for failure.

After removing samba, smbclient and samba-libs (which also required removing cifs-utils and vlc on my system) and rebuilding the package, smbd worked as expected. I tried a third rebuild with samba, smbclient and samba-libs installed but the services not active. This also seemed to produce a working package.

It seems that the build process allows the host configuration to leak through some how, and when the old services are running, something causes smbd to break. If you have similar troubles, I recommend first stopping any nmbd and smbd and rebuilding; if that still fails, try removing samba-libs and any dependants.

Have the results of the proposed changes been tested?

  • I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

@ahesford ahesford changed the title Samba samba: update to 4.13.4 Feb 5, 2021
@Anachron
Copy link
Contributor

Anachron commented Feb 5, 2021

Thanks for the ping, I'll try to build and test this PR this weekend, will reply once I did.

@ahesford ahesford closed this in 493c3fa Feb 10, 2021
@ahesford ahesford deleted the samba branch February 10, 2021 02:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants