From nobody Mon Oct 04 11:34:07 2021 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 7C42F17ADB68 for ; Mon, 4 Oct 2021 11:34:08 +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 4HNJX02xz6z4dd2 for ; Mon, 4 Oct 2021 11:34:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 457B518B1B for ; Mon, 4 Oct 2021 11:34:08 +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 194BY8As017494 for ; Mon, 4 Oct 2021 11:34:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 194BY8ij017493 for ports-bugs@FreeBSD.org; Mon, 4 Oct 2021 11:34:08 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 258917] net/openldap24-server: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Date: Mon, 04 Oct 2021 11:34:07 +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: martin@lispworks.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: delphij@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258917 Bug ID: 258917 Summary: net/openldap24-server: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: delphij@FreeBSD.org Reporter: martin@lispworks.com Flags: maintainer-feedback?(delphij@FreeBSD.org) Assignee: delphij@FreeBSD.org Since version 2.4.59, I'm seeing many of these warnings in /var/log/message= s.=20 I'm now running openldap24-server-2.4.59_5 from FreeBSD 11.4 pkgs and rc.co= nf contains: slapd_enable=3D"YES" slapd_flags=3D'-l DAEMON -h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"' slapd_sockets=3D"/var/run/openldap/ldapi" The backtrace is #0 syslog (pri=3D35, fmt=3D0x80122bd99 "%s") at /usr/src/lib/libc/gen/syslog.c:127 #1 0x000000080121f5f7 in sasl_errdetail () from /usr/local/lib/libsasl2.so= .3 #2 0x000000080121febc in _sasl_log () from /usr/local/lib/libsasl2.so.3 #3 0x0000000803831eee in otp_client_plug_init () from /usr/local/lib/sasl2/libotp.so.3 #4 0x000000080122629c in sasl_server_start () from /usr/local/lib/libsasl2.so.3 #5 0x0000000801226b3f in _sasl_server_listmech () from /usr/local/lib/libsasl2.so.3 #6 0x00000008012202bb in sasl_listmech () from /usr/local/lib/libsasl2.so.3 #7 0x000000000048012b in slap_sasl_mechs () #8 0x000000000047e963 in root_dse_info () #9 0x0000000000432760 in fe_op_search () #10 0x0000000000432533 in do_search () #11 0x0000000000430f83 in connection_assign_nextid () #12 0x0000000800946f7b in ldap_pvt_thread_pool_submit () from /usr/local/lib/libldap_r-2.4.so.2 #13 0x0000000801e7e08c in thread_start (curthread=3D0x84520f000) at /usr/src/lib/libthr/thread/thr_create.c:290 #14 0x0000000000000000 in ?? () The problem is that the pkg runs slapd as user ldap by default but the file= is only accessible by root so it can't work: -rw------- 1 root wheel 0 Oct 13 2020 /etc/opiekeys --=20 You are receiving this mail because: You are the assignee for the bug.=