From nobody Fri May 06 22:47:01 2022 X-Original-To: doc@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 D2B2D1AC0E6E for ; Fri, 6 May 2022 22:47:01 +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 4Kw5Kd2gNcz4STZ for ; Fri, 6 May 2022 22:47:01 +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 2EACC2492C for ; Fri, 6 May 2022 22:47:01 +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 246Ml1aJ046764 for ; Fri, 6 May 2022 22:47:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 246Ml1SW046763 for doc@FreeBSD.org; Fri, 6 May 2022 22:47:01 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: doc@FreeBSD.org Subject: [Bug 263782] Use sysrc instead of manually editing rc.conf throughout the FreeBSD Handbook for simplicity and consistency Date: Fri, 06 May 2022 22:47:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pauamma@gundo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: 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: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877221; 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=8IytfTZgwOy8ZBx3b0sp5fO4pfDwR3SHrYj839lKX7E=; b=F2acVRFdj5M7jR0IgSzs60175EopGJWLETHeXVePiBNhMae/1YWa0f1GG/SCZPxoj5ampz fjyE9eD3UgUCvW84ThKbuFOAk+71epvXqzncb46EeOwWiCheg/0gDe8KI4Y7y9SQoh5awg HTgQxR2KbIYE+mKjiyAWgsJaqisznCbvpubmjTOpAZ4m4mUbV0Ad6WbkfqjGSqlRfLzjLf TaS/Od0E7scTwYYwgo2DW2X07F97pAwIoRxsFQkcIAfMpd9vlpCZbxXjV5ZgkoAxr0Afqo UGyfODesVBM60vEusaSlkupPW4e8bUKRll48QyuSyvf/gHRhB0+gAkW0aJJMdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877221; a=rsa-sha256; cv=none; b=LPUCAWvp7MSfRPk+O1ZJwtZgcY/MApf2dBoLoXqLETMO8KexzuDj7WJwe/SzOPJmddElmk QLl6oRCo1S9EPLglmH7Ehu281n9UxrMM218q42t+ia+Hw2CO47YC7aXGE4Z/60Mz6eCt7Y ayIIlO6shUwgNMAhGPLRuGkPDzvIZu6TpuJgq5Sq8ZZKEpF9ESIXUFwNJDvnRyi1PfT55f Y7z5Go/SYNR/Ds3zHt12qLcoft5trGaJiQE49FHNaqxhcK+DakNIp1SD/1EEaFZv/mG+XK jQk8ZYMvU9guaGv5h892BEpuqpbZhyURABMZfO7lw2qzCGvhChxj1vwRcIYgfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263782 --- Comment #2 from PauAmma --- Comment on attachment 233758 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233758 X11 section - rc.conf replacement(s) >diff --git a/documentation/content/en/books/handbook/x11/_index.adoc b/doc= umentation/content/en/books/handbook/x11/_index.adoc >index 8a9269cdcf..9aa05ef7a9 100644 >--- a/documentation/content/en/books/handbook/x11/_index.adoc >+++ b/documentation/content/en/books/handbook/x11/_index.adoc >@@ -942,11 +942,11 @@ Refer to <> for instructions on how to= configure the GNOME Display > =3D=3D=3D Configuring XDM >=20 > To install XDM, use the package:x11/xdm[] package or port. >-Once installed, XDM can be configured to run when the machine boots up by= adding the following line to [.filename]#/etc/rc.conf#: >+Once installed, XDM can be configured to run when the machine boots up by= using sysrc: man:sysrc[8] to make it a link to the web-based manual page. >@@ -1046,28 +1046,28 @@ proc /proc procfs rw 0 0 >=20 > GNOME uses D-Bus for a message bus and hardware abstraction. > These applications are automatically installed as dependencies of GNOME. >-Enable them in [.filename]#/etc/rc.conf# so they will be started when the= system boots: >+Enable them with sysrc so they will be started when the system boots: >=20 > [.programlisting] > .... >-dbus_enable=3D"YES" >+sysrc dbus_enable=3D"YES" Same. >=20 > After installation, configure Xorg to start GNOME. > The easiest way to do this is to enable the GNOME Display Manager, GDM, w= hich is installed as part of the GNOME package or port. >-It can be enabled by adding this line to [.filename]#/etc/rc.conf#: >+It can be enabled by using sysrc: And again. >=20 > [.programlisting] > .... >-gdm_enable=3D"YES" >+sysrc gdm_enable=3D"YES" > .... >=20 > It is often desirable to also start all GNOME services. >-To achieve this, add a second line to [.filename]#/etc/rc.conf#: >+To achieve this, use sysrc: etc. (You get the idea.) >=20 > [.programlisting] > .... >-gnome_enable=3D"YES" >+sysrc gnome_enable=3D"YES" > .... >=20 > GDM will start automatically when the system boots. >@@ -1124,11 +1124,11 @@ proc /proc procfs rw 0 0 >=20 > KDE uses D-Bus for a message bus and hardware abstraction. > These applications are automatically installed as dependencies of KDE. >-Enable them in [.filename]#/etc/rc.conf# so they will be started when the= system boots: >+Enable them with sysrc so they will be started when the system boots: >=20 > [.programlisting] > .... >-dbus_enable=3D"YES" >+sysrc dbus_enable=3D"YES" > .... >=20 > Since KDE Plasma 5, the KDE Display Manager, KDM is no longer developed. >@@ -1140,11 +1140,11 @@ To install it, type: > # pkg install x11/sddm > .... >=20 >-Add this line to [.filename]#/etc/rc.conf#: >+Use sysrc to enable: >=20 > [.programlisting] > .... >-sddm_enable=3D"YES" >+sysrc sddm_enable=3D"YES" > .... >=20 > A second method for launching KDE Plasma is to type `startx` from the com= mand line. >@@ -1191,11 +1191,11 @@ Alternatively, to build the port: >=20 > Xfce uses D-Bus for a message bus. > This application is automatically installed as dependency of Xfce. >-Enable it in [.filename]#/etc/rc.conf# so it will be started when the sys= tem boots: >+Enable it with sysrc so it will be started when the system boots: >=20 > [.programlisting] > .... >-dbus_enable=3D"YES" >+sysrc dbus_enable=3D"YES" > .... >=20 > Unlike GNOME or KDE, Xfce does not provide its own login manager. --=20 You are receiving this mail because: You are the assignee for the bug.=