Control: severity -1 normal Control: tags -1 + moreinfo Le jeudi 16 août 2018 à 12:20:46+0530, Abhijith PA a écrit : > Package: mailman3 > Version: 3.1.1-10 > Severity: important > > > Hello, > > My mailman3 instance is restarting everyday at exact time. Please see > below log. > > Aug 15 06:25:06 2018 (719) Master watcher caught SIGHUP. Re-opening log > files. > Aug 16 06:25:07 2018 (719) Master watcher caught SIGHUP. Re-opening log > files. > > I feel like it is similar to > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505638
Hi Abhijith,
Thanks for your report.
First, a SIGHUP is not a restart. Do you have any intel that suggests your
instance is actually restarted?
Also, have a look at `/etc/logrotate.d/mailman3`
```
/var/log/mailman3/mailman.log {
daily
rotate 5
compress
delaycompress
missingok
notifempty
create 640 list list
postrotate
if /etc/init.d/mailman3 status >/dev/null; then \
/usr/bin/mailman reopen >/dev/null; \
fi;
endscript
}
```
The postrotate part calls "reopen" if mailman3 is running. reopen is a
control command that sends sighup to the master process, hence the log line.
See `/usr/lib/python3/dist-packages/mailman/commands/cli_control.py` for more
intel.
Can you provide me with more information? So far it seems that your bug
isn't one.
Best regards,
--
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.
signature.asc
Description: PGP signature

