From owner-svn-doc-all@freebsd.org Wed Jun 27 13:58:44 2018 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF4491025841; Wed, 27 Jun 2018 13:58:43 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6DCEB7EA27; Wed, 27 Jun 2018 13:58:43 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 453ED23F4C; Wed, 27 Jun 2018 13:58:43 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5RDwhkl079229; Wed, 27 Jun 2018 13:58:43 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5RDwglc079226; Wed, 27 Jun 2018 13:58:42 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201806271358.w5RDwglc079226@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 27 Jun 2018 13:58:42 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r51913 - in head/en_US.ISO8859-1/books/porters-handbook: pkg-files plist special X-SVN-Group: doc-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: in head/en_US.ISO8859-1/books/porters-handbook: pkg-files plist special X-SVN-Commit-Revision: 51913 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 13:58:44 -0000 Author: mat Date: Wed Jun 27 13:58:42 2018 New Revision: 51913 URL: https://svnweb.freebsd.org/changeset/doc/51913 Log: Add notes in various places about the policy to not start or stop services. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D16034 Modified: head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml Tue Jun 26 14:48:48 2018 (r51912) +++ head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml Wed Jun 27 13:58:42 2018 (r51913) @@ -63,6 +63,14 @@ mode the script is being run in. The PKG_PREFIX environmental variable will be set to the package installation directory. + + + This script is here to help you set up the package so that + it is as ready to use as possible. It must + not be abused to start services, stop services, + or any other commands that will modify the currenly running + system. + @@ -80,6 +88,14 @@ mode the script is being run in. The PKG_PREFIX environmental variable will be set to the package installation directory + + + This script is here to help you set up the package so that + it is as ready to use as possible. It must + not be abused to start services, stop services, + or any other commands that will modify the currenly running + system. + Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Tue Jun 26 14:48:48 2018 (r51912) +++ head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Wed Jun 27 13:58:42 2018 (r51913) @@ -661,6 +661,14 @@ PLIST_SUB= PERL_ARCH=mach + + + These keywords are here to help you set up the package + so that it is as ready to use as possible. They + must not be abused to start services, + stop services, or any other commands that will modify the + currenly running system. + Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Tue Jun 26 14:48:48 2018 (r51912) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Wed Jun 27 13:58:42 2018 (r51913) @@ -5561,6 +5561,15 @@ run_rc_command "$1" _enable variable is not optional, and must use the ":" for the default. + + Ports must not start and stop + themselves when installing and deinstalling. Do not abuse the + plist keywords described in to run commands + starting services, stopping services, or any other commands + that will modify the currenly running system. + + Pre-Commit Checklist