Debian Bug report logs -
#714303
installation hangs indefinitely
Reported by: Raf Czlonka <rafal.czlonka@gmail.com>
Date: Thu, 27 Jun 2013 17:33:02 UTC
Severity: important
Found in version aide/0.16~a2.git20130520-1
Fixed in version aide/0.16~a2.git20130520-2
Done: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#714303; Package aide-common.
(Thu, 27 Jun 2013 17:33:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Raf Czlonka <rafal.czlonka@gmail.com>:
New Bug report received and forwarded. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>.
(Thu, 27 Jun 2013 17:33:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Information forwarded
to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#714303; Package aide-common.
(Mon, 01 Jul 2013 05:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
Extra info received and forwarded to list. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>.
(Mon, 01 Jul 2013 05:24:04 GMT) (full text, mbox, link).
Message #10 received at 714303@bugs.debian.org (full text, mbox, reply):
severity 714303 important
tags 714303 pending
thanks
Hi,
thanks for your bug report and testing the experimental package.
On Thu, Jun 27, 2013 at 06:30:23PM +0100, Raf Czlonka wrote:
> 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 is caused by a grave bug in the ucf package (#709567 [0]).
> 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.
Bug #683877 has a workaround how to fully reinstall the package.
> 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
This is caused by line 23 of 31_aide_apt. Due to the missing
10_aide_sourceslist file the 'cat' command is called without an argument and
therefore waits for input. I fixed that in git (0c9ca6e [1]).
> 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?
This is how ucf works (see the man page of ucf(1) for more details).
Best regards
Hannes
[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709567
[1] http://anonscm.debian.org/gitweb/?p=pkg-aide/aide.git;a=commit;h=0c9ca6e
Severity set to 'important' from 'grave'
Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com>
to control@bugs.debian.org.
(Mon, 01 Jul 2013 05:24:07 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com>
to control@bugs.debian.org.
(Mon, 01 Jul 2013 05:24:08 GMT) (full text, mbox, link).
Reply sent
to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
You have taken responsibility.
(Mon, 16 Dec 2013 21:21:13 GMT) (full text, mbox, link).
Notification sent
to Raf Czlonka <rafal.czlonka@gmail.com>:
Bug acknowledged by developer.
(Mon, 16 Dec 2013 21:21:13 GMT) (full text, mbox, link).
Message #19 received at 714303-close@bugs.debian.org (full text, mbox, reply):
Source: aide
Source-Version: 0.16~a2.git20130520-2
We believe that the bug you reported is fixed in the latest version of
aide, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 714303@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hannes von Haugwitz <hannes@vonhaugwitz.com> (supplier of updated aide package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 16 Dec 2013 07:28:23 +0100
Source: aide
Binary: aide aide-xen aide-dynamic aide-common
Architecture: source amd64 all
Version: 0.16~a2.git20130520-2
Distribution: unstable
Urgency: low
Maintainer: Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>
Changed-By: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Description:
aide - Advanced Intrusion Detection Environment - static binary
aide-common - Advanced Intrusion Detection Environment - Common files
aide-dynamic - Advanced Intrusion Detection Environment - dynamic binary
aide-xen - Advanced Intrusion Detection Environment - static binary for XEN
Closes: 641810 706740 714303 717396 724480
Changes:
aide (0.16~a2.git20130520-2) unstable; urgency=low
.
* 31_aide_apt, 31_aide_apt-file:
- fixed infinite hang if $SOURCESLIST is empty (closes: #714303)
* debian/watch:
- adjusted uversionmangle to match new upstream versioning scheme
* 31_aide_tt-rss: new
- handle log files, thanks to Frederik Himpe (closes: #724480)
* 31_aide_clamav-data:
- removed rules (clamav-data has been removed from Debian)
* cron.daily/aide, default/aide:
- added CRON_DAILY_RUN option (default: yes)
* debian/rules:
- fixed Built-Using field on hurd, ia64 and kfreebsd (closes: #717396)
* debian/control:
- bumped to Standards-Version 3.9.5 (no changes necessary)
.
aide (0.16~a2.git20130520-1) experimental; urgency=low
.
[ Hannes von Haugwitz ]
* new upstream git snapshot, changes include:
- new options: root_prefix, database_attrs,
report_detailed_init, report_base16
- many changes of report layout
* debian/control:
- removed obsolete DM-Upload-Allowed field
- bumped to Standards-Version 3.9.4
- drop obsolete Breaks/Replaces
* cron.daily/aide:
- fixed permission of log file at first run (closes: #706740)
- replaced "files" by "entries"
- removed 'database characteristics' part (incorporated upstream)
- adapted TRUNCATEDETAILS feature
- use /run/aide instead of /var/run/aide
- adjusted error message if database does not exist (closes: #641810)
* debian/patches/:
- removed patches applied upstream:
05-configure_32-bit_lfs_fix.patch
06-conf_yacc.y_conftext_declaration_fix.patch
07-db_file.c_missing_format_string_fix.patch
- adapted 10-manpages.patch
* aide.conf:
- added database_attrs option (default: Checksums)
- added report_base16 option (default: no)
- added verbose option (default: 6)
- removed X group (incorporated upstream)
* 31_aide_rsnapshot: new
- handle log files
* 31_aide_btmp: new
- handle log files
* 31_aide_wtmp:
- adjusted handling of log files
* 31_aide_apt:
- fixed handling of log files
- handle /var/log/apt
- escape dot character in urls
* 31_aide_dpkg:
- fixed handling of log files
* 31_aide_ifupdown:
- replaced obsolete script with native aide rule
* debian/copyright:
- migrated to DEP-5 format
* Added Built-Using field to aide and aide-xen binary package
* Removed handling of obsolete /usr/lib/aide directory
* 31_aide_apt-file:
- escape dot character in urls
* 31_aide_samba:
- adjusted rule for /@@{RUN}/samba/notify_onelevel.tdb
* debian/README.source: removed (dpatch no longer used)
* aide-common.postinst:
- don't create aide directory in /var/run
- removed check for aide binary in /usr/bin
* aide-common.postrm:
- try to remove /run/aide instead of /var/run/aide
- don't try to remove /var/lib/aide
.
[ Marc Haber ]
* cron.daily/aide:
- use savelog only if present
- bail if aide is not found in /usr/[s]?bin/
- fix a typo in a comment
- call mail(1) without full path
- exit with return code 0 if we reach the end of things
* 10_aide_constants: new
- added IP4ADDRESS and IP6ADDRESS macros
* Allow aide binary in /usr/sbin as well
* Added SILENTREPORTS option
* Added CRONEXITHOOK option
* Make update-aide.conf more flexible
Checksums-Sha1:
8a1d7ce7289f215a0b4a9be0d527acdd36e2deb1 2190 aide_0.16~a2.git20130520-2.dsc
1d407f38fceb024f671df62806c54a6752dc4c5e 81624 aide_0.16~a2.git20130520-2.debian.tar.gz
5aa062e21aaaf3d1250ffe41239faaecd2896c57 568462 aide_0.16~a2.git20130520-2_amd64.deb
91da00a77319df105b41aacaf5026434cecb3105 568456 aide-xen_0.16~a2.git20130520-2_amd64.deb
584ef32c2dddfffd4e85059bacb63812d8447436 113932 aide-dynamic_0.16~a2.git20130520-2_amd64.deb
cdfe4647b19eb81956ffdfd77bcb1aea377a3f1a 97658 aide-common_0.16~a2.git20130520-2_all.deb
Checksums-Sha256:
695a0e4bc06efd7967d55cc701202f325c4775477b73f76cf8398d6da30dd940 2190 aide_0.16~a2.git20130520-2.dsc
172f735a47bdf43cab48a699ea67b9a6f42a49818101646bd1bfd9eab6e9e13c 81624 aide_0.16~a2.git20130520-2.debian.tar.gz
937c233579bfcaaad8928043ba40e67573b063a4d3551120da7f7b9910c7aff6 568462 aide_0.16~a2.git20130520-2_amd64.deb
d42b8261417fbdcb4a57084050033b8035cab2a1606f1689088d76625cf49093 568456 aide-xen_0.16~a2.git20130520-2_amd64.deb
19d5b51fe4061d9f3a95cedc6cc5e7f732aa0d8a8e8d8c9406d62d1e0bce217c 113932 aide-dynamic_0.16~a2.git20130520-2_amd64.deb
42c27ac87b7f18a9f90fb17f3f2e2ddb53d8ab5a40661e66a27a1c5a7346cf37 97658 aide-common_0.16~a2.git20130520-2_all.deb
Files:
c56a2b950e885821a822b8223ea17ac9 2190 admin optional aide_0.16~a2.git20130520-2.dsc
64acbcf35cc3b8861c7a7237f6dfb24c 81624 admin optional aide_0.16~a2.git20130520-2.debian.tar.gz
809341be7e31955361b0ce9da6ce3934 568462 admin optional aide_0.16~a2.git20130520-2_amd64.deb
75df40fdbee3d9b9e71c4fc4043ede80 568456 admin extra aide-xen_0.16~a2.git20130520-2_amd64.deb
eb2db12e43c5d285b4b3cf3b57bdf647 113932 admin extra aide-dynamic_0.16~a2.git20130520-2_amd64.deb
ed27451be600bc0c724f2ba4e907d7e1 97658 admin optional aide-common_0.16~a2.git20130520-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQGcBAEBCAAGBQJSr1KPAAoJEBjuhjhgIu9XBrkL/jRCwCw8Hj+eIcBe58w6SWFE
nVzJw6enTiCN8ggjPnwNkcRWeaXI0yB1T20/QUS2pvElMCkEzm5iUnrdp3LSDq6e
ZlrwI0QLqsRPCm1DT46bbetp3oAuM1nZWshrD72dBZw/XjkfepAzlACoIGpnYiBf
lQNEg3H7mQuiOK8GQSrpEdD+es3/UphpbDRc803F7loqfb2nGhkNYuETuOkhppad
SDufcYte0BLvRFiQqWFM03CobfikHeORIWUayHjBkzvYNCWs3cMF8Ea8pP4nQXZt
eIOiR0tnBF4iwbNYSXxp2F3zPazxUtO7Iqwt08cuKJpJUtP5udyxPtTR3lmRF22z
JIGgEOaM0+Ww27uVgyUQSYEPRxxcP3lkfOz6LURyeRkFGDzXjl8VONvl9/x1fr9u
v89OZnUrzRteaBDg6OatK1xbVEaz1aCqkTTfQXx2GYOZ13oabkIql91o6k17FmCL
hCc2ymd6U7iwNkX/meVzw25gjXsoKTVJ74nDng3W7Q==
=IOkI
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 14 Jan 2014 07:25:48 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 08:42:39 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.