[php-maint] Bug#668597: Bug#668597: php5 creates weird files in /
ulfhermann at kulturserver.de
Fri Apr 13 11:20:14 UTC 2012
> I don't think the PHP is here at fault. I looks like some script is
> calling php (maybe a cron job?) and redirecting output to a random
> files in root directory.
It has an interesting correlation with logrotate as most (but not all)
of the files were created when apache logs were rotated and the
logrotate script indeed reloads the apache config:
root at devs:~# cat /etc/logrotate.d/apache2
create 640 root adm
/etc/init.d/apache2 reload > /dev/null
However, I can't really see why this should spit out random files in / .
All other cron jobs seem unrelated.
More information about the pkg-php-maint