Package: postfix
Version: 2.2.8-7
Severity: normal

On my system, /usr is a symbolic link to another partition:

------------------------------------------------------------
% ls -l /usr
lrwxrwxrwx 1 root root 5 Nov 29  2003 /usr -> a/usr
------------------------------------------------------------

As a result, the init script /etc/init.d/postscript fails to
successfully stop the mail sstem.  The offending test starts on line
69:

------------------------------------------------------------
        if [ -f /var/spool/postfix/pid/master.pid ]; then 
            pid=$(sed 's/ //g' /var/spool/postfix/pid/master.pid)
            exe=$(ls -l /proc/$pid/exe 2>/dev/null | sed 's/.* //')
            if [ "X$exe" = "X/usr/lib/postfix/master" ]; then 
                RUNNING=y
            fi      
------------------------------------------------------------

while the corresponding symbolic link points someplace else:

------------------------------------------------------------
% sudo ls -l /proc/23721/exe
lrwxrwxrwx 1 root root 0 Jan 26 00:03 /proc/23721/exe -> 
/a/usr/lib/postfix/master
------------------------------------------------------------

In general, that test seems quite fragile to me.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14y
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages postfix depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.69     Debian configuration management sy
ii  dpkg                          1.13.11.1  package maintenance system for Deb
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  libdb4.3                      4.3.29-3   Berkeley v4.3 Database Libraries [
ii  libsasl2                      2.1.19-1.9 Authentication abstraction library
ii  libssl0.9.8                   0.9.8a-6   SSL shared libraries
ii  lsb-base                      3.0-14     Linux Standard Base 3.0 init scrip
ii  netbase                       4.24       Basic TCP/IP networking system

Versions of packages postfix recommends:
ii  emacs21 [mail-re 21.4a-3                 The GNU Emacs editor
ii  evolution [mail- 2.4.2.1-1               The groupware suite
ii  mailx [mail-read 1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  mozilla-mailnews 2:1.7.12-1              The Mozilla Internet application s
ii  mutt [mail-reade 1.5.11-5                Text-based mailreader supporting M
ii  resolvconf       1.34                    nameserver information handler
ii  xemacs21-gnome-m 21.4.18-3               highly customizable text editor --
ii  xemacs21-mule [m 21.4.18-3               highly customizable text editor --
ii  xemacs21-mule-ca 21.4.18-3               highly customizable text editor --

-- debconf information:
* postfix/mailname: lotus.bostoncoop.net
  postfix/tlsmgr_upgrade_warning:
* postfix/append_dot_mydomain: true
  postfix/relayhost:
* postfix/procmail: true
  postfix/bad_recipient_delimiter:
  postfix/rfc1035_violation: false
* postfix/mynetworks: 127.0.0.0/8
  postfix/protocols: ipv4
* postfix/master_upgrade_warning: true
  postfix/db_upgrade_warning: true
  postfix/dynamicmaps_upgrade_warning:
* postfix/recipient_delim: +
* postfix/main_mailer_type: Internet Site
  postfix/transport_map_warning:
* postfix/chattr: false
* postfix/root_address: dpt
* postfix/destinations: lotus.bostoncoop.net, lotus, localhost.localdomain, 
localhost
  postfix/nqmgr_upgrade_warning:
  postfix/not_configured:
* postfix/mailbox_limit: 0


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

Reply via email to