Samba Panic after update to TrueNAS-12.0-U6.1

Description

[2021/11/13 23:06:54.316192, 0] ../../lib/util/fault.c:159(smb_panic_log)
===============================================================
[2021/11/13 23:06:54.316320, 0] ../../lib/util/fault.c:163(smb_panic_log)
INTERNAL ERROR: vfs_full_audit.c: name table not in sync with vfs_op_type enums
in pid 12286 (4.13.14)
[2021/11/13 23:06:54.316406, 0] ../../lib/util/fault.c:168(smb_panic_log)
If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
[2021/11/13 23:06:54.316465, 0] ../../lib/util/fault.c:169(smb_panic_log)
===============================================================
[2021/11/13 23:06:54.316510, 0] ../../lib/util/fault.c:171(smb_panic_log)
PANIC (pid 12286): vfs_full_audit.c: name table not in sync with vfs_op_type enums
in 4.13.14
[2021/11/13 23:06:54.317908, 0] ../../lib/util/fault.c:275(log_stack_trace)
BACKTRACE: 25 stack frames:
#0 0x801b21787 <log_stack_trace+0x37> at /usr/local/lib/samba4/libsamba-util.so.0
#1 0x801b2185e <smb_panic+0xe> at /usr/local/lib/samba4/libsamba-util.so.0
#2 0x815d8b662 <samba_init_module+0x3882> at /usr/local/lib/shared-modules/vfs/full_audit.so
#3 0x815d8807c <samba_init_module+0x29c> at /usr/local/lib/shared-modules/vfs/full_audit.so
#4 0x801767cef <make_connection_smb2+0x7df> at /usr/local/lib/samba4/private/libsmbd-base-samba4.so
#5 0x801767567 <make_connection_smb2+0x57> at /usr/local/lib/samba4/private/libsmbd-base-samba4.so
#6 0x80177f221 <smbd_smb2_request_process_tcon+0x651> at /usr/local/lib/samba4/private/libsmbd-base-samba4.so
#7 0x801775918 <smbd_smb2_request_dispatch+0x14d8> at /usr/local/lib/samba4/private/libsmbd-base-samba4.so
#8 0x80177a0a2 <smbd_smb2_process_negprot+0x2342> at /usr/local/lib/samba4/private/libsmbd-base-samba4.so
#9 0x802ea99dc <tevent_common_invoke_fd_handler+0x8c> at /usr/local/lib/samba4/private/libtevent.so.0
#10 0x802eafa0a <tevent_add_aio_fsync+0x65a> at /usr/local/lib/samba4/private/libtevent.so.0
#11 0x802eae4cd <tevent_cleanup_pending_signal_handlers+0x21d> at /usr/local/lib/samba4/private/libtevent.so.0
#12 0x802ea8c01 <_tevent_loop_once+0xe1> at /usr/local/lib/samba4/private/libtevent.so.0
#13 0x802ea8e62 <tevent_common_loop_wait+0x32> at /usr/local/lib/samba4/private/libtevent.so.0
#14 0x802eae53d <tevent_cleanup_pending_signal_handlers+0x28d> at /usr/local/lib/samba4/private/libtevent.so.0
#15 0x801763c92 <smbd_process+0x932> at /usr/local/lib/samba4/private/libsmbd-base-samba4.so
#16 0x102bf6c <main+0x444c> at /usr/local/sbin/smbd
#17 0x802ea99dc <tevent_common_invoke_fd_handler+0x8c> at /usr/local/lib/samba4/private/libtevent.so.0
#18 0x802eafa0a <tevent_add_aio_fsync+0x65a> at /usr/local/lib/samba4/private/libtevent.so.0
#19 0x802eae4cd <tevent_cleanup_pending_signal_handlers+0x21d> at /usr/local/lib/samba4/private/libtevent.so.0
#20 0x802ea8c01 <_tevent_loop_once+0xe1> at /usr/local/lib/samba4/private/libtevent.so.0
#21 0x802ea8e62 <tevent_common_loop_wait+0x32> at /usr/local/lib/samba4/private/libtevent.so.0
#22 0x802eae53d <tevent_cleanup_pending_signal_handlers+0x28d> at /usr/local/lib/samba4/private/libtevent.so.0
#23 0x102a4af <main+0x298f> at /usr/local/sbin/smbd
#24 0x1029998 <main+0x1e78> at /usr/local/sbin/smbd

Share config that panic Samba since 12.0-U6.1.

vfs objects = full_audit
full_audit:success = rename write pwrite unlinkat linkat mkdirat
full_audit:failure = connect
full_audit:prefix = %I|%m|%S

It has worked in 12.0-U6 without a problem. Removing vfs objects = full_audit works as workaround, but I need the audit feature for compliance reasons.

Problem/Justification

None

Impact

None

is duplicated by

Activity

Show:

Bug Clerk November 17, 2021 at 1:56 AM

Andrew Walker November 14, 2021 at 11:04 AM

This is an issue that slipped through testing for Samba 4.13.14 on our end (vfs_full_audit can only be enabled through auxiliary parameters). Will fix for U7.

Complete

Details

Assignee

Reporter

Labels

Impact

Critical

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created November 13, 2021 at 10:20 PM
Updated July 6, 2022 at 8:57 PM
Resolved November 17, 2021 at 3:09 PM