Created attachment 227153 [details]
Not sure why this is being done manually, but it breaks user creation when populating an image with pkg -r and leaves the user/group behind when the pkg is removed.
This is the intended behavior.
on upgraded systems there is an ftp user in the base.
and using USER/GROUP has regressions in this case.
I will test if the regressions still occurs.
On upgraded systems? I don't see a ftp user in CURRENT: https://cgit.freebsd.org/src/tree/etc/master.passwd
(In reply to Brad Davis from comment #2)
You have an ftp user on systems which have been upgraded from previous version of ftp. This conflicts with the logic in bsd.port.mk and pkg.