Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 764755

Summary: sys-libs/musl - implement 'shadow' database support in getent
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: lu_zero, musl, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Gilbert gentoo-dev 2021-01-10 03:36:29 UTC
The eislocked function in acct-user.eclass calls "getent shadow". This command fails on musl-based systems.

I wrote a patch for Alpine's fork of getent.c to add support for this.

https://github.com/floppym/aports/commit/79d453a0cd3be7dfa4a2e941816e0a820bac085c
Comment 1 Jory A. Pratt gentoo-dev 2021-01-20 15:26:34 UTC
ack. feel free to commit Mike.
Comment 2 Larry the Git Cow gentoo-dev 2021-01-20 18:02:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98505d73047f3a7703cd171b1f4f5d8c9e0db4e5

commit 98505d73047f3a7703cd171b1f4f5d8c9e0db4e5
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-01-20 17:57:48 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-01-20 17:58:25 +0000

    sys-libs/musl: update getent to support 'shadow' database
    
    Closes: https://bugs.gentoo.org/764755
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-libs/musl/Manifest                             |  1 +
 .../{musl-1.2.2.ebuild => musl-1.2.2-r1.ebuild}    | 31 +++++++++++++-------
 sys-libs/musl/musl-9999.ebuild                     | 33 ++++++++++++++--------
 3 files changed, 44 insertions(+), 21 deletions(-)