Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363665 - mail-mta/exim unexpectedly started after logrotate ('restart' should be 'reload' in exim.logrotate )
Summary: mail-mta/exim unexpectedly started after logrotate ('restart' should be 'relo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-15 06:20 UTC by Dmitry A. Bakshaev
Modified: 2011-04-16 16:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix unsuspected exim start (exim_logrotate.patch,292 bytes, patch)
2011-04-15 06:26 UTC, Dmitry A. Bakshaev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry A. Bakshaev 2011-04-15 06:20:17 UTC
exim automatically started after scheduled logrotate action.
on clean install exim started with default config and listen on 0.0.0.0:25.

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/exim stop
2. /usr/sbin/logrotate -vf /etc/logrotate.conf
3. exim started and listen on 0.0.0.0:25
Actual Results:  
ps ax|grep exim
29211 ?        Ss     0:00 /usr/sbin/exim -bd -q15m
netstat -nap|grep :25
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      29211/exim          


Expected Results:  
exim still stopped.
Comment 1 Dmitry A. Bakshaev 2011-04-15 06:23:29 UTC
with default config actual results:

netstat -nap|grep :25
tcp        0      0 0.0.0.0:25            0.0.0.0:*               LISTEN     
29211/exim
Comment 2 Dmitry A. Bakshaev 2011-04-15 06:26:05 UTC
Created attachment 270029 [details, diff]
fix unsuspected exim start
Comment 3 Fabian Groffen gentoo-dev 2011-04-15 07:19:45 UTC
pchrist feel free to commit the fix, it is ok/desirable indeed.  Dmitry thanks for the patch.
Comment 4 Fabian Groffen gentoo-dev 2011-04-16 16:20:32 UTC
committed, thanks!