From nobody Fri Apr 05 09:56:49 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 4V9v5s6pZfz5G6nn for ; Fri, 5 Apr 2024 09:56:49 +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 4V9v5s41qGz4fKD for ; Fri, 5 Apr 2024 09:56:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712311009; a=rsa-sha256; cv=none; b=BMAJC5lshF/GsKnauHylJMczKfQEOP4wmgLXye5c90zSX3W+caBw6ByEv7wbiFYbOdccfv 3ojEQ+CLJv4+2UHC5vBbZQQ2ewnuSmoHqqvMRSb/s0GhJLpPn9fmMtObunSS+QW2LR6Brs gi2kLNxsX7w1IK9hGoQLhpCqLMhPJl5D/MysS0TcWyaey+3ntRhtQQAc4ZuWeWv4f6Gi+1 pmK8n8RvExicFu9rZxmeL4lXsf9YwCZYmw50gN7F7NysLYsmNAQZ1UI2F4l1dPMqyfoFmE XobLf17Y/THtaKmghDsttSxfaaew4S8GgJPm4LNWNPY4cpFPGnos2B3ANvM9Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712311009; 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=sG+wa3hh3XfJEzs8nWySumtFib35avBCP1kZ0CqiqzM=; b=wsuSh16rrbbZdXppkLpJkSlA3DajXuaZBfCylv6+pI1dxj1gqq3+ymrAenb9qWRJfKq2I1 ijZWn+ELHd3u7Dmt2nmkqVtpd/oQjoEFF+w8WlR1WI1ycw+/4L9ltiU+3cTTa3c8h/Jfcy 7J6gUwbu5QPxyG7CCffN/gWgOIbEEdDdKkDIzR5AvH0Bypx4n2PAz6LTmuOvZQc/AHawyL HBIWmqNJkG4d+CXakmGp9f2GT6PTWSL7/5YDwECfDn91j5YViVoQzawmEfa7ClTtCAVoZp sc2XUlGI4uSsypljT+Y58ELYbBg7AYDAVuWWmqValC90msHCp8ulNEebeu1hqQ== 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 4V9v5s3dNNzvhr for ; Fri, 5 Apr 2024 09:56:49 +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 4359unIl035923 for ; Fri, 5 Apr 2024 09:56:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4359unRX035915 for rc@FreeBSD.org; Fri, 5 Apr 2024 09:56:49 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 278169] Rethink /etc/rc.conf.d/ Function. Date: Fri, 05 Apr 2024 09:56:49 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278169 Slawomir Wojciech Wojtczak changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #2 from Slawomir Wojciech Wojtczak --- So ... the only requirement seems to be that file under /etc/rc.conf.d/ dir needs to have the same name as the name of the service that it intends to enable/configure. With 'ASD' file name for 'zfsd' service. root@server:~ # echo zfsd_enable=3DYES > /etc/rc.conf.d/ASD root@server:~ # service zfsd start Cannot 'start' zfsd. Set zfsd_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'. root@server:~ #=20 With 'zfsd file name for 'zfsd' service. root@server:~ # echo zfsd_enable=3DYES > /etc/rc.conf.d/zfsd root@server:~ # service zfsd start Starting zfsd. root@server:~ #=20 That should clarify it. I will close now. Regards, vermaden --=20 You are receiving this mail because: You are the assignee for the bug.=