Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2006 10:09:43 -0500
From:      "Nikolas Britton" <nikolas.britton@gmail.com>
To:        "User Freebsd" <freebsd@hub.org>
Cc:        Atom Powers <atom.powers@gmail.com>, core@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Gotta start somewhere ... how many of us are really out there?
Message-ID:  <ef10de9a0607290809x2cd5bf4bj7068a4b9d7f9f642@mail.gmail.com>
In-Reply-To: <20060729020734.P27679@ganymede.hub.org>
References:  <20060728164526.E27679@ganymede.hub.org> <df9ac37c0607281319s5da0f64ese5fa57df1ef11a4d@mail.gmail.com> <ef10de9a0607282139i51fdde5ch58525fa3347364d2@mail.gmail.com> <20060729020734.P27679@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/29/06, User Freebsd <freebsd@hub.org> wrote:
> On Fri, 28 Jul 2006, Nikolas Britton wrote:
> > On 7/28/06, Atom Powers <atom.powers@gmail.com> 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/



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