[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd logging in chroot() environment
- To: openldap-technical@openldap.org
- Subject: slapd logging in chroot() environment
- From: Peter Palmreuther <pitpalme+openldap@gmail.com>
- Date: Thu, 13 Jan 2011 21:03:03 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=6ANpAFY8NHoBlV3HlcK2QHL9yhxI2QgO2oBTWMsGtpc=; b=bPo7D4MuSEu6T270SRKRxuSg3L6IeEJfe7tZoE8cmWc/xixx1z3yqNQweAFbVB5eFk 7UbYjSTSi1iDxjEvm1z1seRBbghHsZ0oeRcvSMKjZUqv9Z/WwFcOUwue8Lpwo+O6JXXt av71kXMi1SfE1rBP6plS2I7iB2OAzav8THD2c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=biyydm3kkHTCaMRZPce76OeE4o9uuJz6kyL+zqkwDlgHSCtyYK8gpnWABlqvniK7rR cazFWwxpjfce+Is0V7X1HngIEk1t5bsbEonpEa+xAoNtG/JA9OIWxmGLqPJTeUHgEv5E +dO6A6HSTlp3fmwLuno6yru8RMWv6ncaADbuQ=
Hello,
I'm running OpenLDAP 2.4.20 in a chroot()-ed environment on Solaris 10.
I somehow don't get logging working. I don't see any logging making it's way through syslog.
Nor do I get messages to an explicitly configured "logfile".
"loglevel" is set to "stat".
As soon as I start slapd using "-d ..." I see the messages in the "logfile" configured.
Using "truss" I see unsuccessful tries to open "/var/run/syslog_door" until I
mount -F lofs /var/run /var/openldap/var/run
(with "/var/openldap" being my chroot-directory). Unluckily still no syslog logging.
using "pfiles <PID>" I see slapd has got a file handle to "logfile" open.
But there's not "write" to this handle in truss output either.
Anybody with any idea about if and how chroot-slapd and syslog (or logfile) works?
Thanks in advance.
--
Best regards,
Peter