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

git at git.openembedded.org git at git.openembedded.org
Fri Jan 12 08:44:31 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 784feb89be15c51e29ffb19e4f15d081a420ac4e
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
    
    (From OE-Core rev: 10007bcd30a96470059f9d5b19cf698243486f06)
    
    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 df3db2c..817d850 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -97,6 +97,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