Hello,
This is
http://bugs.debian.org/210847 reported by
Oliver Elphick <olly at lfix.co.uk>
On Sun, Sep 14, 2003 at 07:33:44AM +0100, Oliver Elphick wrote:
> Package: exim4
> Version: 4.22-4
> Severity: normal
>
> The -oP option does not create a pid file. Therefore, when running two
> exim4 instances, /etc/init.d/exim4 does not handle the queuerunner properly.
>
> cerberus:/var/spool# ps ax | grep exim
> 14621 ? S 0:00 /usr/sbin/exim4 -bd -C /etc/exim4/exim4.in.conf
> 14623 ? S 0:00 /usr/sbin/exim4 -oP /var/run/exim4/eximqr.pid -q5m
> cerberus:/var/spool# ls /var/run/exim4
> exim.pid
> cerberus:/var/spool# ls -ld /var/run/exim4
> drwxr-x--- 2 mail mail 4096 Sep 14 07:02 /var/run/exim4
I have verified it, -oP seems to be completely ignored, pid_file_path
is _not_ set in the config-file, but we set
PID_FILE_PATH=/var/run/exim4/exim.pid in Local/Makefile (however I'd
think it to be a bug if command-line options did not override
compiletime defaults.), /var/run/exim4/ is 750 mail:mail (our
exim-user.)
Running "/usr/sbin/exim4 -oP /var/run/exim4/exim777.pid -q6h -d" shows
no reference of -oP:
| Exim version 4.22 uid=0 gid=0 pid=13961 D=fbb95cfd
| Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (April 7, 2002)
| Support for: iconv() IPv6 GnuTLS
| Authenticators: cram_md5 plaintext
| Routers: accept dnslookup ipliteral manualroute queryprogram redirect
| Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
| changed uid/gid: forcing real = effective
| uid=0 gid=0 pid=13961
| auxiliary group list: <none>
| configuration file is /var/lib/exim4/config.autogenerated
| log selector = 040d99d8
| trusted user
| admin user
| user name "root" extracted from gecos field "root"
| originator: uid=0 gid=0 login=root name=root
| 13961 pid written to /var/run/exim4/exim.pid
| 13961 changed uid/gid: running as a daemon
[...]
Testing with "-bd -oX 777" instead of "-q6h" does not change anything.
I think this had worked with 4.14, because IIRC I tested it when
writing the init-script.
Please keep the Cc on replies, thanks.
thanks for your work, cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"