[Pkg-openldap-devel] Bug#395349: Slapd can't create /var/run/slapd.args (should be /var/run/slapd/slapd.args?)

Wilco Baan Hofman wilco at baanhofman.nl
Thu Oct 26 16:23:18 CEST 2006


Package: slapd
Version: 2.3.27-1
Severity: normal

When starting slapd as the user openldap and group openldap it won't
start because it can't create /var/run/slapd.args. 

A fix would be adding the following to /etc/init.d/slapd:
touch /var/run/slapd.args
chown "$SLAPD_USER":"$SLAPD_GROUP" /var/run/slapd.args

slapd deletes this file when quitting..

I propose to move the args file from /var/run/slapd.args to /var/run/slapd/slapd.args.

Regards,

Wilco Baan Hofman


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.13.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages slapd depends on:
ii  adduser                 3.63             Add and remove users and groups
ii  coreutils               5.97-5.1         The GNU core utilities
ii  debconf [debconf-2.0]   1.5.0            Debian configuration management sy
ii  libc6                   2.3.6.ds1-7      GNU C Library: Shared libraries
ii  libdb4.2                4.2.52-18        Berkeley v4.2 Database Libraries [
ii  libiodbc2               3.52.4-3         iODBC Driver Manager
ii  libldap-2.3-0           2.3.27-1         OpenLDAP libraries
ii  libltdl3                1.5.22-4         A system independent dlopen wrappe
ii  libperl5.8              5.8.8-6.1        Shared Perl library
ii  libsasl2                2.1.19.dfsg1-0.5 Authentication abstraction library
ii  libslp1                 1.2.1-6          OpenSLP libraries
ii  libssl0.9.8             0.9.8c-3         SSL shared libraries
ii  libwrap0                7.6.dbs-8        Wietse Venema's TCP wrappers libra
ii  perl [libmime-base64-pe 5.8.8-6.1        Larry Wall's Practical Extraction 
ii  psmisc                  21.5-1           Utilities that use the proc filesy

-- debconf information excluded




More information about the Pkg-openldap-devel mailing list