Setting system user home directory

Miroslav Lachman 000.fbsd at quip.cz
Wed Dec 20 15:54:46 UTC 2017


Adam Vande More wrote on 2017/12/20 15:12:
> On Sat, Dec 16, 2017 at 2:10 PM, Dmytro Bilokha <dmytro at posteo.net> wrote:
>
>> Guys, thanks for your help. I've managed to adjust user's homedir
>> using pkg-install script. Now I'll try to move everything writable
>> from /usr/local to /var (as Miroslav suggested), test and submit the new
>> port version.
>
>
> I think you should do what makes sense for your application.  The /var/db
> stuff is not a hard fast rule and it doesn't work well for many
> situations.  Also it's mostly system related DB's that live there.  It's
> not only some java related ports that live mostly under /usr but also
> things like postgres(at least used to).

Databases (Postgres) are mess. MySQL, CouchDB, Elasticsearch and others 
are using /var/db prefix, PostgreSQL and some others are using 
/usr/local. It is very inconsistent...

Miroslav Lachman


More information about the freebsd-ports mailing list