Github messages for voidlinux
 help / color / mirror / Atom feed
From: Anachron <Anachron@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: samba update to 4.13.3, cifs-utils update to 6.12
Date: Mon, 04 Jan 2021 12:42:48 +0100	[thread overview]
Message-ID: <20210104114248.fOvXN25Uqahn9fspIc4IHGdSsXgMZuoxsOA2u6vSoLE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27626@inbox.vuxu.org>

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

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/pull/27626#issuecomment-753888015

Comment:
I nuked everything and ran `nmbd` and `smbd`, yet it errors out. 

In my syslog:

```
2021-01-04T10:06:45.87226 daemon.notice: Jan  4 11:06:45 smbd: smbd version 4.13.3 started.
2021-01-04T10:06:45.87259 daemon.notice: Jan  4 11:06:45 smbd: Copyright Andrew Tridgell and the Samba Team 1992-2020
2021-01-04T10:06:45.94161 daemon.notice: Jan  4 11:06:45 smbd: main: Failed to setup RPC server: NT_STATUS_UNSUCCESSFUL
2021-01-04T10:06:45.94197 daemon.notice: Jan  4 11:06:45 smbd: exit_daemon: daemon failed to start: Samba cannot setup ep pipe, error code 13
```

Running it in my shell (`smbd -F -S -d 6`) however returns a different error:
```
added interface eth0 ip=192.168.178.20 bcast=192.168.178.255 netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="VOID-RPI3"
exit_daemon: daemon failed to start: Failed to create session, error code 1
```

If I add `--no-process-group` when run locally I receive:
```
Finding user nobody
Trying _Get_Pwnam(), username as lowercase is nobody
Get_Pwnam_internals did find user [nobody]!
Security token: (NULL)
Security token: (NULL)
Security token: (NULL)
Security token: (NULL)
Security token: (NULL)
Security token: (NULL)
Security token: (NULL)
svcctl_init_winreg: Could not open SYSTEM\CurrentControlSet\Services - NT_STATUS_INVALID_HANDLE
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
```

Strace: https://gist.github.com/Anachron/191a7377ed8ec35eb597a649e5014710

My `testparm` output:
```
# Global parameters
[global]
        map to guest = Bad User
        passdb backend = smbpasswd
        security = USER
        server role = standalone server
        server string = RPI 3 B+ Share
        idmap config * : backend = tdb


[media]
        path = /data/media
        valid users = media
```

I also realized my PID inside `/var/run/samba/smbd.pid` is wrong. That process seems to have excited (probably the parent smbd process?)

Example:
```
-bash-5.0# ps -edalf | grep smbd
1 S root      8482     1  0  80   0 - 12649 ep_pol 12:42 ?        00:00:00 smbd -F -S
1 S root      8483     1  0  80   0 - 12647 ep_pol 12:42 ?        00:00:00 smbd -F -S
0 S root      8488  6387  0  80   0 -  1551 pipe_w 12:42 pts/0    00:00:00 grep smbd
0 S root     15593   263  0  80   0 -   446 do_sel Jan03 ?        00:00:00 runsv smbd
0 S root     15595 15593  0  80   0 -   482 pipe_w Jan03 ?        00:00:00 logger -p daemon notice -t smbd
-bash-5.0# cat /var/run/samba/smbd.pid
8479
-bash-5.0# kill -0 8479
-bash: kill: (8479) - No such process
```

  parent reply	other threads:[~2021-01-04 11:42 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-02 19:01 [PR PATCH] " ahesford
2021-01-02 20:23 ` andry-dev
2021-01-03  5:43 ` wangp
2021-01-03 12:07 ` Anachron
2021-01-03 15:01 ` Anachron
2021-01-03 17:47 ` ahesford
2021-01-03 18:02 ` Anachron
2021-01-03 18:58 ` Anachron
2021-01-03 19:03 ` Anachron
2021-01-03 19:32 ` ahesford
2021-01-03 19:42 ` ahesford
2021-01-04 10:17 ` Anachron
2021-01-04 10:44 ` Anachron
2021-01-04 11:42 ` Anachron [this message]
2021-01-04 14:43 ` ahesford
2021-01-04 18:28 ` Anachron
2021-01-04 18:45 ` Anachron
2021-01-04 19:06 ` Anachron
2021-01-04 22:03 ` ahesford
2021-01-04 22:06 ` ahesford
2021-01-04 22:34 ` Anachron
2021-01-04 22:35 ` Anachron
2021-01-04 22:36 ` Anachron
2021-01-04 22:39 ` Anachron
2021-01-04 22:40 ` Anachron
2021-01-04 22:41 ` ericonr
2021-01-04 22:42 ` ericonr
2021-01-05  3:08 ` ahesford
2021-01-05  3:42 ` [PR PATCH] [Closed]: " ahesford
2021-01-05  3:44 ` ahesford
2021-01-05  7:20 ` Anachron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210104114248.fOvXN25Uqahn9fspIc4IHGdSsXgMZuoxsOA2u6vSoLE@z \
    --to=anachron@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).