From nobody Fri Jul 08 16:44:03 2022 X-Original-To: rc@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 EC7A33E61BB for ; Fri, 8 Jul 2022 16:44:03 +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 4LffHl4rKjz42H2 for ; Fri, 8 Jul 2022 16:44:03 +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 4LffHl3vJPzDq5 for ; Fri, 8 Jul 2022 16:44:03 +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 268Gi38v089900 for ; Fri, 8 Jul 2022 16:44:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 268Gi3jQ089899 for rc@FreeBSD.org; Fri, 8 Jul 2022 16:44:03 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: rc@FreeBSD.org Subject: [Bug 235122] rc.subr limits call breaks non-root usage Date: Fri, 08 Jul 2022 16:44:03 +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: 11.2-RELEASE X-Bugzilla-Keywords: feature, needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: 0mp@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657298643; 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=hT4EqsEw40okK/Sxv3lCnBUhtl583Puj5WnpSmDqA+4=; b=c0gPQHbUA2aAdtjdcAlFul0LIQqEBiBjIORHsD9RB4FC6ecqVAPdNGvc31t7YvjwbuMgXd 5TUVHaKOU1EKYHFy2xE6E6SSdWuZiwy9XYkOv1fyTSL8RpCie64sJRlPLPWjZ9qzdfuYwy dzACXB5NVx3NdNA7v9Tpk+Do6HGWBp4875+cHqV2UHDmv82fcl12eGviwcRjMBEPhI2Qqe xHjf0jdgFXmYaCKKYIsjeul+vhEOOn05VEMzuUB2Gk4TYwaurM5oycTCSmBFIb9fpnOkMy A5RF8hOlVQIVgHYdq/G3+BwaRxzo90GnD3mo2hfrh2xknAiJq9YD4BFe0j+rFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657298643; a=rsa-sha256; cv=none; b=VRXwWS8n4CEycYOtQM9BdGhrZ+GtTlg6E0lnN4bmFX8Mwju/0maMXxV0nqqUmAw2ynJJS7 Ps0IRb+YHptp1bTCmeMMxIHSn+ZZEwAuU5EsSu5TXUim+zdwxtVDIblt18um9vAbZ5Uob/ Mo6a4eEDdwKi72VJ4vuQcSPVSVHyMZ+0F6rZX3YEbn4QmXf7QwLqXFYq3gICwyzo+TUpI8 8Jp4iYARgHihkkg87B0f6cqYmwrd0ME67BoH2T36dF+0R03ZqV3gC0FUxxCDF0LRx38MVF Iatfdshz+NWiP0U6DmOsPMa5gdYz9y4RKwQhpjC5I0JPgCjjsBJNr7/0+F2Log== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235122 --- Comment #6 from Mateusz Piotrowski <0mp@FreeBSD.org> --- Another workaround that works on recent 14.0-CURRENT is to redefine limits(= 1) in the service script as follows: limits() { shift 2 "$@" } --=20 You are receiving this mail because: You are the assignee for the bug.=