Public bug reported:

Binary package hint: debianutils

Whenever clamav-freshclam is upgraded cron.daily never completes. The
leads to anacron still running the next day which leads to an email. The
means I have to manually kill cron.daily so that the computer can start
to install unattended upgrades again.

I believe that "run-parts --report" uses pipes to track the output of
its children.

Unfortunately /etc/cron.daily/apt calls /usr/bin/unattended-upgrade which dups 
these pipes and then actually does the upgrades.
This has the consequence of meaning that these pipes are passed onto children - 
so if clamav-freshclam is upgraded then its restarted daemon process still has 
the pipes open and thus the run-parts cannot proceed.

I'm not sure if this actually a is clamav-freshclam problem as it only
closed file descriptors 0, 1 & 2 when going into daemon mode thus
leaving the pipes open.

There may be other daemons when upgraded that have the same problem I
have not checked.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: debianutils 3.2.2
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
Architecture: amd64
Date: Mon Oct 25 15:38:08 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 
(20100419.1)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/tcsh
SourcePackage: debianutils

** Affects: debianutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
"run-parts --report" never completes if clamav-freshclam in upgraded as part of 
/etc/cron.daily/apt
https://bugs.launchpad.net/bugs/666319
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to