Package: ipopd
Version: 7:2006j2.dfsg-3
Followup-For: Bug #450665

By default ipopd tries to get lock by itself in usermode (thus 1777) then 
fails and SHOULD fallback to mlock (installed sgid mail and built from the 
same source [*]), but mlock binary (7:2006j2.dfsg-3) is located in /usr/bin 
not /usr/sbin/, where ipopd expects [**]. 

[*] according to FAQ.txt:

  If you absolutely insist upon requiring privileges to create a
  lock file, external file locking can be done via a setgid mail
  program named /etc/mlock (this is defined by LOCKPGM in the
  c-client Makefile). If the toolkit is unable to create a
  <...mailbox...>.lock file in the directory by itself, it will
  try to call mlock to do it. I do not recommend doing this for
  performance reasons.

[**] I guess the relevant bit is: (grep LOCKPGM 1001_shlibs.patch [of 
uw-imap_2006j2.dfsg-3]):

        SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib 
SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private GSSDIR=/usr/kerberos 
LOCKPGM=/usr/sbin/mlock"
+       SPECIALS="GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl 
SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private LOCKPGM=/usr/sbin/mlock"
        SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib 
SSLCERTS=/usr/lib/ssl/certs SSLKEYS=/usr/lib/ssl/private 
GSSINCLUDE=/usr/include GSSLIB=/usr/lib LOCKPGM=/usr/sbin/mlock"
         -DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" > OSCFLAGS

PS. Ie. to actually get locking for 2775 [and silence the warning] one might: 
        1. install mlock and 
        2. ln -s /usr/bin/mlock /usr/sbin/mlock

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23.9-cfs-v24-amd (PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ipopd depends on:
ii  debconf [debconf-2.0] 1.5.17             Debian configuration management sy
ii  libc-client2006j2     7:2006j2.dfsg-3    UW c-client library for mail proto
ii  libc6                 2.7-5              GNU C Library: Shared libraries
ii  libcomerr2            1.40.3-1           common error description library
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii  libpam-runtime        0.99.7.1-5         Runtime support for the PAM librar
ii  libpam0g              0.99.7.1-5         Pluggable Authentication Modules l
ii  libssl0.9.8           0.9.8g-3           SSL shared libraries
ii  openbsd-inetd [inet-s 0.20050402-6       The OpenBSD Internet Superserver
ii  openssl               0.9.8g-3           Secure Socket Layer (SSL) binary a

Versions of packages ipopd recommends:
ii  postfix [mail-transport-agent 2.4.6-3    High-performance mail transport ag

-- debconf information excluded

-- 
Jacek Kawa



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to