From nobody Wed Dec 29 15:03:00 2021 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 2D388190F8D7 for ; Wed, 29 Dec 2021 15:03:01 +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 4JPF5J69Nbz3vQr for ; Wed, 29 Dec 2021 15:03:00 +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 B3EE626C46 for ; Wed, 29 Dec 2021 15:03:00 +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 1BTF30kZ041533 for ; Wed, 29 Dec 2021 15:03:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BTF30Uj041532 for bugs@FreeBSD.org; Wed, 29 Dec 2021 15:03:00 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 260801] heimdal site-local customization fails Date: Wed, 29 Dec 2021 15:03:00 +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: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pmc@citylink.dinoex.sub.org 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 attachments.created 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640790180; 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=nxUDuU5WCE2m0hiXU+QFCmrO8DXBYGRvL4NOe3XBaZg=; b=D28RfCZK2hjkwKJ3uwPmPSShOhN7KXvysG7UPYc+b6Dm9Pz/l0h5gXO1Nmt5+GbOfHoFfV KiM/3bzTKzcwOHGrq0exkIZPZdYxwmtzWREDA/WgFgM46M70TB40eLqFAMlMa8mg91YKvF TNzVfpzJfX15tvlHI+M7ikbln4IvnQmX3wM+eli2Y/eybsEi5SHZDzLY2d95MnZozcn0iR ElieDtDBO6ahGimQrxQHWLRZU35a2RFFjv+lAi2ePx5XuO86wGZlT1WBQV+6oMO/ZmDPIk k7Te1u3FCfM/p5Q7DGkOr9B/e82SmQcBgAEDv8gOYWn/MmPbDD4lvz0QWzAxyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640790180; a=rsa-sha256; cv=none; b=q+hRIfLNIwXDNcmm/nBWkQLaE1v0f43z75Gd8v+dTePEmU/nTurSLIOjBHggT8ErlSoWSF gvQUQrXZhwQM5Rrl84dB9K3PTqOPt4wMcH537DqPoJafpE8FTlji6tZQ4zODQuV+bY96LO AoLUYneGTc4rmsdljskPajBQ+p0C89aAYs5SDLDA3z2m58bR/cpApgXNa2OshUedfkG/D1 D249EAhFl2nXKTEWVznnzn489zMCZAFsRDY5Zq9B0ocwiWtHIuwtYw1qepje6UOlj27vfm PE2Hid0qB9VECfug9NNbMFWQa3HEeanJ+46TrSOyytMNO+DiZdZe8qDbrkPTkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260801 Bug ID: 260801 Summary: heimdal site-local customization fails Product: Base System Version: 12.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pmc@citylink.dinoex.sub.org Created attachment 230541 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230541&action= =3Dedit patch for 1-5 heimdal site-local configuration fails for the following reasons: 1. The configuration option "allow.null-ticket-addresses =3D false" is broken. 2. Configuration of a (non-default) filepath location of the heimdal db is broken. 3. kadmind deletes their pidfile on fork(). 4. kadmind executes setpgid() while being a session leader already. (This is not allowed by POSIX, and while I think the flaw is with the OpenGroup, the syscall implementation adheres to POSIX.) 5. daemons cannot properly run multiple instances because of hardcoded pidfile names. Fix: kdc/hprop.c 1. kpasswd/kpasswd.c 1. 2. lib/hdb/keytab.c 1. 2. kadmin/kadm_conn.c 3. 4. lib/roken/write_pid.c 3. 5. --=20 You are receiving this mail because: You are the assignee for the bug.=