Lots of Samba errors after upgrade to 12.0-U3

LostInIgnorance

Dabbler
Joined
Jul 22, 2012
Messages
25
I started getting a huge amount of the below errors after updating to 12.0-U3 yesterday.

Code:
Apr 14 14:50:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 25 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:54:53 winbindd 2006 - - [2021/04/14 14:54:53.476625,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:54:53 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.182162,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 25 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.184091,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 27 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.187141,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:55 winbindd 2006 - - [2021/04/14 14:55:55.561436,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:55 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,543
I started getting a huge amount of the below errors after updating to 12.0-U3 yesterday.

Code:
Apr 14 14:50:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 25 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:54:53 winbindd 2006 - - [2021/04/14 14:54:53.476625,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:54:53 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.182162,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 25 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.184091,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 27 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.187141,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:55 winbindd 2006 - - [2021/04/14 14:55:55.561436,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:55 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000
Hmm... can you send me a debug please. May be a matter of needing to lower log level for this particular message (which will unfortunately require patching / recompiling samba). Log message was added in U3 so not surprising that it's appearing where it didn't before, but understanding why we're seeing this in the context of winbindd may be helpful. If needed I can shift this to a log level that doesn't print to stderr.
 
Last edited:

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,691
Did you updatee from 11.3 or from 12.0-U2.1?
Please describe the update path..as it helps with diagnosis.
 

LostInIgnorance

Dabbler
Joined
Jul 22, 2012
Messages
25
Updated from 12.0-U2.1 via GUI. I have (3) TrueNAS storage arrays and only one is giving me the errors seen above.
 
Last edited:

desmopr

Dabbler
Joined
Aug 14, 2018
Messages
11
I started getting a huge amount of the below errors after updating to 12.0-U3 yesterday.

Code:
Apr 14 14:50:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 25 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:54:53 winbindd 2006 - - [2021/04/14 14:54:53.476625,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:54:53 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.182162,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 25 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.184091,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 27 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:00 winbindd 2006 - - [2021/04/14 14:55:00.187141,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:00 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000
Apr 14 14:55:55 winbindd 2006 - - [2021/04/14 14:55:55.561436,  2] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
Apr 14 14:55:55 winbindd 2006 - -   samba_tevent: EVFILT_READ EV_EOF on fd: 24 flags: 0x00000005: additional flags: 0x00000000

Hi LostInIgnorance, we seem to have the same problem with two new systems fresh installed on internal SSD with swap space created during the installation process (Dell R740xd).
Did you install the OS on a USB pendrive or on a HDD/SSD?
We never had this problem with TrueNAS-12.0-U2.1.

Cheers
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,543
Hi LostInIgnorance, we seem to have the same problem with two new systems fresh installed on internal SSD with swap space created during the installation process (Dell R740xd).
Did you install the OS on a USB pendrive or on a HDD/SSD?
We never had this problem with TrueNAS-12.0-U2.1.

Cheers
That's because log message is new in U3. Are you seeing service impact or is it just a matter of something new appearing in logs? Is it constantly spamming logs or intermittent?
 

desmopr

Dabbler
Joined
Aug 14, 2018
Messages
11
That's because log message is new in U3. Are you seeing service impact or is it just a matter of something new appearing in logs? Is it constantly spamming logs or intermittent?
Thank you for the prompt response.

From a windows PC the file explorer continues to crash and we get the following smbd error:
smb_full_audit_connect: Invalid auditing configuration. Denying access to service [IPC$] at path [/tmp]
make_connection_snum: SMB_VFS_CONNECT for service 'IPC$' at '/tmp' failed: Permission denied

Hope this helps.
 

LostInIgnorance

Dabbler
Joined
Jul 22, 2012
Messages
25
That's because log message is new in U3. Are you seeing service impact or is it just a matter of something new appearing in logs? Is it constantly spamming logs or intermittent?
For me it is constantly spamming the message logs and my syslog server. Nothing is down or problematic that I am noticing, just an annoyance.
 

LostInIgnorance

Dabbler
Joined
Jul 22, 2012
Messages
25
Hi LostInIgnorance, we seem to have the same problem with two new systems fresh installed on internal SSD with swap space created during the installation process (Dell R740xd).
Did you install the OS on a USB pendrive or on a HDD/SSD?
We never had this problem with TrueNAS-12.0-U2.1.

Cheers
In my case, I had moved from USB to SSD for the OS long ago.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,543
Oh. You're getting denied access to the IPC$ share because you have set auxiliary parameters that have invalid logging setting in them. If you don't fix them, your syslog server (or log file) can get blown up with messages and end up with erratic behavior because of high server load. Details are here: https://github.com/truenas/ports/co...7933ca4698bf68c31ee724fa1be717b8a7ec2844ea28d

It's a case where we have to pick our poison. At least this way other areas outside SMB are not impacted and error message is relatively straightforward.
 
Last edited:

LostInIgnorance

Dabbler
Joined
Jul 22, 2012
Messages
25
Hmm... can you send me a debug please. May be a matter of needing to lower log level for this particular message (which will unfortunately require patching / recompiling samba). Log message was added in U3 so not surprising that it's appearing where it didn't before, but understanding why we're seeing this in the context of winbindd may be helpful. If needed I can shift this to a log level that doesn't print to stderr.
Anodos, do you still want me to message you my debug log?
 

LostInIgnorance

Dabbler
Joined
Jul 22, 2012
Messages
25
Anodos, I have removed the "Use Syslog Only" on the SMB settings. I am hoping that was the one you were looking for. So far I have not seen it spamming the logs anymore on the console, but that's expected since I'm not logging anymore.


1618592862251.png
 

desmopr

Dabbler
Joined
Aug 14, 2018
Messages
11
FYI just reinstalled the previous version of TrueNas Core and everything just works out of the box. I only had to reimport the zPool.
 

LostInIgnorance

Dabbler
Joined
Jul 22, 2012
Messages
25
I'm referring to any auxiliary parameters in Services->SMB or Sharing->SMB where "full_audit" may be defined with logging parameters.
The only thing I have in the Sharing -> SMB section is "vfs objects = zfs_space zfsacl streams_xattr" otherwise the services one is empty. I normally don't put anything in there, so I am unsure where I picked up the current value.

1618600937548.png
 
Top