From owner-freebsd-questions@FreeBSD.ORG Sat Jul 29 15:09:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD80516A4DA for ; Sat, 29 Jul 2006 15:09:46 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0531743D66 for ; Sat, 29 Jul 2006 15:09:44 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so152514uge for ; Sat, 29 Jul 2006 08:09:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PWYTykMJokHiUJa+GhQ316rI01PYb3eEGEUVllK8xTgxBuYGiQwWqkwrN0IfYdHrPL584Ca0mr7rZtBglg6usmok1SfLKa2roQ4WKWlD5uMcTaQrQlmSmAxrmwa5aTJNof5QGcpS1cHsqRI0sy0pkn6VLQs7I7FCkcrOWd9UHTg= Received: by 10.78.145.5 with SMTP id s5mr127152hud; Sat, 29 Jul 2006 08:09:43 -0700 (PDT) Received: by 10.78.143.11 with HTTP; Sat, 29 Jul 2006 08:09:43 -0700 (PDT) Message-ID: Date: Sat, 29 Jul 2006 10:09:43 -0500 From: "Nikolas Britton" To: "User Freebsd" In-Reply-To: <20060729020734.P27679@ganymede.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060728164526.E27679@ganymede.hub.org> <20060729020734.P27679@ganymede.hub.org> Cc: Atom Powers , core@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Gotta start somewhere ... how many of us are really out there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 15:09:46 -0000 On 7/29/06, User Freebsd wrote: > On Fri, 28 Jul 2006, Nikolas Britton wrote: > > On 7/28/06, Atom Powers wrote: > >> My shop runs 30+ FreeBSD hosts, and I have several more for personal > >> use. But of those there are maybe 2-3 that I would be ok with listing > >> and exactly zero that I will actually list. It's not that I don't want > >> to help, but I'm not going to run a process like that on a production > >> server. > >> > > > > What about sending something as simple as uname -mr? > > 'k ... > > > $ uname -mr > > 6.1-STABLE i386 > > > > The only way this idea will work is if we put some code in the base > > system that sends something generic every few months. for example. > > Send 'uname -mr' to stats.freebsd.org every 3 months. It would be very > > easy to 'opt out', perhaps stats_enable="NO" in rc.conf. > > > > Alternatively we could make it 'opt in' at install time. The installer > > could add stats_enable="YES" to rc.conf when someone answers yes. > > > > The actual code to implement this is trivial, something like a few > > lines of shell script and a config file that lists the next send date. > > This config file can be checked during the monthly periodic and if > > needed trigger the stats script to send the anonymous data and update > > the next send date in the config file. If the stats script can't find > > a path out it should update the next send date and then die. > > Why not just have it as part of the monthly_periodic itself ... have it > send a copy to a central address as well as to the admin itself, with the > message containing a note on how to disable it in /etc/rc.conf, and have > it opt_in by default? Works for me, their are thousands of easy ways to do it and my example was just one of them. The hard parts going to be convincing core to let you do this. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/