Bug#396944: running exim4 not found

Marc Haber mh+debian-packages at zugschlus.de
Mon Nov 6 11:26:04 CET 2006


On Mon, Nov 06, 2006 at 02:55:52AM -0700, Bruce Sass wrote:
> root at onegee:~# EX4DEBUG=1 /etc/init.d/exim4 start
> now debugging /etc/init.d/exim4 start
> 2006-11-06 02:36:57 exim 4.63 daemon started: pid=13135, -q30m, listening for SMTP on port 25 (IPv4)
> root at onegee:~# ls -al /var/run/exim4
> total 5
> drwxr-x---  2 Debian-exim Debian-exim   72 Nov  6 02:36 .
> drwxr-xr-x 22 root        root        1048 Nov  5 21:31 ..
> -rw-r--r--  1 root        Debian-exim    6 Nov  6 02:36 exim.pid
> root at onegee:~# cat /var/run/exim4/exim.pid
> 13135

That looks good.

Now, let's see the output of
# EX4DEBUG=1 /etc/init.d/exim4 stop



> root at onegee:~# su "-c cp /etc/exim4/exim4.conf.template /var/run/exim4" Debian-exim
> root at onegee:~# ls -al /var/run/exim4
> total 5
> drwxr-x---  2 Debian-exim Debian-exim   72 Nov  6 02:36 .
> drwxr-xr-x 22 root        root        1048 Nov  5 21:31 ..
> -rw-r--r--  1 root        Debian-exim    6 Nov  6 02:36 exim.pid

You cannot su to Debian-exim since Debian-exim has /bin/false as
shell. Try adding -s /bin/bash to the su call and move the -c out of
the quotes.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-exim4-maintainers mailing list