From nobody Thu May 12 19:03:35 2022 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 C37F11AD2258 for ; Thu, 12 May 2022 19:03:35 +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 4Kzh534NqZz3tkX for ; Thu, 12 May 2022 19:03:35 +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 77D2414182 for ; Thu, 12 May 2022 19:03:35 +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 24CJ3ZxI082045 for ; Thu, 12 May 2022 19:03:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24CJ3Zvg082044 for bugs@FreeBSD.org; Thu, 12 May 2022 19:03:35 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 252095] logger not sending hostname or timestamp to loghost when using capsicum Date: Thu, 12 May 2022 19:03:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bdrewery@FreeBSD.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: Message-ID: In-Reply-To: References: 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=1652382215; 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: in-reply-to:in-reply-to:references:references; bh=v0HCJFh5l6orpq+YJaVjrhN2jZJRnXUNmdU2FwqILrw=; b=pCGfxxnR9Vdo/22XSbQWn6VClRCtv0Dih9P1go14hnnmUEaijiEXXRB5AhrRQHl2AMV6Lq qzNG4McmPHKqumK0HLFBmObvuI818CA4tqr3MC0dufCazAAv3zu5n16u3jXU8oxhT70GYB pxBoelR7/oXhvDwHIfZdwfS+JLQDTtdBjwsIfLa/UAZqNhcBSW9u19Ebv/9AUxaQH13skc nws9FuribffYvn8hKQ1R9vSNUPycpIOWm8S/pN9TZmuGhkDiCEVTDI0z7L11hlNuZSnAsd VmHSM2IzRfpRuoOEu+u/VSntWI81QxusCe7Ns8geQDELFoNeUMBbq2tV2H1h0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652382215; a=rsa-sha256; cv=none; b=hLfE3XaGpiA2pJrt1MwKkkWJMfagif6KgrA336qy+EUtdEQRpLL4ERjQ1PN3VHx/hNTvHX ynasH3Lo3bgL/ZLmiA9Pp6fw9zVY6ZgCieeez7yaOSnIfDN7GGKO3oVcn7g1Pxu/GRRLlQ tNzbENUHS0ayzPG7MpDTEc0/jS9JH9WvzyY1T96daafioFa8yfbkihF0KnPxOWrCnW3mkg //qXTcgNP5mb1xKOwySxgthh8Qev5+RjneLuLdKsJA8GdUdZuADP/NUwvLsO1rut+ZYg4Z /RTDf2ByUBtCrXoW0S25JoqbzloW35TLhirPHOhTGMJmOENivy9wgngy+XmosA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252095 --- Comment #3 from Bryan Drewery --- I think a possible fix would be to add an API for passing hostname to syslog(3). Naming is just an example: openlog2(const char *ident, int logopt, int facility, const char *hostnam= e) This could be kept set like the tag and facility already are. Then capsicum's syslog API could learn of it as well. --=20 You are receiving this mail because: You are the assignee for the bug.=