Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764755 - sys-libs/musl - implement 'shadow' database support in getent
Summary: sys-libs/musl - implement 'shadow' database support in getent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-10 03:36 UTC by Mike Gilbert
Modified: 2021-01-20 18:02 UTC (History)
3 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 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(-)