cvs commit: ports/sysutils/bsdstats Makefile pkg-install

Marc G. Fournier scrappy at freebsd.org
Fri May 4 00:49:55 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Thursday, May 03, 2007 20:06:42 -0400 Kris Kennaway <kris at obsecurity.org> 
wrote:

> 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
>> <kris at obsecurity.org> 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.

'k, I'll just have it install but not enable ...

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGOoM44QvfyHIvDvMRAjF4AJ4hBWhzToDpqrNmRLVmSE+M17LTtwCgneR2
rDRCuigYEC7lPz9oQ5YUiYM=
=943d
-----END PGP SIGNATURE-----



More information about the cvs-all mailing list