[Bug 641271] New: postfix-2.7.1: init script cannot properly stop multi-instance configurations
https://bugzilla.novell.com/show_bug.cgi?id=641271 https://bugzilla.novell.com/show_bug.cgi?id=641271#c0 Summary: postfix-2.7.1: init script cannot properly stop multi-instance configurations Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All OS/Version: SLES 10 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: opensuse-communityscreening@forge.provo.novell.com ReportedBy: bernhard.schmidt@lrz-muenchen.de QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10 We're using Postfix 2.7.1-54.1 from http://download.opensuse.org/repositories/server:/mail/SLE_11/ on SLES 11.1x64 for our mailservers. We need the newer version since we make excessive use of the new multi-instance feature (see http://www.postfix.org/MULTI_INSTANCE_README.html). This package works very well. The only problem is that you cannot stop (and thus restart) postfix when running in a multi-instance environment. This is caused by the way the daemon is stopped. While the start subcommand uses the official way $POSTFIX_BIN start > /dev/null 2>&1 which starts all processes, the stop subcommand specifically kills only the main master process /sbin/killproc -p $PIDFILE -TERM $MASTER_BIN this keeps the other master processes running, which in turn prevents postfix from starting up again. The fix here was to use the normal wrapper to stop it as well $POSTFIX_BIN stop > /dev/null 2>&1 No ill effects have been observed, but you never know. Reproducible: Always Steps to Reproduce: 1. install postfix-2.7.1 from http://download.opensuse.org/repositories/server:/mail/ 2. configure multiple instances using the postmulti wrapper 3. try to restart postfix using the provided initscript Actual Results: After /etc/init.d/postfix stop the additional instances are still running. A subsequent /etc/init.d/postfix start yields an error, since there are already postfix processes running. Expected Results: Stopping stops all processes, start works fine -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641271
https://bugzilla.novell.com/show_bug.cgi?id=641271#c1
--- Comment #1 from Bernhard Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=641271
https://bugzilla.novell.com/show_bug.cgi?id=641271#c
Bernhard Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=641271
https://bugzilla.novell.com/show_bug.cgi?id=641271#c2
--- Comment #2 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=641271
https://bugzilla.novell.com/show_bug.cgi?id=641271#c3
Peter Varkoly
participants (1)
-
bugzilla_noreply@novell.com