Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903083 - sys-apps/shadow - usermod ignores --prefix option when evaluating --gid
Summary: sys-apps/shadow - usermod ignores --prefix option when evaluating --gid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-26 01:30 UTC by Mike Gilbert
Modified: 2023-06-17 02:44 UTC (History)
1 user (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 Mike Gilbert gentoo-dev 2023-03-26 01:30:43 UTC
I noticed this when reinstalling acct-user packages in a test ROOT. It causes errors like this:

 * Updating user apache
usermod: group 'apache' does not exist
 * ERROR: acct-user/apache-0-r2::gentoo failed (postinst phase):
 *   usermod failed
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-17 02:44:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16921604a6bd3ec292570577a472d18aebe60389

commit 16921604a6bd3ec292570577a472d18aebe60389
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-17 02:29:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-17 02:32:11 +0000

    sys-apps/shadow: backport password leak fix, backport usermod gid --prefix fix
    
    Bug: https://bugs.gentoo.org/908613
    Closes: https://bugs.gentoo.org/894754
    Signed-off-by: Sam James <sam@gentoo.org>

 .../shadow/files/shadow-4.13-password-leak.patch   | 135 +++++++++++
 .../files/shadow-4.13-usermod-prefix-gid.patch     |  33 +++
 sys-apps/shadow/shadow-4.13-r4.ebuild              | 268 +++++++++++++++++++++
 3 files changed, 436 insertions(+)