From nobody Sun Mar 31 17:57:38 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V720z2Rhjz5G4v0 for ; Sun, 31 Mar 2024 17:57:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V720z0Tqkz425s for ; Sun, 31 Mar 2024 17:57:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711907859; a=rsa-sha256; cv=none; b=dWYa0lqwKysqnpJGikcu/6n5VFkTLI/+Leqh2lgwhrRp1xHG2CjslqipyH3OXPI4Ima+9a g6C7la6fprdGjnY2RJ7vWY7DUGclEAix0VtY4aw1M7T25BsAi/VPh2x+JW0aKqqCw9/yx0 5pZVn/idwYmU7xr03WqfNnk+7AKUzV+PSUvO6Thle0FfyfizQt9BETLUmKMFGT71PtPODE FBDQ5x/hRaujBsv9MwUBgOn25i1r2yOm15LBEHHVDYcB+7+nybwEumsl+eTBR9n1Y84wsM UB1fWUdG6QdRD5gQlGKbOV4kxRNpeaLD0i7UBbkxtwVbfSQKE2uscKqM+EZqHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711907859; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TsZdI4iVSX9jme2ZeD3K69/sPUMWh0M9yKgRam+at+Y=; b=IgNL7nrY8erFHb1G4aAm6MkxklhnHI+o+CEsKwO3ZKPZQmRXenPAaoivxE1+pwTDTTZwAv E7WCtN7bWUetKyCd9XW2UXpSma3d8Imn1XFmxAZIIdqwvitjQ7NJ+8CyWcDUGXQ5bX3pn0 zFZGkIfuf/Y8j56Q2n1OEkmH00lcAl8NUwXoFfJ5rFs4AuftFZwspDvp8xp/d/CQJlwu5x mtcPzfUAuAaSWIPl0mp26PG/vmjiXnyh+jzRZVyVbGnkTXWBSXa50+as7+fw234/wGoqpy qYL0eWxrMogKGWzsWQWCzBaeXc81dZa7Mk56BNGQUX8g2OyJMCClqHixO9TOnA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V720y6vX7znjc for ; Sun, 31 Mar 2024 17:57:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42VHvc5W044245 for ; Sun, 31 Mar 2024 17:57:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42VHvcbJ044243 for ports-bugs@FreeBSD.org; Sun, 31 Mar 2024 17:57:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 278076] GnuTLS 3.8.x breaks any recent version on Samba, 'GnuTLS could not generate a random buffer' Date: Sun, 31 Mar 2024 17:57:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: raivo@lehma.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278076 Bug ID: 278076 Summary: GnuTLS 3.8.x breaks any recent version on Samba, 'GnuTLS could not generate a random buffer' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: raivo@lehma.com 14.0-RELEASE-p6. x86_64. I updated to GnuTLS 3.8.4 and Samba slowed down to a crawl. The daemon crea= ted a strangely named log file (.log) containing the following error, which I'd seen during my previous attempts with GnuTLS 3.8.3. It never happens with GnuTLS 3.7.x and lower. [2024/03/31 20:39:15.341561, 0] ../../lib/util/fault.c:178(smb_panic_log) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [2024/03/31 20:39:15.341642, 0] ../../lib/util/fault.c:185(smb_panic_log) INTERNAL ERROR: ../../lib/util/genrand.c:53:generate_random_buffer: GnuTLS could not generate a random buffer: GNUTLS_E_LIB_IN_ERROR_STATE [-402] in rpcd_lsad () () pid 56216 (4.20.0) [2024/03/31 20:39:15.341738, 0] ../../lib/util/fault.c:190(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, s= ee https://wiki.samba.org/index.php/Bug_Reporting [2024/03/31 20:39:15.341794, 0] ../../lib/util/fault.c:191(smb_panic_log) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [2024/03/31 20:39:15.341845, 0] ../../lib/util/fault.c:193(smb_panic_log) PANIC (pid 56216): ../../lib/util/genrand.c:53:generate_random_buffer: Gn= uTLS could not generate a random buffer: GNUTLS_E_LIB_IN_ERROR_STATE [-402] in 4.20.0 [2024/03/31 20:39:15.347533, 0] ../../lib/util/fault.c:304(log_stack_trace) BACKTRACE: 12 stack frames: #0 0x3c105278ed7 at /usr/local/lib/samba4/private/libgenrand-private-samba.so #1 0x3c105278fae at /usr/local/lib/samba4/private/libgenrand-private-samba.so #2 0x3c105279670 at /usr/local/lib/samba4/private/libgenrand-private-samba.so #3 0x3c10527961f at /usr/local/lib/samba4/private/libgenrand-private-samba.so #4 0x3c114b8647d at /usr/local/lib/samba4/private/libmessages-dgm-private-samba.so #5 0x3c114b8602d at /usr/local/lib/samba4/private/libmessages-dgm-private-samba.so #6 0x3c114b88aa0 at /usr/local/lib/samba4/private/libmessages-dgm-private-samba.so #7 0x3c0ff2c1460 at /usr/local/lib/samba4/libsmbconf.so.0 #8 0x3c0ff2cbb3b at /usr/local/lib/samba4/libsmbconf.so.0 #9 0x3c0fae25205 at /usr/local/lib/samba4/private/libRPC-WORKER-private-samba.so #10 0x3b8d6505dcc at /usr/local/libexec/samba/rpcd_lsad #11 0x3c10cb6d66d <__libc_start1+0x12d> at /lib/libc.so.7 [2024/03/31 20:39:15.348165, 0] ../../source3/lib/dumpcore.c:310(dump_core) unable to change to /var/coredumps/%U refusing to dump core --=20 You are receiving this mail because: You are the assignee for the bug.=