From nobody Tue Jul 18 05:18:19 2023 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 4R4nKS2dwkz4nJnp for ; Tue, 18 Jul 2023 05:18:20 +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 4R4nKS0702z4cgX for ; Tue, 18 Jul 2023 05:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689657500; 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=qyQGTqV1FMiuu/O1I/JoSzhAL7WneVcRJJIg+wmhSP8=; b=gtXx1BPSQuWA5r/+ys4Ed0v4bc6dDpPkCoWSluR061PZqTPZEI7YTNCtsfh78AoeJH9nl3 OKlF7rj/3EOG+2vEQuj++gdT98SOeiDeyTZdk+BBCI9Rm23A0Cogq2bFHyj6Ld2/cGvBx8 Axc5aPrM7qAbrLBCoj34NPxo0b0YRClCmlbp6EKhXLbCSKBvs9zt0QJvmd277e9On7ewxZ meF4ACEGg9IbYi8WylW6onZd38nmcXjbkMMKagBy6tZgEclmIPfQ8L+nsC5P8h+bIvYhWp D9Ul6sMo1KDWaeto6l4EA79X9rwzCp6JlxMjJRi8rl8c7lDNRhJnJU6OtJdEpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689657500; a=rsa-sha256; cv=none; b=TYOtb+u8uvHXLw/wGPkujUoBSEX28urU/RZRP4ftrjANgStvqxpi9X2jjCobWqu50TGboo Dwob3jPYP9ylAL4ORFMeEIVsV50Yy5UahwsNn7x64qE6HMfEdf2a+IPO4Y+ZQphApPdQvh lSji7n1pgZDJ9IfBqZyfxydCv7/9k7zvwrLZdRCT4txdxig1/gCRd3ChSDWIKRQS+r6L2c JqBxPdBQp6VNdNkZM99v/F4rYUkGyw3N05+JN3d/4HfLxzS6RSJCVGpo2q/qbICsDICW5C my9nEv8esqmHJnK1rat8gzEUkF84vteRgwJWG3PVR4t1DLL6/eazT0b+BPU4pw== 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 4R4nKR677Hzt6Z for ; Tue, 18 Jul 2023 05:18:19 +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 36I5IJ5o039979 for ; Tue, 18 Jul 2023 05:18:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36I5IJLn039977 for bugs@FreeBSD.org; Tue, 18 Jul 2023 05:18:19 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 272552] Fix /var/log/messages and /var/run/dmesg.boot permissions when disabling read_msgbuf in the installer's hardening menu Date: Tue, 18 Jul 2023 05:18:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272552 Jose Luis Duran changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #243440|0 |1 is obsolete| | --- Comment #4 from Jose Luis Duran --- Created attachment 243453 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243453&action= =3Dedit Patch bsdinstall Follow the instructions in commit 6f3933fa6fbd021bf6f24543e91489283eafd698,= and set the proper permissions to both files from the bsdinstall hardening scri= pt. For this patch to work I must first remove the hard-wired umask setting from /etc/rc.d/dmesg and set dmesg_umask (separate commit). --=20 You are receiving this mail because: You are the assignee for the bug.=