From owner-svn-soc-all@FreeBSD.ORG Sun Jun 24 17:15:52 2012 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id A328C1065678 for ; Sun, 24 Jun 2012 17:15:50 +0000 (UTC) (envelope-from tzabal@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Sun, 24 Jun 2012 17:15:50 +0000 Date: Sun, 24 Jun 2012 17:15:50 +0000 From: tzabal@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20120624171550.A328C1065678@hub.freebsd.org> Cc: Subject: socsvn commit: r238239 - soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2012 17:15:52 -0000 Author: tzabal Date: Sun Jun 24 17:15:50 2012 New Revision: 238239 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=238239 Log: Change the directory that reports arrive in the server from /home/reporter to /var/spool/crashreports Modified: soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh Modified: soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh ============================================================================== --- soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh Sun Jun 24 16:56:48 2012 (r238238) +++ soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh Sun Jun 24 17:15:50 2012 (r238239) @@ -155,7 +155,8 @@ ## Send the report to the Central Collector machine user="reporter" -hostname="akcrs.dyndns.org" +host="akcrs.dyndns.org" +file="/var/spool/crashreports" # Host public key host_public_key_file=`mktemp /tmp/crashreport.XXXXXX` @@ -194,7 +195,7 @@ -----END RSA PRIVATE KEY-----" > ${user_private_key_file} scp -o GlobalKnownHostsFile="${host_public_key_file}" -o BatchMode=yes \ - -i "${user_private_key_file}" -q "${report}" "${user}@${hostname}:" + -i "${user_private_key_file}" -q "${report}" "${user}@${host}:${file}" if [ $? -ne 0 ]; then error 'An error occurred while sending the report.'