Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537474 - sys-process/at, acct-{user,group}/smtpd: duplicate user and group id 25
Summary: sys-process/at, acct-{user,group}/smtpd: duplicate user and group id 25
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-23 18:58 UTC by Ulrich Müller
Modified: 2021-04-26 07:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2015-01-23 18:58:54 UTC
mail-mta/opensmtpd and sys-process are both using group id 25 for the "smtpd" and "at" group, respectively.

If a fixed group id is needed, then this conflict should be resolved. If not, enewgroup should assign the id dynamically.
Comment 1 Gabriel 2020-09-12 08:53:29 UTC
Is this bug fixed by the dependency on acct-group/smtpd?
Comment 2 Ulrich Müller gentoo-dev 2020-09-12 10:10:09 UTC
(In reply to Gabriel from comment #1)
> Is this bug fixed by the dependency on acct-group/smtpd?

No, it means that the collision is now between acct-{user,group}/smtpd and sys-process/at.

I think the most natural way to proceed from here is to port sys-process/at to GLEP 81, using a different user and group id.
Comment 3 Larry the Git Cow gentoo-dev 2021-04-26 07:30:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3943102656f231e082a38daa2888676fbca43507

commit 3943102656f231e082a38daa2888676fbca43507
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-04-26 07:22:07 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-04-26 07:30:42 +0000

    sys-process/at: Revbump for GLEP 81 migration
    
    Package now is using uid/gid 246
    
    Closes: https://bugs.gentoo.org/537474
    Closes: https://bugs.gentoo.org/781512
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../at/{at-3.2.2.ebuild => at-3.2.2-r1.ebuild}     | 32 ++++++++++++----------
 1 file changed, 17 insertions(+), 15 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2021-04-26 07:40:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/api.git/commit/?id=69f20c4edf7a389a78665a205a2fda79b34a1bfa

commit 69f20c4edf7a389a78665a205a2fda79b34a1bfa
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-04-26 07:32:18 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-04-26 07:32:18 +0000

    Moved user/group for sys-process/at to acct-* packages
    
    Which also fixed a uid/gid clash with smtpd
    
    Bug: https://bugs.gentoo.org/537474
    Bug: https://bugs.gentoo.org/781512
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 files/uid-gid.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)