Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2016 15:31:45 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Why standard user mailnull (26:26) is missing from /usr/ports/UIDs?
Message-ID:  <7aebe839-44c5-3e6e-08ca-c64f9c358f92@FreeBSD.org>
In-Reply-To: <20161229132135.GA90049@FreeBSD.org>
References:  <20161229132135.GA90049@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ipeCS6edPXNdeAuJCxoH5GG2R9rfRQsTQ
Content-Type: multipart/mixed; boundary="RFSwH7iExGhqMPtAHseIgn49uAEWWOhJO";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-ports@freebsd.org
Message-ID: <7aebe839-44c5-3e6e-08ca-c64f9c358f92@FreeBSD.org>
Subject: Re: Why standard user mailnull (26:26) is missing from
 /usr/ports/UIDs?
References: <20161229132135.GA90049@FreeBSD.org>
In-Reply-To: <20161229132135.GA90049@FreeBSD.org>

--RFSwH7iExGhqMPtAHseIgn49uAEWWOhJO
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 29/12/2016 13:21, Alexey Dokuchaev wrote:
> Hence there're two questions:
>=20
> 1) $subj
> 2) Is it OK to add `mailnull' to /usr/ports/UIDs similar to `smmsp'?  O=
r,
> 3) every port should not abuse default system users and create their ow=
n?

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.

However, adding it to your Makefile (and inter-alia to UIDs) should do
no harm -- see the setting for USERS_BLACKLIST in bsd.port.mk

Existing practise seems pretty inconsistent.  The only port that has
USERS=3Dsmmsp is mail/sendmail, but several other ports use the smmsp
user.  Contrarywise none of the dns/bindNNN ports have USERS=3Dbind, but
three other ports do: dns/credns, dns/curvedns and dns/maradns none of
which have anything to do with bind other than they implement DNS stuff.

	Cheers,

	Matthew





--RFSwH7iExGhqMPtAHseIgn49uAEWWOhJO--

--ipeCS6edPXNdeAuJCxoH5GG2R9rfRQsTQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJYZSxnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATqIwQAK6umKcKOIBv+wh29yNSrpvc
LUnnumTltFqK/WIagYzETghdaNfOk6uYqWmlz3NNFjBEPkwbCAOsxnVI/PvBi7Xu
fX9hg5HyEFulNFMJcwbtw5YEcMXxGxfGit1VMe6eG4ENqAx0a6aQDm4LG2zHUh3p
AGWB7tMVy836uIEsGJOJnxUoScSfrPFdimbZKiYk/Tj4NMXCKFi2i84BVmY0carx
AUWEAbzN2Vo4rihUN62LXhUdrGSH6S722chQfQ5jiNPutcz4dpNBEZpcSLcLCLe8
k4tLHtOiKcJpKQ0vnbsnfV47AuhHWfSwuRypFJWZPbx1E0bWmuoX5V53HSCPxY4Q
wJH5g5xJoehnjCIVRl+X3zVHbQ+EkHwch2vwBGfBpm1VQjJddUZiiqpOJJnwd5Qo
juS2aUBrbGN9eErGwEQOjPmyjHPuFheo9kYQBb9D5HCl7jeqKHA4rqWUZLAJJtgr
tClEyWe6zgPF7J5Wo65tyERO922JvUaEy6CJfAKqFlazdVbkAVqEY8Oc+HC+HuFl
rTV6B0ZLM37q4rrZ+vgHzYj72B9BeVhqziDwkKojNczfP05FeE6P+tMTmHAlqhQv
wY9Abijm8S0bZoXj/T3pzqyLTOXrnVvR97EGPj1fIf708jmRQvpzI06KMDBvET11
9WXxoNdBdRx+usRglbuf
=+Z6X
-----END PGP SIGNATURE-----

--ipeCS6edPXNdeAuJCxoH5GG2R9rfRQsTQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7aebe839-44c5-3e6e-08ca-c64f9c358f92>