Spotted on ms-be2001 running stretch and reported in Debian as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864242
/etc/cron.monthly/acct: couldn't open file '': No such file or directory last: cannot open : No such file or directory
Spotted on ms-be2001 running stretch and reported in Debian as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864242
/etc/cron.monthly/acct: couldn't open file '': No such file or directory last: cannot open : No such file or directory
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
operations/puppet | production | +67 -0 | acct: Add 2 line cron patch to mitigate cronspam | |
operations/puppet | production | +71 -0 | toil: mitigate monthly acct cronspam |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T294906 Puppet Improvements 2021/2022 | |||
Open | jbond | T265138 Work required to prepare for puppet 6 | |||
Open | None | T273673 replace all puppet crons with systemd timers | |||
Open | None | T132324 Tracking and Reducing cron-spam to root@ | |||
Resolved | colewhite | T167035 stretch acct monthly cron will spam when /var/log/wtmp.1 doesn't exist |
FYI This still happens in buster too, the Debian bug is still open.
We've 88 hosts that don't have /var/log/wtmp.1 and they spammed cronspam today.
Change 569532 had a related patch set uploaded (by Jcrespo; owner: Jcrespo):
[operations/puppet@production] acct: Add 2 line cron patch to mitigate cronspam
Change 593750 had a related patch set uploaded (by Cwhite; owner: Cwhite):
[operations/puppet@production] toil: mitigate monthly acct cronspam
Change 593750 merged by Cwhite:
[operations/puppet@production] toil: mitigate monthly acct cronspam
Change 569532 abandoned by Jcrespo:
[operations/puppet@production] acct: Add 2 line cron patch to mitigate cronspam
Reason:
Done with patch: https://gerrit.wikimedia.org/r/c/operations/puppet/+/593750/