Page MenuHomePhabricator

toolforge: cronspam by phpsessionclean
Closed, ResolvedPublic

Description

We received this cronspam from Cron <root@tools-webgrid-lighttpd-1427> [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean:

lsof 4.86
 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
 latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
 latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
 usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s]
 [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
find: invalid argument `-delete' to `-cmin`

Event Timeline

Related to T135861: PHP 5.5 sessionclean cron job hanging on tool labs bastions. I've seen this error pop up before in MediaWiki-Vagrant VMs. I think it happens when a new PHP5 package has been installed and Puppet has not yet replaced the package provided /usr/lib/php5/sessionclean script with the version that we provide via ::toollabs::exec_environ.

Is the timestamp on the cronspam email near this dpkg.log entry?

2018-02-13 06:32:43 upgrade php5:all 5.5.9+dfsg-1ubuntu4.22 5.5.9+dfsg-1ubuntu4.23

In my email is 12/02/18 17:39, which could be, yes (mind TZ)

@aborrero is this task still actionable?

If this is going to happen only in certain circumstances when package upgrades are happening, then it should produce no harm and we can resolve this task.

aborrero claimed this task.