Package: aptitude
Version: 0.6.3-3.2
Severity: important
Tags: squeeze

I don't know which package is responsible for this bug, the involved
packages are cron-apt, aptitude, rkhunter, debsums and maybe others.
Please reassign this bug if aptitude is the wrong package.

>From time to time (until now 9 times since 14 Dec 2010) aptitude on my
squeeze system (started by cron-apt) hangs in an endless loop executing
at least the commands mentioned in
/etc/apt/apt.conf.d/{70debconf,90debsums,90rkhunter} over and over
again.  The issue leads to a higher load and CPU usage on the affected
system.

I also observed the same problem on my testing/unstable/experimental
system (but only twice on 2011-01-21 and 2011-05-11). aptitude has been
upgraded on 2011-04-18 (aptitude 0.6.3-3.2 -> 0.6.3-4).

The issue occurred also yesterday on the squeeze system and that process
is still running.

The output of pstree for the cron pid:


cron,14803
  └─cron,3369
      └─sh,3375 -c test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt
          └─cron-apt,3379 /usr/sbin/cron-apt
              └─cron-apt,7740 /usr/sbin/cron-apt
                  └─aptitude,7764 -o quiet=1 dist-upgrade -d -y -o 
APT::Get::Show-Upgraded=true
                      ├─aptitude,3152 -o quiet=1 dist-upgrade -d -y -o 
APT::Get::Show-Upgraded=true
                      │   └─sh,3158 -c if [ -x /usr/bin/rkhunter ] && ( ! grep 
-q -E '^DISABLE_TESTS=.*(hashes.*attributes|attributes.*hashes|properties)' 
/etc/rkhunter.conf || grep -q -E 
'^ENABLE_TESTS=.*(hashes|attributes|properties)' /etc/rkhunter.conf); then 
/usr/bin/rkhunter --propupd --nolog; fi
                      │       └─rkhunter,3161 /usr/bin/rkhunter --propupd 
--nolog
                      └─{aptitude},7765.


The processes until pid 7764 and process 7765 are stable while all
childs of 7764 are reexecuted again and again.

Killing 7764 would "solve" the issue and lead to a cron-apt report like
the following:


CRON-APT RUN [/etc/cron-apt/config]: Tue May 31 04:00:02 UTC 2011
CRON-APT SLEEP: 2574, Tue May 31 04:42:56 UTC 2011
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/aptitude dist-upgrade -d -y -o 
APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
…
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
Terminated


Please let me know if I can provide any other information.

I have to kill the looping process until Jun 05 2011, 2000 UTC; so if
you want me to provide any information about the running process ask
before; otherwise you have to wait until the issue occurs again.

Greetings

Hannes



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to