pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Create influxdb package



Attila Fülöp <attila%fueloep.org@localhost> writes:

> 1.) `/var/db/influxdb` isn't created during installation.

This is more or less a religious issue, but /var really seems wrong as a
default.  In the Unix tradition, people often use separate filesystems
for / and /usr, and then /var, and data that could be very large seems
not to belong in /var.

I think mysql puts things in /var, but someone has recently said this
seems buggy.  THe pgsql packages use /usr/pkg/pgsql.  That's perhaps
also troubled, but /usr/pkg is expected to have some space and it's easy
to move and symlink.

So to me, /usr/pkg/var/influxdb seems right.

But all that said, on NetbSD the pkgsrc variable VARBASE seems to
default to /var, so by that logic the pacakge is ritht and the real
issue is the value of VARBASE.

Argubly anybody running a database of this sort needs to pay attention
anyway.

> 2.) Influxd doesn't background itself, thus the smf start method needs
> to do that.
>
> In the default configuration influxd sends usage statistics to
> usage.influxdata.com every 24 hours. Maybe you want to disable this with
> `reporting-disabled = true` in the default influxdb.conf?

Definitely.  We usually patch out phone-home as a security bug.


Home | Main Index | Thread Index | Old Index