The primary group is specified as the default for "ACCT_USER_HOME_OWNER", but there is no mention of how that default value is determined. Is it the first one in "ACCT_USER_GROUPS (REQUIRED)"? Is a new variable needed to set the primary group?
Indeed I've failed to document this properly. I will send a patch for review shortly.
I like your changes. Very clear!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb7d88522c7f4e00ea958a6db949a8919f840b9 commit 1eb7d88522c7f4e00ea958a6db949a8919f840b9 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-08-27 19:37:30 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-09-08 09:21:41 +0000 acct-user.eclass: Document primary/supplementary groups Closes: https://bugs.gentoo.org/692964 Signed-off-by: Michał Górny <mgorny@gentoo.org> eclass/acct-user.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)