mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
2004-10-15 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.h (_PATH_NSCD_PASSWD_DB): Move to /var/db. (_PATH_NSCD_GROUP_DB): Likewise. (_PATH_NSCD_HOSTS_DB): Likewise. (_PATH_NSCD_XYZ_DB_TMP): New #define, point to /var/run. * nscd/connections.c (nscd_init): Non-persistent database files are created with the _PATH_NSCD_XYZ_DB_TMP path. * nscd/nscd.init: Create /var/db/nscd if necessary.
This commit is contained in:
parent
a8a589676c
commit
457962e5f1
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2004-10-15 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* nscd/nscd.h (_PATH_NSCD_PASSWD_DB): Move to /var/db.
|
||||||
|
(_PATH_NSCD_GROUP_DB): Likewise.
|
||||||
|
(_PATH_NSCD_HOSTS_DB): Likewise.
|
||||||
|
(_PATH_NSCD_XYZ_DB_TMP): New #define, point to /var/run.
|
||||||
|
* nscd/connections.c (nscd_init): Non-persistent database files
|
||||||
|
are created with the _PATH_NSCD_XYZ_DB_TMP path.
|
||||||
|
* nscd/nscd.init: Create /var/db/nscd if necessary.
|
||||||
|
|
||||||
2004-10-15 Richard Henderson <rth@redhat.com>
|
2004-10-15 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
|
* sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
|
||||||
|
@ -87,9 +87,12 @@ struct database_dyn
|
|||||||
|
|
||||||
|
|
||||||
/* Paths of the file for the persistent storage. */
|
/* Paths of the file for the persistent storage. */
|
||||||
#define _PATH_NSCD_PASSWD_DB "/var/run/nscd/passwd"
|
#define _PATH_NSCD_PASSWD_DB "/var/db/nscd/passwd"
|
||||||
#define _PATH_NSCD_GROUP_DB "/var/run/nscd/group"
|
#define _PATH_NSCD_GROUP_DB "/var/db/nscd/group"
|
||||||
#define _PATH_NSCD_HOSTS_DB "/var/run/nscd/hosts"
|
#define _PATH_NSCD_HOSTS_DB "/var/db/nscd/hosts"
|
||||||
|
|
||||||
|
/* Path used when not using persistent storage. */
|
||||||
|
#define _PATH_NSCD_XYZ_DB_TMP "/var/run/nscd/dbXXXXXX"
|
||||||
|
|
||||||
|
|
||||||
/* Global variables. */
|
/* Global variables. */
|
||||||
|
@ -38,6 +38,7 @@ prog=nscd
|
|||||||
|
|
||||||
start () {
|
start () {
|
||||||
[ -d /var/run/nscd ] || mkdir /var/run/nscd
|
[ -d /var/run/nscd ] || mkdir /var/run/nscd
|
||||||
|
[ -d /var/db/nscd ] || mkdir /var/db/nscd
|
||||||
secure=""
|
secure=""
|
||||||
# for table in passwd group hosts
|
# for table in passwd group hosts
|
||||||
# do
|
# do
|
||||||
|
Loading…
Reference in New Issue
Block a user