[oe-commits] [openembedded-core] 10/16: glibc/nscd: do not cache for netgroup by default

git at git.openembedded.org git at git.openembedded.org
Wed Jan 3 11:15:12 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 10007bcd30a96470059f9d5b19cf698243486f06
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Thu Nov 2 14:40:40 2017 +0800

    glibc/nscd: do not cache for netgroup by default
    
    We don't have /etc/netgroup by default, so do not
    cache for netgroup by default to avoid:
    nscd[529]: 529 disabled inotify-based monitoring for file `/etc/netgroup': No such file or directory
    nscd[529]: 529 stat failed for file `/etc/netgroup'; will try again later: No such file or directory
    
    Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/glibc/glibc-package.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 1c3782d..c4ca94c 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -98,6 +98,7 @@ do_install_append () {
 	install -m 0755 ${S}/nscd/nscd.init ${D}${sysconfdir}/init.d/nscd
 	install -m 0755 ${S}/nscd/nscd.conf ${D}${sysconfdir}/nscd.conf
 	sed -i "s%daemon%start-stop-daemon --start --exec%g" ${D}${sysconfdir}/init.d/nscd
+	sed -i "s|\(enable-cache\t\+netgroup\t\+\)yes|\1no|" ${D}${sysconfdir}/nscd.conf
 
 	install -d ${D}${systemd_unitdir}/system
 	install -m 0644 ${S}/nscd/nscd.service ${D}${systemd_unitdir}/system/

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list