supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Csillag Tamas <cstamas@digitus.itk.ppke.hu>
Subject: Re: supervising postfix
Date: Mon, 1 Nov 2004 22:45:49 +0100	[thread overview]
Message-ID: <20041101214549.GP32116@digitus> (raw)
In-Reply-To: <Pine.LNX.4.44.0410161255440.4200-100000@e-smith.charlieb.ott.istop.com>

First I apologize for a late reply in this thread.

On 10/16, Charlie Brady wrote:
> 
> On Fri, 15 Oct 2004, Vincent Danen wrote:
> 
> > In Annvix, we ship both exim and postfix (exim being preferred... it
> > runs awesome supervised).  The same can't be said of postfix, however.
> 
> You can't expect any help from Postfix's author:
> 
> http://archives.neohapsis.com/archives/postfix/2001-08/1455.html
> 
>  Postfix must be started with the postfix-script shell script that
>  is provided with the Postfix source code. Other startup procedures
>  are not supported. In other words, if you start Postfix in a
>  different manner, then you've broken the Postfix warranty. You do
>  so at your own risk, and I don't care why it breaks. 
> 
I'm read that mail above (the link) and it is all about Solaris' bad setsid
implementation, is not it?
> 
> > $daemon_directory/master 2>&1
> > 
> > 
> > I can't use exec for master because if I do I get this written to my 
> > mail.log:
> > 
> > Oct  9 14:31:46 test postfix/master[1941]: fatal: unable to set session 
> > and process group ID: Operation not permitted
Hmm, interesting... it works for me:

$ cat /service/postfix/run
#!/bin/sh
exec 2>&1
exec /usr/lib/postfix/master

And in the log:
2004-11-01_21:24:00.34350 mail.info: postfix/master[15265]: daemon started -- version 2.2-20040829

That reveals the version I am using, what's yours?

-- 
cstamas


      parent reply	other threads:[~2004-11-01 21:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-16  4:35 Vincent Danen
2004-10-16 19:11 ` Charlie Brady
2004-10-16 19:28   ` Vincent Danen
2004-10-16 20:11     ` Charlie Brady
2004-10-16 23:37       ` Vincent Danen
2004-10-17  1:38         ` Vincent Danen
2004-10-16 20:42   ` Charlie Brady
2004-11-01 21:45   ` Csillag Tamas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041101214549.GP32116@digitus \
    --to=cstamas@digitus.itk.ppke.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).