[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#134799: marked as done (fcheck: baseline check chokes on empty directories )



Your message dated Mon, 21 Feb 2005 11:02:08 -0500
with message-id <E1D3G0e-0003Eu-00@newraff.debian.org>
and subject line Bug#134799: fixed in fcheck 2.7.59-7
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Feb 2002 05:14:47 +0000
>From olaf@epkowa.co.jp Tue Feb 19 23:14:47 2002
Return-path: <olaf@epkowa.co.jp>
Received: from ekc0.epkowa.co.jp (avasv1.epkowa.co.jp) [211.130.222.226] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16dP5b-0005zg-00; Tue, 19 Feb 2002 23:14:47 -0600
Received: from m0.epkowa.co.jp (m0.epkowa.co.jp [172.16.130.40])
	by avasv1.epkowa.co.jp (8.9.3+3.2W/3.7Wpl2-07/20/01) with SMTP id OAA30955
	for <submit@bugs.debian.org>; Wed, 20 Feb 2002 14:29:00 +0900
Received: from M1.epkowa.co.jp ([172.16.130.41])
 by m0.epkowa.co.jp (NAVGW 2.5.1.16) with SMTP id M2002022014144514744
 for <submit@bugs.debian.org>; Wed, 20 Feb 2002 14:14:45 +0900
Received: from aragorn (aragorn.epkowa.co.jp [172.16.144.82]) by M1.epkowa.co.jp with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id 1QWDDGW8; Wed, 20 Feb 2002 14:11:53 +0900
Received: by aragorn (Postfix, from userid 1000)
	id C06B4D174; Wed, 20 Feb 2002 14:12:09 +0900 (JST)
From: Olaf Meeuwissen <olaf@epkowa.co.jp>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: fcheck: baseline check chokes on empty directories 
X-Debbugs-CC: Olaf Meeuwissen <olaf@epkowa.co.jp>
Message-Id: <20020220051209.C06B4D174@aragorn>
Date: Wed, 20 Feb 2002 14:12:09 +0900 (JST)
Delivered-To: submit@bugs.debian.org

Package: fcheck
Version: 2.7.59-5
Severity: normal
Tags: patch

I included /usr/local/bin and co. in my configuration files for rather
obvious reasons.  These directories exist but don't have any files in
them right now.  Creating the database is no problem, but when running
a baseline check (with the same options as used to create the baseline
database), fcheck bombs out with the following:

  PROGRESS: validating integrity of /usr/local/bin
  STATUS:fcheck: Error: Baseline does not match configuration file on _usr_local_bin
  terminating...

Subsequently commenting the /usr/local stuff in the configuration file
causes the baseline check to succeed normally.

A trudge through the source led to the following patch:

--- /usr/sbin/fcheck	Wed Jul  4 00:12:20 2001
+++ fcheck.patched	Wed Feb 20 14:09:49 2002
@@ -581,7 +581,7 @@
     $Dirname =~ s/\//_/g;
     if ($Verbose) { printf("debug: (GetDirDB) reading \n", $Dirname); }
     %BaseLineData = ();
-    if ((defined($begin{"$Dirname"})) && (defined($end{"$Dirname"})) && ($begin{"$Dirname"} <= $end{"$Dirname"}))
+    if ((defined($begin{"$Dirname"})) && (defined($end{"$Dirname"})))
         {
         for ($index=$begin{"$Dirname"}; $index<$end{"$Dirname"} + 1; $index++)
             {

I've diffed the verbose output from both the original and the patched
versions and found no differences in the output up until the place the
original version bombs out.  Since /usr/local/bin gets processed after
/bin that means that all the same files in /bin get checked in both
versions (just in case you got worried, I did ;-).

-- System Information
Debian Release: 3.0

Versions of the packages fcheck depends on:
ii  bsdutils       2.11n-2        Basic utilities from 4.4BSD-Lite.
ii  file           3.37-3         Determines file type using "magic" numbers

--- Begin /etc/fcheck/fcheck.cfg (heavily truncated conffile)
Directory       = /usr/bin/
Directory	= /usr/local/bin/
--- End /etc/fcheck/fcheck.cfg

---------------------------------------
Received: (at 134799-close) by bugs.debian.org; 21 Feb 2005 16:08:42 +0000
>From katie@ftp-master.debian.org Mon Feb 21 08:08:42 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D3G70-00065O-00; Mon, 21 Feb 2005 08:08:42 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D3G0e-0003Eu-00; Mon, 21 Feb 2005 11:02:08 -0500
From: Maurizio Lemmo (Tannoiser) <tannoiser@tenzione.it>
To: 134799-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#134799: fixed in fcheck 2.7.59-7
Message-Id: <E1D3G0e-0003Eu-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 21 Feb 2005 11:02:08 -0500
Delivered-To: 134799-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 4

Source: fcheck
Source-Version: 2.7.59-7

We believe that the bug you reported is fixed in the latest version of
fcheck, which is due to be installed in the Debian FTP archive:

fcheck_2.7.59-7.diff.gz
  to pool/main/f/fcheck/fcheck_2.7.59-7.diff.gz
fcheck_2.7.59-7.dsc
  to pool/main/f/fcheck/fcheck_2.7.59-7.dsc
fcheck_2.7.59-7_all.deb
  to pool/main/f/fcheck/fcheck_2.7.59-7_all.deb



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 134799@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maurizio Lemmo (Tannoiser) <tannoiser@tenzione.it> (supplier of updated fcheck 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 21 Feb 2005 12:25:36 +0100
Source: fcheck
Binary: fcheck
Architecture: source all
Version: 2.7.59-7
Distribution: unstable
Urgency: low
Maintainer: Maurizio Lemmo (Tannoiser) <tannoiser@tenzione.it>
Changed-By: Maurizio Lemmo (Tannoiser) <tannoiser@tenzione.it>
Description: 
 fcheck     - IDS filesystem baseline integrity checker
Closes: 97591 105556 126943 134799 159478 182847 275035 295348
Changes: 
 fcheck (2.7.59-7) unstable; urgency=low
 .
   * New maintainer (closes: #275035)
   * debian/postinst: rebuild db on upgrade isn't useful or maybe wrong.
     (closes: #295348)
   * Acknowledge NMU. (closes: #105556, #126943, #134799, #97591, #159478)
   * Verify and Acknowledge NMU. (closes: #182847)
Files: 
 39ff8322cda52c6b79a09ddadc0231aa 572 admin optional fcheck_2.7.59-7.dsc
 d0030c5a51877247316b18d8c02833fa 12650 admin optional fcheck_2.7.59-7.diff.gz
 ba495e0cb0c35b67d159d5e1914131d7 33514 admin optional fcheck_2.7.59-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCGgC29LSwzHl+v6sRAkZnAJ9EzNPWco2IQFsw9Thf3nLqi3I23QCePXwn
7YnogpFRONqnorv6ga4e3sA=
=SN5I
-----END PGP SIGNATURE-----



Reply to: