Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start
@ 2021-07-21  1:19 hk0O7
  2021-07-21 18:17 ` Anachron
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hk0O7 @ 2021-07-21  1:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]

New issue by hk0O7 on void-packages repository

https://github.com/void-linux/void-packages/issues/32079

Description:
### System

* xuname: Void 5.4.83_1 armv6l Unknown uptodate rFF
* package: samba-4.14.5_1

### Expected behavior
Being able to start `smbd` with the default configuration.

### Actual behavior
It immediately ends with:
```
exit_daemon: daemon failed to start: Samba cannot setup ep pipe, error code 13
```

### Steps to reproduce the behavior
```
# xbps-install -Suy samba
# smbd -FS -d 10 --no-process-group
    ...
    regdb_open: registry db opened. refcount reset (1)
    make_internal_ncacn_conn: Create pipe requested winreg
    Created internal pipe winreg
    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
```
After this, two (forked?) `smbd` processes for the given command will remain, and thus trying to start it from runit with `sv start smbd` will end up filling up the system with `smbd -F -S -d1` processes.

This looks like the same issue that was mentioned by [wangp][1] and [Anachron][2] in #27565 for samba-4.13.2_2.

[1]: https://github.com/void-linux/void-packages/issues/27565#issuecomment-753282396 
[2]: https://github.com/void-linux/void-packages/issues/27565#issuecomment-753361331

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
@ 2021-07-21 18:17 ` Anachron
  2021-07-21 19:26 ` hk0O7
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Anachron @ 2021-07-21 18:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-884393550

Comment:
Could you check what permissions and/or dates your registry.db has? 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
  2021-07-21 18:17 ` Anachron
@ 2021-07-21 19:26 ` hk0O7
  2021-07-21 20:11 ` Anachron
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hk0O7 @ 2021-07-21 19:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

New comment by hk0O7 on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-884438192

Comment:
@Anachron sure:
```
-rw------- 1 root root 516K May 20 20:54 registry.tdb
```
This is from before the upgrade - I forgot about its /var/lib/samba directory.
I have now tried to clear it and let `smbd` create the files in it again:
```
-rw------- 1 root root 412K Jul 21 19:14 account_policy.tdb
-rw------- 1 root root  696 Jul 21 19:14 group_mapping.tdb
-rw------- 1 root root 412K Jul 21 19:14 registry.tdb
-rw------- 1 root root 412K Jul 21 19:14 share_info.tdb
```
But it keeps failling with the same errors as above. Did you get to test this package on armv6l?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
  2021-07-21 18:17 ` Anachron
  2021-07-21 19:26 ` hk0O7
@ 2021-07-21 20:11 ` Anachron
  2021-08-02 17:20 ` mvf
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Anachron @ 2021-07-21 20:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-884467098

Comment:
Sadly no, I have no such hardware.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (2 preceding siblings ...)
  2021-07-21 20:11 ` Anachron
@ 2021-08-02 17:20 ` mvf
  2021-08-02 17:38 ` ahesford
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mvf @ 2021-08-02 17:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

New comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-891197311

Comment:
Thanks for the detailed description. The issue is reproducible in an `armv6l` chroot. Updating to 4.14.6 fixes it for me. PR #32300 submitted, feel free to test.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (3 preceding siblings ...)
  2021-08-02 17:20 ` mvf
@ 2021-08-02 17:38 ` ahesford
  2021-08-02 18:27 ` mvf
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ahesford @ 2021-08-02 17:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-891209190

Comment:
Samba is a known troublemaker for xbps-src. Building a package on a host that has samba-libs installed (even if a server isn't running!) can sometimes cause library dependencies to leak in, causing the resulting package to be totally broken. This kind of error seems to be symptomatic of these problems.

I'm not convinced the upgrade in #32300 isn't an accidental fix, but it would be good to test and that shouldn't block the update either way.

In the meantime, a couple of questions:

1. Is your samba package locally built?
2. If so, is the package natively built or cross-compiled?

If you do build your own package or are keen to test the update PR, best practice is to stop any samba services, completely uninstall samba and samba-libs (including any dependants necessary to make this possible) before building the package.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (4 preceding siblings ...)
  2021-08-02 17:38 ` ahesford
@ 2021-08-02 18:27 ` mvf
  2021-08-09  2:51 ` fosslinux
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mvf @ 2021-08-02 18:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

New comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-891239679

Comment:
> Samba is a known troublemaker for xbps-src.

TIL! :astonished: Not sure I wanna know the details of that. The build host should be a container, no?

> I'm not convinced the upgrade in #32300 isn't an accidental fix

Well, I am now. :smirk: Just rebuilding 4.14.5 locally also fixes it (cross). Question is now if the build server build will work this time...

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (5 preceding siblings ...)
  2021-08-02 18:27 ` mvf
@ 2021-08-09  2:51 ` fosslinux
  2021-08-09  2:52 ` fosslinux
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: fosslinux @ 2021-08-09  2:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-894918512

Comment:
I can reproduce with x86_64 btw, built manually on my machine... I'll try an update.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (6 preceding siblings ...)
  2021-08-09  2:51 ` fosslinux
@ 2021-08-09  2:52 ` fosslinux
  2021-08-09  2:53 ` fosslinux
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: fosslinux @ 2021-08-09  2:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-894918512

Comment:
I can reproduce with x86_64 btw, built manually on my machine... I'll try a rebuld.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (7 preceding siblings ...)
  2021-08-09  2:52 ` fosslinux
@ 2021-08-09  2:53 ` fosslinux
  2021-08-13 16:25 ` KeepBotting
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: fosslinux @ 2021-08-09  2:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-894918512

Comment:
I can reproduce with x86_64 btw, built manually on my machine... I'll try a rebuild.

And I do have samba installed on the build machine.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (8 preceding siblings ...)
  2021-08-09  2:53 ` fosslinux
@ 2021-08-13 16:25 ` KeepBotting
  2022-05-27  2:12 ` github-actions
  2022-06-10  2:13 ` [ISSUE] [CLOSED] " github-actions
  11 siblings, 0 replies; 13+ messages in thread
From: KeepBotting @ 2021-08-13 16:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

New comment by KeepBotting on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-898579484

Comment:
I can confirm this issue is reproducible as well when installing `samba-4.14.5_1` from repo on `armv6l`

I compiled Samba locally (took about 24 hours on 700MHz RPi1!) and the issue is resolved

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (9 preceding siblings ...)
  2021-08-13 16:25 ` KeepBotting
@ 2022-05-27  2:12 ` github-actions
  2022-06-10  2:13 ` [ISSUE] [CLOSED] " github-actions
  11 siblings, 0 replies; 13+ messages in thread
From: github-actions @ 2022-05-27  2:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/32079#issuecomment-1139213581

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [ISSUE] [CLOSED] [samba-4.14.5_1] [armv6l] smbd failing to start
  2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
                   ` (10 preceding siblings ...)
  2022-05-27  2:12 ` github-actions
@ 2022-06-10  2:13 ` github-actions
  11 siblings, 0 replies; 13+ messages in thread
From: github-actions @ 2022-06-10  2:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]

Closed issue by hk0O7 on void-packages repository

https://github.com/void-linux/void-packages/issues/32079

Description:
### System

* xuname: Void 5.4.83_1 armv6l Unknown uptodate rFF
* package: samba-4.14.5_1

### Expected behavior
Being able to start `smbd` with the default configuration.

### Actual behavior
It immediately ends with:
```
exit_daemon: daemon failed to start: Samba cannot setup ep pipe, error code 13
```

### Steps to reproduce the behavior
```
# xbps-install -Suy samba
# smbd -FS -d 10 --no-process-group
    ...
    regdb_open: registry db opened. refcount reset (1)
    make_internal_ncacn_conn: Create pipe requested winreg
    Created internal pipe winreg
    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
```
After this, two (forked?) `smbd` processes for the given command will remain, and thus trying to start it from runit with `sv start smbd` will end up filling up the system with `smbd -F -S -d1` processes.

This looks like the same issue that was mentioned by [wangp][1] and [Anachron][2] in #27565 for samba-4.13.2_2.

[1]: https://github.com/void-linux/void-packages/issues/27565#issuecomment-753282396 
[2]: https://github.com/void-linux/void-packages/issues/27565#issuecomment-753361331

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-06-10  2:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21  1:19 [ISSUE] [samba-4.14.5_1] [armv6l] smbd failing to start hk0O7
2021-07-21 18:17 ` Anachron
2021-07-21 19:26 ` hk0O7
2021-07-21 20:11 ` Anachron
2021-08-02 17:20 ` mvf
2021-08-02 17:38 ` ahesford
2021-08-02 18:27 ` mvf
2021-08-09  2:51 ` fosslinux
2021-08-09  2:52 ` fosslinux
2021-08-09  2:53 ` fosslinux
2021-08-13 16:25 ` KeepBotting
2022-05-27  2:12 ` github-actions
2022-06-10  2:13 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).