infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Created] (INFRA-16286) [mail-private] bugs in
Date Tue, 03 Apr 2018 10:36:00 GMT
Sebb created INFRA-16286:

             Summary: [mail-private] bugs in
                 Key: INFRA-16286
             Project: Infrastructure
          Issue Type: Bug
          Components: Mail Archives
            Reporter: Sebb

The script has various bugs.

1) It uses system("umask ...").
AFAICT that is useless, as the setting only applies to the sub-process.

2) It runs 'chmod -R' on the whole mbox tree each time.
That seems wasteful.

3) There is no protection against running the script concurrently.
It relies on the script completing before the next invocation by cron.
(Currently hourly)

4) If an instance of mbox-util takes too long (currently 3600 seconds = 1hr) it writes a message
to stdout, which is thrown away by the cronjob.
It does not try to stop the process.

This message was sent by Atlassian JIRA

View raw message