From owner-cvs-all@FreeBSD.ORG Fri May 4 00:06:44 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 088D616A402; Fri, 4 May 2007 00:06:44 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id EABC613C44C; Fri, 4 May 2007 00:06:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 770D11A4D9A; Thu, 3 May 2007 17:07:19 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2BFEF5138E; Thu, 3 May 2007 20:06:43 -0400 (EDT) Date: Thu, 3 May 2007 20:06:42 -0400 From: Kris Kennaway To: "Marc G. Fournier" Message-ID: <20070504000642.GA96071@xor.obsecurity.org> References: <6283D31B45427600FCA7C3B9@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6283D31B45427600FCA7C3B9@ganymede.hub.org> User-Agent: Mutt/1.4.2.2i Cc: cvs-ports@FreeBSD.org, ports-committers@FreeBSD.org, cvs-all@FreeBSD.org, Kris Kennaway Subject: Re: cvs commit: ports/sysutils/bsdstats Makefile pkg-install X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 00:06:44 -0000 On Thu, May 03, 2007 at 07:33:41PM -0300, Marc G. Fournier wrote: > > > --On Saturday, April 28, 2007 15:21:32 -0400 Kris Kennaway > wrote: > > > On Sat, Apr 28, 2007 at 07:12:31PM +0000, Marc G. Fournier wrote: > >> scrappy 2007-04-28 19:12:31 UTC > >> > >> FreeBSD ports repository > >> > >> Modified files: > >> sysutils/bsdstats Makefile pkg-install > >> Log: > >> By popular request, I've added a bsdstats.sh script to etc/rc.d so that > >> it can be enabled to run on reboot (ie. for laptops, office computers, etc) > >> since not everyone runs a server 24/7 ... > >> > >> I've added to pkg-install a yesno question as to whether it should be > >> enabled on reboot, seperate from the monthly periodic run ... > > > > Interactive pkg_installs are the work of the devil :( Think what > > happens when a user tries to add your package from sysinstall. Hint: > > the TTY used by pkg_add is over on another VTY. > > Hrmmm ... hadn't thought about sysinstall :( But, what behaviour should happen > if someone installs via sysinstall? Auto-enabled? Then again, if someone does > go to the trouble of installing it in the first place, even interactively, > would it make more sense to just get rid of the interactive altogether and have > it auto-enable, and let them know how to disable? > > Would it make sense / be acceptable to have it auto-enable the stats if someone > installs, but leave the 'extra reports' disabled unless they manually modify > /etc/periodic.conf to enable them? That sounds to be like it would be the > least offensive, but a 'second opinion' would be appreciated ... Usually packages need to be enabled explicitly in rc.conf. Kris