diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2017-11-02 14:40:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-13 10:15:20 +0000 |
commit | 979587c2bc0251bc5f9822184a1e75a2b19d29b9 (patch) | |
tree | c3c00df2c903c412c3cdaf0f94cab9bd820cfd53 /meta/recipes-core | |
parent | ac18f28e22320a7726ee4aeb8b4874b0a94669c7 (diff) | |
download | poky-979587c2bc0251bc5f9822184a1e75a2b19d29b9.tar.gz |
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)
(From OE-Core rev: 0adedfc2bf8981819fbbf8b1884da44c7082d1a6)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glibc/glibc-package.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index df3db2cc45..817d850358 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc | |||
@@ -97,6 +97,7 @@ do_install_append () { | |||
97 | install -m 0755 ${S}/nscd/nscd.init ${D}${sysconfdir}/init.d/nscd | 97 | install -m 0755 ${S}/nscd/nscd.init ${D}${sysconfdir}/init.d/nscd |
98 | install -m 0755 ${S}/nscd/nscd.conf ${D}${sysconfdir}/nscd.conf | 98 | install -m 0755 ${S}/nscd/nscd.conf ${D}${sysconfdir}/nscd.conf |
99 | sed -i "s%daemon%start-stop-daemon --start --exec%g" ${D}${sysconfdir}/init.d/nscd | 99 | sed -i "s%daemon%start-stop-daemon --start --exec%g" ${D}${sysconfdir}/init.d/nscd |
100 | sed -i "s|\(enable-cache\t\+netgroup\t\+\)yes|\1no|" ${D}${sysconfdir}/nscd.conf | ||
100 | 101 | ||
101 | install -d ${D}${systemd_unitdir}/system | 102 | install -d ${D}${systemd_unitdir}/system |
102 | install -m 0644 ${S}/nscd/nscd.service ${D}${systemd_unitdir}/system/ | 103 | install -m 0644 ${S}/nscd/nscd.service ${D}${systemd_unitdir}/system/ |