Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 02:15:17 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r40113 - head/en_US.ISO8859-1/articles/portbuild
Message-ID:  <201211210215.qAL2FHxY045780@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Nov 21 02:15:17 2012
New Revision: 40113
URL: http://svnweb.freebsd.org/changeset/doc/40113

Log:
  Make some pathnames more specific.  Add a portmgr crontab (already
  committed to repo) to hold the dopackagestats invocation, instead of
  just having it in a user directory.

Modified:
  head/en_US.ISO8859-1/articles/portbuild/article.xml

Modified: head/en_US.ISO8859-1/articles/portbuild/article.xml
==============================================================================
--- head/en_US.ISO8859-1/articles/portbuild/article.xml	Tue Nov 20 18:25:09 2012	(r40112)
+++ head/en_US.ISO8859-1/articles/portbuild/article.xml	Wed Nov 21 02:15:17 2012	(r40113)
@@ -1725,7 +1725,7 @@ ganglia:*:102:102::0:0:User &amp;:/usr/l
 
 	    <listitem>
 	      <para>Create the appropriate
-		<filename>/etc/rc.conf</filename>.  (If you are using
+		<filename>etc/rc.conf</filename>.  (If you are using
 		  <literal>pxeboot</literal>, and have multiple,
 		  different, machines, you will need to put those in
 		  the override directories.)</para>
@@ -1955,8 +1955,8 @@ touch /tmp/.boot_finished</screen>
 
 	    <listitem>
 	      <para>Configure <command>ssh</command>: copy
-		<filename>/etc/ssh</filename> to
-		<filename>/usr/local/etc/ssh</filename> and add
+		<filename>etc/ssh</filename> to
+		<filename>usr/local/etc/ssh</filename> and add
 		<literal>NoneEnabled yes</literal> to
 		<filename>sshd_config</filename>.</para>
 	    </listitem>
@@ -2159,13 +2159,17 @@ ssh_cmd="/usr/local/bin/ssh"
       <procedure>
 	<step>
 	  <para>Ensure that <literal>ssh</literal> is working by executing
-	    <command>ssh <replaceable>hostname</replaceable></command>.
+	    <command>ssh <replaceable>hostname</replaceable> uname -a</command>.
+	    The actual command is not important; what is important is to
+	    confirm the setup, and also add an entry into
+	    <filename>known_hosts</filename>, once you have confirmed the
+	    node's identity.
 	  </para>
 	</step>
 
 	<step>
-	  <para>Populate <filename>/var/portbuild/scripts/</filename>
-	    by something like
+	  <para>Populate the node's copy of
+	    <filename>/var/portbuild/scripts/</filename> by something like
 	    <command>/var/portbuild/scripts/dosetupnode <replaceable>arch</replaceable> <replaceable>major</replaceable> latest <replaceable>hostname</replaceable></command>.
 	    Verify that you now have files in that directory.
 	  </para>
@@ -3161,8 +3165,17 @@ qmanager.sh</screen>
 	</step>
 
 	<step>
-	  <para>Set up <filename>/var/portbuild/crontab/root</filename> as
-	    the root crontab via <command>crontab -e</command>.  If you do
+	  <para>Install <filename>/var/portbuild/crontabs/root</filename> as
+	    the <username>root</username> crontab via
+	    <command>crontab -e</command>.  If you do
+	    not support all the archs listed there, make sure to comment out
+	    the appropriate <application>dologs</application> entries.</para>
+	</step>
+
+	<step>
+	  <para>Install <filename>/var/portbuild/crontabs/portmgr</filename> as
+	    the <username>portmgr</username> crontab via
+	    <command>crontab -u portmgr -e</command>.  If you do
 	    not support all the archs listed there, make sure to comment out
 	    the appropriate <application>dologs</application> entries.</para>
 	</step>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211210215.qAL2FHxY045780>