[Pkg-aide-maintainers] Bug#714303: installation hangs indefinitely
Raf Czlonka
rafal.czlonka at gmail.com
Thu Jun 27 17:30:23 UTC 2013
Package: aide-common
Version: 0.16~a2.git20130520-1
Severity: grave
Hi,
In order to make sure that the bug #641810 has indeed been fixed, I
removed '/etc/aide' directory and all its content as 'aide-common' does
not clean up after itself on 'purge'.
This has already been reported nearly a year ago in a bug #683877, to
which the error message below, seems to be related to. The latter bug
needs its severity increased to 'important' at the very least, BTW, as
it prevent one from fully reinstalling the package in question.
After dozens of:
Not replacing deleted config file /etc/aide/aide.conf.d/...
Package installation hangs indefinitely after:
/etc/aide/aide.conf.d/31_aide_apt: line 3: /etc/aide/aide.settings.d/10_aide_sourceslist: No such file or directory
Processes which are running and are related to the package:
% ps auwx|grep aide
root 8710 0.0 0.9 17492 13976 pts/4 Ss+ 16:30 0:00 /usr/bin/dpkg --status-fd 45 --configure aide:powerpc aide-common:all
root 8711 0.4 0.8 19016 13712 pts/4 S+ 16:31 0:06 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/aide-common.postinst configure
root 8718 0.0 0.0 2128 656 pts/4 S+ 16:31 0:00 /bin/sh /var/lib/dpkg/info/aide-common.postinst configure
root 17256 0.0 0.0 4720 1520 pts/4 S+ 16:33 0:00 /bin/bash /usr/sbin/update-aide.conf
root 17260 0.0 0.0 4720 920 pts/4 S+ 16:33 0:00 /bin/bash /usr/sbin/update-aide.conf
root 17261 0.0 0.0 4720 648 pts/4 S+ 16:33 0:00 /bin/bash /usr/sbin/update-aide.conf
root 17275 0.0 0.0 4712 1496 pts/4 S+ 16:33 0:00 /bin/bash /etc/aide/aide.conf.d/31_aide_apt
root 17278 0.0 0.0 4712 504 pts/4 S+ 16:33 0:00 /bin/bash /etc/aide/aide.conf.d/31_aide_apt
The fix was quite simple:
% cd /usr/share/aide/config/aide && \
for i in aide.conf aide.conf.d/* aide.settings.d/* ; \
do sudo ucf --purge /etc/aide/$i ; done
It is, however, unacceptable as a solution to both #683877 and, in turn,
this bug.
In order to resolve this one, bug #683877 needs to be fixed first.
Thank you for your work on AIDE packages.
Kind regards,
Raf
P.S. What is the benefit of having all the configuration under
'/usr/share/aide/config/aide' and then all of it copied *again* to
'/etc/aide'? Wouldn't it be easier to install all of the files directly
to '/etc/aide' in the first place?
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (999, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aide-common depends on:
iu aide 0.16~a2.git20130520-1
ii bsd-mailx [mailx] 8.1.2-0.20111106cvs-1
ii cdebconf [debconf-2.0] 0.182
ii debconf [debconf-2.0] 1.5.50
ii initscripts 2.88dsf-41
ii liblockfile1 1.09-6
ii mailutils [mailx] 1:2.99.97-3
ii ucf 3.0027
Versions of packages aide-common recommends:
ii cron 3.0pl1-124
aide-common suggests no packages.
-- debconf information:
* aide/aideinit: true
aideinit/overwritenew: true
* aideinit/copynew: true
More information about the Pkg-aide-maintainers
mailing list