Why standard user mailnull (26:26) is missing from /usr/ports/UIDs?

Alexey Dokuchaev danfe at FreeBSD.org
Fri Dec 30 13:17:06 UTC 2016


On Thu, Dec 29, 2016 at 03:31:45PM +0000, Matthew Seaman wrote:
> On 29/12/2016 13:21, Alexey Dokuchaev wrote:
> > Hence there're two questions:
> > 
> > 1) $subj
> > 2) Is it OK to add `mailnull' to /usr/ports/UIDs similar to `smmsp'?  Or,
> > 3) every port should not abuse default system users and create their own?
> 
> Given the mailnull user exists as part of the base system (and in DFly
> too), you don't need to add anything to a generated pkg to create that
> UID.  So you can just set  file ownership to mailnull in pkg-plist or
> run daemons as the mailnull user from your rc script without having to
> add a USERS or GROUPS line to your port Makefile.

Makes sense, thank you Matthew.

./danfe


More information about the freebsd-ports mailing list