Displaying 5 results from an estimated 5 matches for "pkg_statedir".
Did you mean:
dpkg_statedir
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
Sharing an installed copy of dovecot between several users each running
a daemon within their own account (or using the same binaries for a
system daemon and a user daemon) is difficult because the compile-time
directory PKG_STATEDIR (typically /var/lib/dovecot) is hard-coded as the
location of things like the ssl-parameters.dat file and the replicator
database.
Replace all these uses of PKG_STATEDIR with a state_dir setting which
defaults to PKG_STATEDIR but can be overridden in dovecot.conf, in the
same way base_dir can be u...
2009 Jul 13
2
SSL_PARAMETERS_PERM_PATH
Hi,
I am not on this list so please CC me.
Using dovecot-1.2.x it seems we can not configure the location of ssl-
parameters.dat.tmp, it is hard coded to be in PKG_STATEDIR:
./src/master/master-settings.c:
#define SSL_PARAMETERS_PERM_PATH PKG_STATEDIR"/"SSL_PARAMETERS_FILENAME
This can lead to problems when you're running multiple instances on
one machine. Apart from that, it would be very useful if wasn't hard-
coded like that.
Maybe it could be...
2009 Jan 21
1
dovecot 1.1.8 compile error
...from /usr/sfw/include/openssl/ssl.h:951,
from ssl-proxy-openssl.c:21:
/usr/sfw/include/openssl/ssl.h:172: warning: ignoring pragma: "@(#)ssl.h
1.4 05/10/11 SMI
ssl-proxy-openssl.c: In function `ssl_params_corrupted':
ssl-proxy-openssl.c:85: `PKG_STATEDIR' undeclared (first use in this
function)
ssl-proxy-openssl.c:85: (Each undeclared identifier is reported only once
ssl-proxy-openssl.c:85: for each function it appears in.)
ssl-proxy-openssl.c: In function `ssl_info_callback':
ssl-proxy-openssl.c:658: warning: passing arg 1 of `SSL_get_ex_...
2018 May 30
0
use instance-name for syslog?
...DEF(SET_STR, log_path),
DEF(SET_STR, info_log_path),
DEF(SET_STR, debug_log_path),
@@ -52,6 +53,7 @@ static const struct setting_define master_service_setting_defines[] = {
static const struct master_service_settings master_service_default_settings = {
.base_dir = PKG_RUNDIR,
.state_dir = PKG_STATEDIR,
+ .instance_name = PACKAGE,
.log_path = "syslog",
.info_log_path = "",
.debug_log_path = "",
diff --git a/src/lib-master/master-service-settings.h b/src/lib-master/master-service-settings.h
index e5b5ace..d7f1a80 100644
--- a/src/lib-master/master-service-settin...
2018 May 30
3
use instance-name for syslog?
Hello,
When running multiple instances of dovecot on the same host (or running multiple docker container),
it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot"
It is hardcoded here:
https://github.com/dovecot/core/blob/master/src/lib-master/master-service.c#L420
Would it make sense to use the already implemented