| Summary: | qmail.eclass: fails when groups are created with different gid | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
| Component: | Eclasses | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | net-mail+disabled, qa |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/12898 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d3664854eebe40015d56ef2475678329a9ec77 commit 22d3664854eebe40015d56ef2475678329a9ec77 Author: Rolf Eike Beer <eike@sf-mail.de> AuthorDate: 2019-09-08 19:40:09 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2019-09-21 14:49:08 +0000 eclass/qmail: drop qmail_create_groups All ebuilds that were calling this directly or indirectly depend on acct-group now. Closes: https://bugs.gentoo.org/533184 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org> eclass/qmail.eclass | 11 ----------- 1 file changed, 11 deletions(-) |
qmail_create_users() does: enewuser alias 200 -1 "${QMAIL_HOME}"/alias 200 enewuser qmaild 201 -1 "${QMAIL_HOME}" 200 enewuser qmaill 202 -1 "${QMAIL_HOME}" 200 However, there is no guarantee that groups from qmail_create_groups() will actually use that gid. $ getent group nofiles nofiles:x:1014: Most likely created by some other ebuild. The result is: * Adding user 'alias' to your system ... * - Userid: 200 * - Shell: /sbin/nologin * - Home: /var/qmail/alias * You must add group 200 to the system first * ERROR: mail-mta/netqmail-1.06-r2::gentoo-cvs failed (setup phase): * 200 is not a valid GID