When starting a jail with /usr/sbin/jail -c, the start command is run with uid, effective uid and effective gid set properly, but real gid isn't set, so it's still zero from running jail as root. In addition to any issues from retaining gid 0, this also has the effect that the process is considered setugid and tainted, so coredumps, signals, etc are restricted. /usr/sbin/jexec does properly set the gid.
Yes, this was filed first and technical 195984 is the duplicate. But I was aware of only 195984 when I fixed it. *** This bug has been marked as a duplicate of bug 195984 ***