From nobody Thu Apr 07 08:08:54 2022 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 3E9181A9B895 for ; Thu, 7 Apr 2022 08:08:55 +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 4KYvCp5df0z3Nd0 for ; Thu, 7 Apr 2022 08:08:54 +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 9D85243AF for ; Thu, 7 Apr 2022 08:08:54 +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 23788sR2057517 for ; Thu, 7 Apr 2022 08:08:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23788s2o057516 for bugs@FreeBSD.org; Thu, 7 Apr 2022 08:08:54 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 263111] Explain *_prepend option in rc.conf(5) man page and in /etc/defaults/rc.conf file Date: Thu, 07 Apr 2022 08:08:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vermaden@interia.pl 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649318934; 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=DLxKjwj9dCYWUJd9adL1vAWdoAu9+HNrwDHCrZGgqBM=; b=EsqOovUYLAaUNMN+oHCwmBb3gfsaLmriZVPq/Z1y1+y+tyR+6VanccOPWY4DAcvmPFHe69 4REYlFBMRZEiyJyr5ltJLZ2R44jBNvRAeoUoW36OGm8al5nqyeAx29zogdBgeLHtGF9xFI L+nYu7Fwk7pyrvdrPjrAWOQZv6vazj8oEFsGKXeObTjbhriAFptUon94oJYf8PWX7z1GrY ofaUKYoeXnAqg/OyceJfrBfKFTr9t5pyGl2gBx8acSXrmlc+ZJJievh8dSKTMJYgKcNmMl oEA1nw/TXBeUN4IrRXT6tuRcZ2pGuJ5haGWPTbsVaSP41Yolmi9Vjcmev0/pbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649318934; a=rsa-sha256; cv=none; b=GOpZCWPKsgeiGENRbG9VBAV9OU6oudj0x0QEx43idYqGFyhP8D96qyX7KnuF+jkRMXqsRi QjzpVaT8uSZsax8UVg4nbttZlminwlN4/uFGfRIQAwS0WqF5uPO7La9uviVyPd/FgPjRsW JWI/eoeG3pUna6dFx+wqaFDUAwqbX96kE1Iw9bt0hBtp+HsFicUq5WoMtra0tLF5pSr4R1 W2ypxlpYftceb3Fbv8dWCidTpViKtF1eRwKPWX9vol+xloTW1W6ciztSlyKPopnnYTPxPj VxJKRAGzjogUo+oFh6SUE71/qIh1KeZZXt5vINNFO/509CuUoK+ssF+BW4UPgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263111 Bug ID: 263111 Summary: Explain *_prepend option in rc.conf(5) man page and in /etc/defaults/rc.conf file Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: vermaden@interia.pl The *_prepend option is not explained/mentioned in the rc.conf(5) man page while some FreeBSD WiKi pages refer to it. For example https://wiki.freebsd.org/AddressSpaceLayoutRandomization mentio= ns its use to make ntpd(8) work with ASLR enabled: > ntpd_prepend=3D"/usr/bin/proccontrol -m aslr -s disable"=20 Please add that information to the rc.conf(5) man page. Currently only /etc/rc.subr has it: # grep -r _prepend /etc /etc/rc.subr:# ${name}_prepend n Command added before ${command}. /etc/rc.subr: _prepend=3D\$${name}_prepend=20 _login_class=3D\${${name}_login_class:-daemon} \ /etc/rc.subr: if [ -n "$_prepend" ]; then /etc/rc.subr: _doit=3D"$_prepend $_doit" Its not even available in the /etc/defaults/rc.conf file - in which IMHO it should also be mentioned. Regards. --=20 You are receiving this mail because: You are the assignee for the bug.=