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

Ondřej Surý ondrej at sury.org
Mon Aug 14 15:30:35 UTC 2017


Fabri,

conffiles are automatically removed by dpkg.

Could you please list all the steps to reproduce the error?

You said that you have removed "php5", but the cronjob is in php-common
package and it has the mechanism to walk through active installed PHP
versions.

Cheers,
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Sat, Aug 12, 2017, at 13:28, Fabri wrote:
> 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 
> phpsessionclean.timer
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



More information about the pkg-php-maint mailing list