[Pkg-sysvinit-devel] Bug#672838: Bug#672838: sysv-rc: invoke-rc.d postfix start fails to start

Neil Watson debian at watson-wilson.ca
Mon May 14 17:50:21 UTC 2012


On Mon, May 14, 2012 at 01:32:41PM -0300, Henrique de Moraes Holschuh wrote:
>Please give us the results of:
>
>dpkg -s postfix

Package: postfix
Status: install ok installed
Priority: extra
Section: mail
Installed-Size: 3417
Maintainer: LaMont Jones <lamont at debian.org>
Architecture: amd64
Version: 2.9.1-5
Replaces: mail-transport-agent
Provides: mail-transport-agent
Depends: libc6 (>= 2.11), libdb5.1, libsasl2-2 (>= 2.1.24), libsqlite3-0 (>= 3.5.9), libssl1.0.0 (>= 1.0.0), debconf (>= 0.5) | debconf-2.0, netbase, adduser (>= 3.48), dpkg (>= 1.8.3), lsb-base (>= 3.0-6), ssl-cert, cpio
Recommends: python
Suggests: procmail, postfix-mysql, postfix-pgsql, postfix-ldap, postfix-pcre, sasl2-bin, libsasl2-modules, dovecot-common, resolvconf, postfix-cdb, mail-reader, ufw
Conflicts: libnss-db (<< 2.2-3), mail-transport-agent, smail
Conffiles:
  /etc/init.d/postfix 4af3a2532cddca3e6d0bc5f7b4fc2f75
  /etc/ppp/ip-up.d/postfix fccc53fc4eeeab46941ebcc95a71e766
  /etc/ppp/ip-down.d/postfix 52275dc23864f3bfca412c7558e28fe6
  /etc/network/if-up.d/postfix fccc53fc4eeeab46941ebcc95a71e766
  /etc/network/if-down.d/postfix 52275dc23864f3bfca412c7558e28fe6
  /etc/postfix/postfix-files ad34dcc8c31d057f6f20268b0aa16f29
  /etc/postfix/postfix-script 0d01860b2f0778cf41951c801f538b30
  /etc/postfix/post-install 4e9b37279a95246a5fe68afdbbbfd035
  /etc/rsyslog.d/postfix.conf d8a09827fff2a22311e4dd4a83e95c83
  /etc/insserv.conf.d/postfix 7fe2d086ff4822fc9fe13adab1090dce
  /etc/ufw/applications.d/postfix 5c7e746dc9255e750b8f50460de11a32
  /etc/resolvconf/update-libc.d/postfix a0548352443659052ed16d4ae7314506
Description: High-performance mail transport agent
  Postfix is Wietse Venema's mail transport agent that started life as an
  alternative to the widely-used Sendmail program.  Postfix attempts to
  be fast, easy to administer, and secure, while at the same time being
  sendmail compatible enough to not upset existing users. Thus, the outside
  has a sendmail-ish flavor, but the inside is completely different.
Homepage: http://www.postfix.org

>
>/usr/sbin/invoke-rc.d --query postfix start ; echo $?

104

>head -n 30 /etc/init.d/postfix

#!/bin/sh -e

# Start or stop Postfix
#
# LaMont Jones <lamont at debian.org>
# based on sendmail's init.d script

### BEGIN INIT INFO
# Provides:          postfix mail-transport-agent
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
# Required-Stop:     $local_fs $remote_fs $syslog $named $network
# Should-Start:      postgresql mysql clamav-daemon postgrey spamassassin saslauthd dovecot
# Should-Stop:       postgresql mysql clamav-daemon postgrey spamassassin saslauthd dovecot
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start and stop the Postfix Mail Transport Agent
# Description:       postfix is a Mail Transport agent
### END INIT INFO

PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/postfix
NAME=Postfix
TZ=
unset TZ

# Defaults - don't touch, edit /etc/default/postfix
SYNC_CHROOT="y"

test -f /etc/default/postfix && . /etc/default/postfix


>If you call /etc/init.d/postfix start, does it work?

ettin:~# /etc/init.d/postfix start; echo $?
[ ok ] Starting Postfix Mail Transport Agent: postfix.
0


-- 
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca





More information about the Pkg-sysvinit-devel mailing list