[Bug 265868] Re: mailmanctl reopen does not reopen all log files
Micha Krause
micha at krausam.de
Thu Sep 20 14:39:38 CEST 2012
Please look into it again:
root krausam pts/0 ~ # ls -l /proc/14402/fd
insgesamt 0
dr-x------ 2 list list 0 20. Sep 14:32 .
dr-xr-xr-x 7 list list 0 20. Sep 11:46 ..
lr-x------ 1 list list 64 20. Sep 14:32 0 -> /dev/null
lr-x------ 1 list list 64 20. Sep 14:32 1 -> /dev/null
lr-x------ 1 list list 64 20. Sep 14:32 2 -> /dev/null
lrwx------ 1 list list 64 20. Sep 14:32 3 -> /var/log/mailman/error
lr-x------ 1 list list 64 20. Sep 14:32 4 -> /dev/null
lrwx------ 1 list list 64 20. Sep 14:32 5 -> /var/log/mailman/error
lrwx------ 1 list list 64 20. Sep 14:32 6 -> /var/log/mailman/qrunner
root krausam pts/0 ~ # rm /var/log/mailman/error
root krausam pts/0 ~ # touch /var/log/mailman/error
root krausam pts/0 ~ # /var/lib/mailman/bin/mailmanctl reopen
Wiedereröffnen aller Logdateien
root krausam pts/0 ~ # ls -l /proc/14402/fd
insgesamt 0
dr-x------ 2 list list 0 20. Sep 14:32 .
dr-xr-xr-x 7 list list 0 20. Sep 11:46 ..
lr-x------ 1 list list 64 20. Sep 14:32 0 -> /dev/null
lr-x------ 1 list list 64 20. Sep 14:32 1 -> /dev/null
lr-x------ 1 list list 64 20. Sep 14:32 2 -> /dev/null
lrwx------ 1 list list 64 20. Sep 14:32 3 -> /var/log/mailman/error (deleted)
lr-x------ 1 list list 64 20. Sep 14:32 4 -> /dev/null
lrwx------ 1 list list 64 20. Sep 14:32 5 -> /var/log/mailman/error (deleted)
lrwx------ 1 list list 64 20. Sep 14:32 6 -> /var/log/mailman/qrunner
looking at the code, i can find:
a syslog.close(), but I suspect the error log is logged via LogStdErr()
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/265868
Title:
mailmanctl reopen does not reopen all log files
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/265868/+subscriptions
More information about the Mailman-coders
mailing list