2012-04-13 11:37:44 +02:00
|
|
|
Use /var/db for nss_db
|
|
|
|
|
2012-11-13 12:56:09 +01:00
|
|
|
Index: glibc-2.16.90/nss/db-Makefile
|
2012-04-13 11:37:44 +02:00
|
|
|
===================================================================
|
2012-11-13 12:56:09 +01:00
|
|
|
--- glibc-2.16.90.orig/nss/db-Makefile
|
|
|
|
+++ glibc-2.16.90/nss/db-Makefile
|
2012-08-28 14:25:24 +02:00
|
|
|
@@ -22,7 +22,7 @@ DATABASES = $(wildcard /etc/passwd /etc/
|
2012-04-13 11:37:44 +02:00
|
|
|
/etc/rpc /etc/services /etc/shadow /etc/gshadow \
|
|
|
|
/etc/netgroup)
|
|
|
|
|
|
|
|
-VAR_DB = /var/db
|
|
|
|
+VAR_DB = /var/lib/misc
|
|
|
|
|
|
|
|
AWK = awk
|
|
|
|
MAKEDB = makedb --quiet
|
2012-11-13 12:56:09 +01:00
|
|
|
Index: glibc-2.16.90/sysdeps/unix/sysv/linux/paths.h
|
2012-04-13 11:37:44 +02:00
|
|
|
===================================================================
|
2012-11-13 12:56:09 +01:00
|
|
|
--- glibc-2.16.90.orig/sysdeps/unix/sysv/linux/paths.h
|
|
|
|
+++ glibc-2.16.90/sysdeps/unix/sysv/linux/paths.h
|
2012-04-13 11:37:44 +02:00
|
|
|
@@ -68,7 +68,7 @@
|
|
|
|
/* Provide trailing slash, since mostly used for building pathnames. */
|
|
|
|
#define _PATH_DEV "/dev/"
|
|
|
|
#define _PATH_TMP "/tmp/"
|
|
|
|
-#define _PATH_VARDB "/var/db/"
|
|
|
|
+#define _PATH_VARDB "/var/lib/misc/"
|
|
|
|
#define _PATH_VARRUN "/var/run/"
|
|
|
|
#define _PATH_VARTMP "/var/tmp/"
|
|
|
|
|
2012-11-13 12:56:09 +01:00
|
|
|
Index: glibc-2.16.90/Makeconfig
|
2012-04-13 11:37:44 +02:00
|
|
|
===================================================================
|
2012-11-13 12:56:09 +01:00
|
|
|
--- glibc-2.16.90.orig/Makeconfig
|
|
|
|
+++ glibc-2.16.90/Makeconfig
|
|
|
|
@@ -250,7 +250,7 @@ inst_sysconfdir = $(install_root)$(sysco
|
2012-04-13 11:37:44 +02:00
|
|
|
|
|
|
|
# Directory for the database files and Makefile for nss_db.
|
|
|
|
ifndef vardbdir
|
2012-08-28 14:25:24 +02:00
|
|
|
-vardbdir = $(localstatedir)/db
|
2012-04-13 11:37:44 +02:00
|
|
|
+vardbdir = /var/lib/misc
|
|
|
|
endif
|
|
|
|
inst_vardbdir = $(install_root)$(vardbdir)
|
|
|
|
|