Bug 50685 - not looking in /etc/tripwire for config files
Summary: not looking in /etc/tripwire for config files
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: tripwire
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Florian La Roche
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-02 03:18 UTC by j. alan eldridge
Modified: 2010-04-22 12:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-10 15:30:12 UTC
Embargoed:


Attachments (Terms of Use)
patch against tripwire.spec (436 bytes, patch)
2001-08-06 04:07 UTC, Need Real Name
no flags Details | Diff
patch against $tripwire-srcdir/src/core/platform.h (533 bytes, patch)
2001-08-06 04:09 UTC, Need Real Name
no flags Details | Diff

Description j. alan eldridge 2001-08-02 03:18:19 UTC
Description of Problem:

The file $SRCDIR/src/core/platform.h defines the macro USES_FHS, to 
determine where to look for files. 

The file $SRCDIR/src/core/stdcore.h looks for the macro USE_FHS (not USES) 
to determine where to look for files.

---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<--- 
--- tripwire-2.3.1-2/src/core/stdcore.h.or      Sat Feb 24 14:02:12 2001
+++ tripwire-2.3.1-2/src/core/stdcore.h Wed Aug  1 23:05:40 2001
@@ -48,7 +48,7 @@
 //--Where the configuration file is to be found
 #if IS_BSD
 # define CONFIG_FILE_ROOT      "/usr/local/etc/tripwire"
-#elif defined(USE_FHS)
+#elif USES_FHS
 # define CONFIG_FILE_ROOT      "/etc/tripwire"
 #else
 # undef CONFIG_FILE_ROOT       // Nowhere, just try current directoy
 ---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<---

Comment 1 Need Real Name 2001-08-06 04:05:50 UTC
Just as I was about to make a bug report against the Roswell release, I found
this report. Since I already made patches against the source and the spec file,
I'll attach them here.These are against tripwire-2.3.1-4 from RedHat 7.1.93
(Roswell)

Comment 2 Need Real Name 2001-08-06 04:07:09 UTC
Created attachment 26374 [details]
patch against tripwire.spec

Comment 3 Need Real Name 2001-08-06 04:09:22 UTC
Created attachment 26375 [details]
patch against $tripwire-srcdir/src/core/platform.h

Comment 4 j. alan eldridge 2001-08-06 04:13:00 UTC
Since the docs already reference platform.h's use of USES_FHS, seems like the right 
file to patch is stdcore.h to bring it into line.

Comment 5 Nalin Dahyabhai 2001-08-16 00:24:35 UTC
This should be fixed in 2.3.1-5 and later.  Thanks!

Comment 6 David Lawrence 2006-04-10 15:30:12 UTC
Closing due to inactivity. Please feel free to reopen this bug or refile this
bug against the latest release Fedora Core if you feel this bug is still
relevant today.

Thank you


Note You need to log in before you can comment on or make changes to this bug.