Your message dated Fri, 29 Dec 2006 00:58:11 +0100
with message-id <[EMAIL PROTECTED]>
and subject line [pkg-fetchmail-maint] Bug#404740: Log-file is not written,
after it has been rotated (daemon-mode)
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: fetchmail
Version: 6.3.6~rc3-1
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I will try to explain:
fetchmail runs in daemon-mode with the following (relevant) options in
/etc/fetchmailrc:
set logfile /var/log/fetchmail
set no syslog
So let's say, I start fetchmail in daemon mode (user: fetchmail):
/etc/init.d/fetchmail start
Now my /var/log/fetchmail(.1.gz) log at last says:
fetchmail: Mi 27 Dez 2006 20:19:49 CET: schlafe 1800 Sekunden lang
(sleeping at ... for the non-German readers)
Then the file has been rotated and a new /var/log/fetchmail was created.
But fetchmail did not write to the new file. The file stayed empty until
the daemon was restarted, although there were several fetchmail runs
during the log-rotation and the daemon restart.
I observed this issue several times. Please tell me, if you need further
information. I will try to provide them.
Regards, Daniel
- -- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.09060920
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages fetchmail depends on:
ii adduser 3.101 Add and remove users and groups
ii debianutils 2.17.4 Miscellaneous utilities specific t
ii gettext 0.16.1-1 GNU Internationalization utilities
ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries
ii libssl0.9.8 0.9.8c-4 SSL shared libraries
ii lsb-base 3.1-22 Linux Standard Base 3.1 init scrip
Versions of packages fetchmail recommends:
ii ca-certificates 20061027 Common CA Certificates PEM files
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFkvQJm0bx+wiPa4wRAh/QAKC4Qapc35Us7sdSFRmOCwuLxiCeJgCg08Pr
6MhIqTUvEm7SjTyqSyEuOwk=
=C+2V
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Am Donnerstag, den 28.12.2006, 22:48 +0100 schrieb Matthias Andree:
> fetchmail doesn't close its logfile, except if you restart fetchmail.
>
> Presuming it was you and not Debian to configure a logfile, arrange to
> have fetchmail shut down before logfile rotation and started after
> logfile rotation.
Argh. You are so damn right.
> This does not appear to be anything more than a wishlist item.
I simply close this, because fetchmail behaves correctly. If you are
interested in the logrotate file (as example), just give me a sign.
Sorry for the noise and regards,
Daniel
--- End Message ---