[php-maint] Bug#871900: php-common: does not remove cronjob in /etc/cron.d/php when purge remove

Fabri erfabbri at gmail.com
Sat Aug 12 11:28:41 UTC 2017

Package: php-common
Version: 54
Severity: normal

Dear Maintainer,

    * What led up to the situation?
purge removing the php5 and related deps
    * What was the outcome of this action?
error mail coming from Cron because of the php cronjob still active
    * What outcome did you expect instead?
the removal of /etc/cron.d/php

-- System Information:
Debian Release: stretch(raspbian)
Architecture: arm7

i did a purge remove of php5 on raspbian (stretch), and then i started 
receiving error notifications mail from Cron. So i discovered that a 
cronjob was still active in /etc/cron.d/php to check for php sessions; 
and i had to remove it manually.

I took a quick look at php-common_54_all.deb which provide the file 
/etc/cron.d/php, indeed is written in the deb conffiles

But i did not found some removal of the /etc/cron.d/php file in postrm 
or prerm, everything seems related only to the masking of 

More information about the pkg-php-maint mailing list