Package: postfix Version: 2.9.6-2 Severity: minor Tags: patch thanks
Hi, Please consider applying the patch shown below. Without the patch, in the situation described, postfix refuses to start because the runtime user it wants to use is not yet available. This patch also appears to be applicable to the current git master branch, commit 7ce32664f358dd05fe65c7b1a71e86de2fbc016d Kind regards Vince ----------------------------------------------------------------------------- [PATCH] Support the 'postfix' user being defined in NIS On a system where NIS is installed, and the user 'postfix' is defined in NIS, 'adduser' will not create a local 'postfix' user when postfix is installed. In this case, postfix needs to start _after_ NIS. Add 'ypbind' to the Should-* lines of the init script, so that insserv will calculate the desired ordering. --- debian/init.d | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/init.d b/debian/init.d index 838f3c7..c4cfdff 100644 --- a/debian/init.d +++ b/debian/init.d @@ -9,8 +9,8 @@ # 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 +# Should-Start: postgresql mysql clamav-daemon postgrey spamassassin saslauthd dovecot ypbind +# Should-Stop: postgresql mysql clamav-daemon postgrey spamassassin saslauthd dovecot ypbind # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: start and stop the Postfix Mail Transport Agent -- 1.7.2.5 ----------------------------------------------------------------------------- -- System Information: Debian Release: 7.5 APT prefers stable APT policy: (990, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/32 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages postfix depends on: ii adduser 3.113+nmu3 ii cpio 2.11+dfsg-0.1 ii debconf [debconf-2.0] 1.5.49 ii dpkg 1.16.15 ii libc6 2.13-38+deb7u1 ii libdb5.1 5.1.29-5 ii libsasl2-2 2.1.25.dfsg1-6+deb7u1 ii libsqlite3-0 3.7.13-1+deb7u1 ii libssl1.0.0 1.0.1e-2+deb7u11 ii lsb-base 4.1+Debian8+deb7u1 ii netbase 5.0 ii ssl-cert 1.0.32 Versions of packages postfix recommends: ii python 2.7.3-4+deb7u1 Versions of packages postfix suggests: ii bsd-mailx [mail-reader] 8.1.2-0.20111106cvs-1 pn dovecot-common <none> ii libsasl2-modules 2.1.25.dfsg1-6+deb7u1 ii mutt [mail-reader] 1.5.21-6.2+deb7u2 pn postfix-cdb <none> ii postfix-doc 2.9.6-2 pn postfix-ldap <none> pn postfix-mysql <none> ii postfix-pcre 2.9.6-2 pn postfix-pgsql <none> ii procmail 3.22-20 pn resolvconf <none> pn sasl2-bin <none> pn ufw <none> -- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org