[exim] Re: Bad file descriptor on logs?

Top Page
Delete this message
Reply to this message
Author: Ian Z via Exim-users
Date:  
To: exim-users
Subject: [exim] Re: Bad file descriptor on logs?
On Mon, Sep 23, 2024 at 09:02:19AM GMT, Marco Gaiarin via Exim-users wrote:

> > exim seems to work properly; seems a problem on log rotation or
> > something like that (AFAIK rotation happens at 6.00, not on
> > midnigt...).


> Uh, oh; no, seems that log rotation was moved to midnight in
> bullseye... some systemd magic?


More information needed:

- what style of logfile naming is in use (just sequence numbers, or
dates, or something else?)

- please share the logrotate.d entry for exim

To exclude any systemd issues, you can:

- remove the debian logrotate.d bit for exim,

- create your own somewhere else, say in /root, and

- run logrotate from a cron job, with explicit arguments pointing to
that config bit and to a separate state file

--
Ian

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/