From nobody Fri Aug 23 17:21:13 2024 X-Original-To: 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 4Wr6L12bttz5Tcd3 for ; Fri, 23 Aug 2024 17:21:13 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wr6L06mm3z4CgN for ; Fri, 23 Aug 2024 17:21:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724433673; a=rsa-sha256; cv=none; b=TU/iBMiKRKsZNA7I1oJV6w/ABgAmZAf/SGHF8r2VN2in1pbcoTp+JXNkXeirIoCzMGvnSq O5iQRhNzvGFzf0mR+fAJFvPWY8a6lBEReJy5hEtN4qbj06OyvLeynbBPOyTjHJ7zlz4K8w BQ9hRRHRkJesmP2pAcIjcRk1n3sGQZ/eVDoFCHKNtwwAFr/9IA0d25iSsao1Y5omWLoVqB b7w8IV8vZ0PEWp8uAkgnFeBIGLbaO5qQIe8UUYkTcPcgisC01xH2qVKNr6/oG67X5eBko6 82GA4V0nfEjP+lXnbyiH1q1BiGgDKPkZu3/HNaIEBMEnQOJnBTRC+rG3s9cpzw== 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=1724433672; 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=p4oaLF0WAIzn0H7YaeNzvgZ6y7Oo0ypC8gs4LPj9VnI=; b=HcC5UVWMhai0ONwgn9NGX0qKdmqxwHaAkxemfmXv8Zul2/NoHMevRaCei1uVa0VAiJAwz5 AlyJV/KlTOqE5bq8RbhY10iBDS3MXe8DHElmqWE7OGFH1vSBHjFuntLtYZvZEfe1d08f6j ZYtWJtSVg1/hF/zDeScgOygbic09aXbOPntIk17WWQnekcGChu37OqYE6AFmpIwVU7CkR5 6iTku7vGxtG0SSyhJnDu0MDHk14WntH6mMBEVBGVrCSxEkEX+RuP55RyaQWRJI41UGIYAA gtNaH9o/BUEKavPUt/T8RgnErcI9BumjhgbpPya8vwTjwEszA5zNkYhSUboOPw== 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 4Wr6L06NMXzKRj for ; Fri, 23 Aug 2024 17:21:12 +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 47NHLCuJ060255 for ; Fri, 23 Aug 2024 17:21:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47NHLCSb060254 for bugs@FreeBSD.org; Fri, 23 Aug 2024 17:21:12 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: bugs@FreeBSD.org Subject: [Bug 281012] ypldap works when invoked with -dv, but not when invoked normally (daemonised) Date: Fri, 23 Aug 2024 17:21:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gray@nxg.name X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281012 Bug ID: 281012 Summary: ypldap works when invoked with -dv, but not when invoked normally (daemonised) Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: gray@nxg.name I can configure ypldap.conf in the fairly obvious way, so that ypldap -dv works, in the sense that I can do expected NIS lookups against it, manifest= ly getting data from my LDAP server, and I see all sorts of reassuring chatter= as it does its work. But when I relaunch the server the normal way, so that it daemonises, the same NIS lookups fail, timing out. ypldap doesn't seem to have extensive debug logs, and the process doesn't c= rash in an easily debuggable way, so I can't give much extra information. I'm afraid I'm not able to dig into this very deeply. I built a version of= the program including got-here debugging, and that seemed to get itself into a = loop with yp_fd_event being called repeatedly. But I've no experience with the event library here (and this is not the time for me to take on new projects= !), so I lack capacity to make much sense of what I'm seeing. Nothing, at any rate, jumps out when I do this. A separate odd thing, which I mention because it may or may not be related,= is that the /etc/rc.d/ypldap script includes ypldap_precmd() { force_depend ypserv nis_server || return 1 } That _seems_ to include a dependency on ypserv, but as the ypldap(8) manpage very intelligibly notes, 'ypldap has the same role as ypserv(8) and the two daemons are exclusive.' So I wonder if there's something else funny going on here. I note that ypldap has (unsurprisingly) seen very little real development w= ork in the last few years, and probably also rather little actual use, so I'm guessing a change in one or other base version has broken something here. = But that might have been a while ago, since the only online commentary I can fi= nd is at [1], from 2016, which seems to be reporting similar behaviour. [1] https://groups.google.com/g/muc.lists.freebsd.stable/c/nO0NMaSbD7o --=20 You are receiving this mail because: You are the assignee for the bug.=