Justin Pryzby wrote:

| db_upgrade: /var/spool/exim/db/retry.lockfile: unrecognized file type
| db_upgrade: DB->upgrade: /var/spool/exim/db/retry.lockfile: Invalid
| argument
Yes, I know. Oops.

Now, those lockfiles are stale; I seem to recall that there's an
opened bug about that, too.
Is there? I don't recall seeing one. But it was something that I had looked into, and not got very far with. It doesn't happen to everyone (and hadn't happened on the system I tested that version on, obviously, or I'd have realised the bug you report)

A suggested fix might be:

        for fn in /var/spool/exim/db/*; do
                switch "$fn" in
                (*.lockfile)
                        continue;
                        ;;
                (*)
                        db_upgrade;
                        ;;
                esac;
        done;

That's a bit neater than how I was planning to do it, thanks.

By the way, why does the postinst create the /var/{log,run}/exim,
instead of including them in the package?
I can't remember, but I remember doing it, and there was a good reason at the time. It may no longer matter, but I'd rather not change it now.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to