Your message dated Thu, 05 Oct 2023 15:04:12 +0000 with message-id <651ed06c7e7a7_d732a960-1b1@godard.mail> and subject line Bug#1053517 fixed in www.debian.org has caused the Debian Bug report #1053517, regarding find commands became noisy in urlcheck/cleanup.logs cron job 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1053517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053517 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: bugs@debian.org
- Subject: find commands became noisy in urlcheck/cleanup.logs cron job
- From: Laura Arjona Reina <larjona@debian.org>
- Date: Thu, 5 Oct 2023 16:09:40 +0200
- Message-id: <[🔎] 9e3dfd8e-fc08-4944-a0bb-df9948f26754@debian.org>
- In-reply-to: <E1qoO2H-003sFT-Dh@wolkenstein.debian.org>
- References: <E1qoO2H-003sFT-Dh@wolkenstein.debian.org>
Package: www.debian.org Severity: normal User: debian-www@lists.debian.org Usertags: scripts Hello allSince some time (maybe since the www-master machine (wolkenstein) was upgraded to bullseye?) we're receiving (at webmaster@debian.org) daily mails with noisy useless output of the "urlcheck" lessoften job:----- -------- Mensaje reenviado --------Asunto: Cron <debwww@wolkenstein> cd /srv/www.debian.org/cron/urlcheck && ./cleanup.logsFecha: Thu, 05 Oct 2023 13:05:01 +0000 De: Cron Daemon <root@wolkenstein.debian.org> Para: debwww@wolkenstein.debian.org rm: cannot remove 'logs': Is a directory gzip: logs is a directory -- ignored ----- The code producing the output is here: https://salsa.debian.org/webmaster-team/cron/-/blob/master/urlcheck/cleanup.logs Which is just 3 lines, so I copy them here: --- #!/bin/sh find logs -daystart -mtime +7 -exec rm {} \; find logs -daystart -mtime +2 -not -name '*.gz' -exec gzip -9 {} \; ---the "logs" folder is where other cron jobs store files so I guess we should keep it, I'd like just the script to be more silent so we only get mails if there is an actual error.My bash skills are limited, if anybody can help, MR or patches or ideas are welcome. Kind regards, Laura Arjona Reina https://wiki.debian.org/LauraArjona
--- End Message ---
--- Begin Message ---
- To: 1053517-done@bugs.debian.org
- Subject: Bug#1053517 fixed in www.debian.org
- From: Thomas Lange <noreply@salsa.debian.org>
- Date: Thu, 05 Oct 2023 15:04:12 +0000
- Message-id: <651ed06c7e7a7_d732a960-1b1@godard.mail>
Hello, Bug #1053517 in www.debian.org reported by you has been fixed in the Git repository. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/webmaster-team/cron/-/commit/1d738594d77c30eec759fbafece7d5870b74de4f ------------------------------------------------------------------------ only work on files, not directories, Closes: #1053517 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1053517
--- End Message ---