Subject: tripwire
To: None <current-users@netbsd.org>
From: Scott Aaron Bamford <sab@zeekuschrist.com>
List: current-users
Date: 03/01/2000 23:47:06
Has anyone got tripwire to work on -current/i386 (1.4T)?

I can build it succesfully from pkgsrc; but it segfaults when running:
root@blip:local/etc/tripwire# /usr/local/sbin/tripwire -initialize
### Phase 1:   Reading configuration file
### Phase 2:   Generating file list
/usr/local/sbin/tripwire: /root/.rhosts: No such file or directory
/usr/local/sbin/tripwire: /root/.exrc: No such file or directory
/usr/local/sbin/tripwire: /root/.logout: No such file or directory
/usr/local/sbin/tripwire: /root/.emacs: No such file or directory
/usr/local/sbin/tripwire: /root/.forward: No such file or directory
/usr/local/sbin/tripwire: /root/.netrc: No such file or directory
zsh: segmentation fault (core dumped)  /usr/local/sbin/tripwire
-initialize

( note : touching the missing files and/or removing them from the config
  does not solve the problem )

gdb gives the following:
(gdb) where
#0  0x480ce95a in strcmp ()
#1  0x480cdb6f in _alphasort ()
#2  0x480cf141 in mergesort ()
#3  0x480ceeb7 in mergesort ()
#4  0x480cea5c in mergesort ()
#5  0x480ce706 in __opendir2 ()
#6  0x480ce31a in opendir ()
#7  0x8049cd7 in configfile_descend ()
#8  0x8049dc3 in configfile_descend ()
#9  0x8049dc3 in configfile_descend ()
#10 0x8049a17 in configfile_read ()
#11 0x804aa44 in main ()
#12 0x8049191 in ___start ()


if i go into the working directory and do a `make test' sometimes the
tests all work fine, and sometimes i get an error message (which i am
unable to reproduce at the moment, which is just typical (; )
but its one of the tests returning 8 instead of 0 (or 0 instead of 8). Im
really sorrie that i cannot give more exact details there, it seems to not
want to fail on me now!

Any help, advise or pointers will be [very] greatfuly recived. Thanks in
advance.

--------------------------------------
sab@zeekuschrist.com  |  sab@ansic.net