Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380217 - sys-libs/glibc nscd init script may support persistent db
Summary: sys-libs/glibc nscd init script may support persistent db
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 12:06 UTC by Raphaël Droz
Modified: 2011-08-29 05:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sample init script patch (glibc-2.12.2.init.patch,305 bytes, text/plain)
2011-08-22 12:08 UTC, Raphaël Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Droz 2011-08-22 12:06:59 UTC
If you want a persistent DB for, eg, hosts, then nscd will create /var/db/nscd/<db-name> at startup but expect /var/db/nscd to exist.

Attached is a sample patch which grep && mkdir.
Should be noted that the case where both "server-user" and "persistent" are setup has not been tested; in such a case install -o <user> may be needed.


Reproducible: Always
Comment 1 Raphaël Droz 2011-08-22 12:08:43 UTC
Created attachment 284215 [details]
sample init script patch
Comment 2 SpanKY gentoo-dev 2011-08-29 05:21:55 UTC
thanks ... added to the patchset

http://sources.gentoo.org/gentoo/src/patchsets/glibc/extra/etc/nscd?r1=1.4&r2=1.5