[Buildroot] [PATCHv2 1/2] getent: new package

Arnout Vandecappelle arnout at mind.be
Mon Oct 13 16:34:41 UTC 2014


On 13/10/14 11:17, Peter Korsgaard wrote:
> >>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
>
>  > On 18/08/14 11:54, Thomas Petazzoni wrote:
>  >> The ecryptfs-utils scripts require the 'getent' program to be
>  >> installed to find the home directory of users. However, Buildroot
>  >> currently never installs this program, and therefore bug #7142 was
>  >> reported, explaining that ecryptfs-utils is not working properly.
>  >>
>  >> In normal Linux systems, the getent program is provided by glibc, and
>  >> allows to query not only /etc/passwd, but also other NSS databases
>  >> such as LDAP and others.
>  >>
>  >> This solution allows to install a NSS-capable getent when glibc/eglibc
>  >> is used, and otherwise to rely on uClibc's wrapper script.
>  >>
>  >> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>
>  > Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
>
>  >  Fixes a (run-time) bug, so please apply.
>
> We have some autobuild issues, like:
>
> http://autobuild.buildroot.net/results/820/8207527e3e42a226649c5f5fbf62fa8a77b89467/
>
> (codesourcery mips 2013.05)
>
> Should we perhaps fallback to the uClibc emulation version if the
> toolchain doesn't provide it?
>

 The toolchain does provide it, but it's in a different path
(libc/usr/lib/bin/getent).

 Thomas, did you test this at all with a CodeSourcery toolchain because it looks
like it's never in sysroot/usr/bin...

 I guess the external toolchain infrastructure should copy it like it does for
the libraries.

 Regards,
 Arnout

-- 
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F


More information about the buildroot mailing list