From nobody Wed Feb 21 06:24:45 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 4TfmTT2VlYz5BYCY for ; Wed, 21 Feb 2024 06:24:45 +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 4TfmTT0XsXz4qvc for ; Wed, 21 Feb 2024 06:24:45 +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=1708496685; 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=BQr0JnDOJjczWzuPqKfIpEArr9Wqfc+OWuUQ3psVrhA=; b=oyp+PdfafdH8dOpDUKVjrOmp2bv9PKrxMX40q3/iLtT6Djru7o5Q2THj0Enuj+X24KZlNg cHryt8dLQ23ceYyCrXTZPy+XAi/Hcjj1cL+xvFPn6VuJmc1rrOSbGs2yfSiPE5sg/fjMYP kZai8Ok71mWhreSqrZ2PAMy8QMbFN6fPNXTKNLmWHbDUkh/VhtJ2y2gd3pdgKeTccjYueQ whH2jMtviTnDW599trVLXtw9gSO/sKbGnih6GWyOHeCIreGI20SfbsIgkvqJIiZ2t39vbi AuOZoQRjJ/wz9ngNhhDAtaO8rmya2lMfOy7GRdtSSPzuIMkTSX/xVzXpa3W0Yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708496685; a=rsa-sha256; cv=none; b=g5njiUr6Jg6Gb2t4w7Wnrz88Rqp2utGEMFKLNMw9OU94w7RvDj1J5ORS4VVTTaqXUdi/Sa efB3aN1SajNSJmx/KzuL1YNnIGVzYWfUBE3WIbqWGSluAPPIeNEj6OKcNc3l3aJ6WsGNTr +y7ro6oVPduoY5Y66wQTKNXYUanr2uxwTDPeRtsRWRoqemjwr7SKgWgW313g6uYzAHu0Kj wl0PzayJGL6QiB1Xr+U1YGtt0oJFC6vajX8chMXXbtGy+C+8OjQyMiqLjbh30do8IJbxS3 2EdyScF0ufEhYOtglG+HT01NlBC/2NxJ5RzAVO//3CmLa0Y2jhq57FSiGajEGQ== 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 4TfmTS6jw4zrhJ for ; Wed, 21 Feb 2024 06:24:44 +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 41L6Oiqx037343 for ; Wed, 21 Feb 2024 06:24:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41L6Oit4037342 for bugs@FreeBSD.org; Wed, 21 Feb 2024 06:24:44 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 277208] rc.subr: sometimes fails to run protect(1) Date: Wed, 21 Feb 2024 06:24:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.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: 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=3D277208 Bug ID: 277208 Summary: rc.subr: sometimes fails to run protect(1) Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: tatsuki_makino@hotmail.com Setting *_oomprotect to the enabled state will run protect on that service, which sometimes fails. The following output is left on the console when it appears to have failed. protect: option requires an argument -- p usage: protect [-i] command protect [-cdi] -g pgrp | -p pid This is displayed when pid is not specified in the -p option. In other words, it is failing to obtain the pid. Furthermore, they are probably trying to get the pid before the pid is read= y to be retrieved. --=20 You are receiving this mail because: You are the assignee for the bug.=