[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#459344: closed by Otavio Salvador <otavio@debian.org> (Bug#459344: fixed in apt 0.7.13)



On Fri, 02 May 2008 19:45:05 +0000 Debian Bug Tracking System wrote:

[...]
>    * Make cron script quiet if cache is locked. Thanks to Ted Percival
>      <ted@midg3t.net> for the patch. Closes: #459344

I don't quite agree with the way this patch is supposed to fix the
issue.

If /etc/cron.daily/apt has something to do on the system (because APT
was configured accordingly), then, when the cache cannot be
locked, /etc/cron.daily/apt cannot do its job and it should indeed exit
*with errors* to alert the administrator that something went wrong!

Only if /etc/cron.daily/apt has absolutely nothing to do on the system
(because of APT configuration), it should do absolutely nothing and
exit successfully, without even checking whether the cache can be
locked!



-- 
 http://frx.netsons.org/doc/index.html#nanodocs
 The nano-document series is here!
..................................................... Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4

Attachment: pgpMek667bmOY.pgp
Description: PGP signature


Reply to: