From 6c9a78074a429773cefd1a3c798b7e3ad7d4c325 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 15 Jun 2011 14:40:51 +1000 Subject: build: Put lockdir and cachedir in FHS-like locations by default This does not move statedir, leaving it in PREFIX/var/locks because state files such as idmap are dangerous to move, as they might re-create, causing chaos. This isn't ideal, but I don't have a better solution right now. Andrew Bartlett --- source4/dynconfig/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript index 347c5bd0b2..12fc17fe0e 100755 --- a/source4/dynconfig/wscript +++ b/source4/dynconfig/wscript @@ -9,8 +9,8 @@ dir_options = { 'with-privatedir' : [ '${PREFIX}/private', 'Where to put sam.ldb and other private files' ], 'with-sockets-dir' : [ '${LOCALSTATEDIR}/run', 'sockets directory' ], 'with-winbindd-privileged-socket-dir' : [ '${LOCALSTATEDIR}/lib/winbindd_privileged', 'winbind privileged socket directory'], - 'with-lockdir' : [ '${LOCALSTATEDIR}/locks', 'where to put short term disposable state files' ], - 'with-cachedir' : [ '${LOCALSTATEDIR}/locks', 'where to put cache files' ], + 'with-lockdir' : [ '${LOCALSTATEDIR}/lock', 'where to put short term disposable state files' ], + 'with-cachedir' : [ '${LOCALSTATEDIR}/cache', 'where to put cache files' ], 'with-logfilebase' : [ '${LOCALSTATEDIR}', 'Where to put log files' ], 'with-pammodulesdir' : [ '${LIBDIR}', 'Which directory to use for PAM modules' ], 'with-statedir' : [ '${LOCALSTATEDIR}/locks', 'where to put persistent state files' ], -- cgit