From nobody Wed Oct 23 10:16:41 2024 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 4XYQ215SSMz5b5bH for ; Wed, 23 Oct 2024 10:16:41 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYQ213bf0z4T48 for ; Wed, 23 Oct 2024 10:16:41 +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=1729678601; 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=Q+oPmizQxA2/0rRFoGPsRrEgQSALIL2X5OcPEBU/zuU=; b=mdeD1JU6W+cQZOdh2Rz11GusQ5mRfyt8CEzXNIaZdfrAKBiTw7EPX8a3mIPX/mMw1rW+4b jTqfnLsVYm36NYxZcLim3OXPuLxvJ2TRaj/jZGC2BGzmmR4GoKzZ4yUk4Ce1MszylNpND1 fbPqUHUZ1lywauKGpD6VcpLTOIk1DATMtXa/sB6FaMdquNCmAJxLMzzTqOXeneMLcmhHDB 5XSGSnmoAAvdPQLOIdmnYpAG46VHwUKx0TcUZFpcLdRTOK0y0u8zGq0Tnu4SewBqM+Pwkk 5KBST15n8IvADyFgo0l86uq/mwAsilZLHQ1QlVHATn8M/hzxRh9Yes7/sqzjEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729678601; a=rsa-sha256; cv=none; b=bWOo6aqcnp1yN6nTVTyWlO2EZCHvKLQImR9o4aM3aYl9TbYoNjEaidmXuQZ7SmuxrLiTx8 7kkMEjf24POD5PcXB8D2QhIPlG8yL3/376cssRYPXJFcTxoeNJBe5bgAII5QhQxHvj4nJ/ g1Y5lJ9+JBWkwxIRpT1fhHBbH+hcZ4MyR35rvaKX6NBaNAEFXgxvBnRGAKs4auEaa3tlDm G/psUIxJIbtRnU9YShKTOaUMP2mygUiYfxSiyUMAJ79ZL/C/zq7XhzPIYFlWKRe0gvB3w5 4N3TDYzMR3CooPlExoEvw5dTOG1b8/ZQHW70ZVenYF7qhPmh65KVwwYRq2lfwg== 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 4XYQ2135RNzvH5 for ; Wed, 23 Oct 2024 10:16:41 +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 49NAGftR086532 for ; Wed, 23 Oct 2024 10:16:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49NAGfv9086531 for rc@FreeBSD.org; Wed, 23 Oct 2024 10:16:41 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 282255] rc: Is rc_fast_and_loose actually working? Date: Wed, 23 Oct 2024 10:16:41 +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 Only Me X-Bugzilla-Who: 0mp@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 0mp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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: X-BeenThere: freebsd-rc@freebsd.org Sender: owner-freebsd-rc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282255 Mateusz Piotrowski <0mp@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress Assignee|rc@FreeBSD.org |0mp@FreeBSD.org --- Comment #6 from Mateusz Piotrowski <0mp@FreeBSD.org> --- With rc_fast_and_loose=3Dyes,rc(8) on my system stops processing rc service= s as early as rc.d/hostid, which calls exit 0. That's before my machine even sets its hostname properly. As a result, I get a login prompt saying that I've booted Amnesiac. I cannot even log in because I get "pam_open_session(): Sessions failure". Technically, we could fix all rc service scripts in base to be compatible w= ith rc_fast_and_loose, but it feels unreasonable. Firstly, this is going to be = an up hill battle in the ports tree. Secondly, being compatible with rc_fast_and_loose requires rc service scripts to use unusual idioms like `(= exit 1)` to set the return code without actually exiting if sourced. My recommendation is to remove support for rc_fast_and_loose. --=20 You are receiving this mail because: You are the assignee for the bug.=