Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2022 22:29:02 +0100
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        Stephen Roznowski <sjrbulk@verizon.net>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Staging and /var
Message-ID:  <Y6tjns7nVLK1ntDI@elch.exwg.net>
In-Reply-To: <869298973.3430864.1672163660124@mail.yahoo.com>
References:  <869298973.3430864.1672163660124.ref@mail.yahoo.com> <869298973.3430864.1672163660124@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
## Stephen Roznowski (sjrbulk@verizon.net):

> I'm in the process of creating a new port that requires the installation
> of some files in /var.

When something is surprisingly hard, you should stop and think if you're
holding it wrong. So, why /var? Could it make sense to use
/usr/local/var/ (${PREFIX}/var to be precise)? Or maybe /var/db for
local state, as it some ports use? Once you've answered that question,
have a look at security/krb5-120 for how to handle ${PREFIX}/var and/or
security/sudo for anything in /var/db (these are the first examples which
crossed my mind, there are more).

Regards,
Christoph

-- 
Spare Space



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