Debian Bug report logs - #683877
aide: Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_sudo ...

version graph

Package: aide; Maintainer for aide is Aide Maintainers <aide@packages.debian.org>; Source for aide is src:aide (PTS, buildd, popcon).

Reported by: Bill Wohler <wohler@newt.com>

Date: Sun, 5 Aug 2012 02:24:02 UTC

Severity: normal

Found in version aide/0.15.1-2

Done: Marc Haber <mh+debian-packages@zugschlus.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#683877; Package aide. (Sun, 05 Aug 2012 02:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Bill Wohler <wohler@newt.com>:
New Bug report received and forwarded. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Sun, 05 Aug 2012 02:24:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Bill Wohler <wohler@newt.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: aide: Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_sudo ...
Date: Sat, 04 Aug 2012 19:21:21 -0700
Package: aide
Version: 0.15.1-2
Severity: normal

I accidentally removed my aide.conf.d directory.

I thought that an "aptitude reinstall aide" would restore the directory.
Nope. I thought that "aptitude purge aide; aptitude install aide" would
do the trick. Nope. At least that time, I got the messages:

    Setting up aide-common (0.15.1-2+squeeze1) ...
    Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_sudo
    Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_apt-file
    Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_tetex-bin
    Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_alsa
    ...

A little Googling reveals that this is likely a problem in the aide
purge routine. Please refer to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444076.

After running ucf --purge on all of the files in /etc/aide/aide.conf.d,
an aptitude purge aide; aptitude install aide resulted in the following
output:

    Setting up aide-common (0.15.1-2+squeeze1) ...
    Creating config file /etc/aide/aide.conf.d/31_aide_sudo with new version
    Creating config file /etc/aide/aide.conf.d/31_aide_apt-file with new version
    Creating config file /etc/aide/aide.conf.d/31_aide_tetex-bin with new version
    Creating config file /etc/aide/aide.conf.d/31_aide_alsa with new version
    ...

Another web page
(http://mhalligan.com/not-replacing-deleted-config-file-or-why-the)
indicates that

    aptitude -o DPkg::Options="--force-confmiss" reinstall aide

would have worked too.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (600, 'stable'), (500, 'stable-updates'), (90, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Bill Wohler <wohler@newt.com> aka <Bill.Wohler@nasa.gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD



Reply sent to Marc Haber <mh+debian-packages@zugschlus.de>:
You have taken responsibility. (Sat, 21 Oct 2017 10:39:13 GMT) (full text, mbox, link).


Notification sent to Bill Wohler <wohler@newt.com>:
Bug acknowledged by developer. (Sat, 21 Oct 2017 10:39:13 GMT) (full text, mbox, link).


Message #10 received at 683877-done@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-packages@zugschlus.de>
To: 683877-done@bugs.debian.org, 683877-submitter@bugs.debian.org
Subject: Re: Bug#683877: aide: Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_sudo ...
Date: Sat, 21 Oct 2017 12:37:26 +0200
On Sat, Aug 04, 2012 at 07:21:21PM -0700, Bill Wohler wrote:
> I thought that an "aptitude reinstall aide" would restore the directory.
> Nope. I thought that "aptitude purge aide; aptitude install aide" would
> do the trick. Nope. At least that time, I got the messages:
> 
>     Setting up aide-common (0.15.1-2+squeeze1) ...
>     Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_sudo
>     Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_apt-file
>     Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_tetex-bin
>     Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_alsa
>     ...

try purging and installing aide-common, the ucf-conffiles are part of
aide-common. I have verified that:

[21/837]mh@testsid85:~ $ sudo apt install aide aide-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  aide aide-common
0 upgraded, 2 newly installed, 0 to remove and 13 not upgraded.
Need to get 836 kB of archives.
After this operation, 2.416 kB of additional disk space will be used.
Get:1 http://debian.debian.zugschlus.de//debian sid/main amd64 aide amd64 0.16-1+b3 [737 kB]
Get:2 http://debian.debian.zugschlus.de//debian sid/main amd64 aide-common all 0.16-1 [99,6 kB]
Fetched 836 kB in 0s (2.170 kB/s)      
Preconfiguring packages ...
Selecting previously unselected package aide.
(Reading database ... 34703 files and directories currently installed.)
Preparing to unpack .../aide_0.16-1+b3_amd64.deb ...
Unpacking aide (0.16-1+b3) ...
Selecting previously unselected package aide-common.
Preparing to unpack .../aide-common_0.16-1_all.deb ...
Unpacking aide-common (0.16-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up aide (0.16-1+b3) ...
Setting up aide-common (0.16-1) ...

Creating config file /etc/default/aide with new version

<snip>

Creating config file /etc/aide/aide.conf with new version
[22/838]mh@testsid85:~ $ find /etc/aide/aide.conf.d | wc -l
154
[23/839]mh@testsid85:~ $ sudo rm -rf /etc/aide/aide.conf.d
[24/840]mh@testsid85:~ $ find /etc/aide/aide.conf.d | wc -l
find: ‘/etc/aide/aide.conf.d’: No such file or directory
0
[25/841]mh@testsid85:~ $ sudo apt purge aide-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  aide-common*
0 upgraded, 0 newly installed, 1 to remove and 13 not upgraded.
After this operation, 366 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 34907 files and directories currently installed.)
Removing aide-common (0.16-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
(Reading database ... 34715 files and directories currently installed.)
Purging configuration files for aide-common (0.16-1) ...
[26/842]mh@testsid85:~ $ sudo apt install aide-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  aide-common
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 99,6 kB of archives.
After this operation, 366 kB of additional disk space will be used.
Get:1 http://debian.debian.zugschlus.de//debian sid/main amd64 aide-common all 0.16-1 [99,6 kB]
Fetched 99,6 kB in 0s (2.626 kB/s)     
Preconfiguring packages ...
Selecting previously unselected package aide-common.
(Reading database ... 34713 files and directories currently installed.)
Preparing to unpack .../aide-common_0.16-1_all.deb ...
Unpacking aide-common (0.16-1) ...
Setting up aide-common (0.16-1) ...

Creating config file /etc/default/aide with new version

<snip>

Creating config file /etc/aide/aide.conf with new version
Processing triggers for man-db (2.7.6.1-2) ...
[27/843]mh@testsid85:~ $ find /etc/aide/aide.conf.d | wc -l
154
[28/844]mh@testsid85:~ $

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



Message sent on to Bill Wohler <wohler@newt.com>:
Bug#683877. (Sat, 21 Oct 2017 10:39:14 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 19 Nov 2017 07:28:46 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:52:34 2023; Machine Name: buxtehude

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.