When command line option which corresponds to a file is set to a directory - tripwire crashes. tripwire -c /tmp/ Segmentation fault (core dumped) tripwire -d /tmp/ Segmentation fault (core dumped) non-existent files are OK, it does not crash, it just prints error message. tripwire -c /tmp/ggggg couldn't open /tmp/ggggg: No such file or directory
i can't reproduce this problem. tripwire -d /tmp/ Unknown mode specified: -d Use --help to get help. i don't see Segmentation fault (core dumped)
tripwite from PowerTools Beta Clean install of RedHat 7.0 beta and tripwiate form powertools afterward tripwire -version Tripwire version 1.2 (patchlevel 2) Copyright (c) 1992, 1993, 1994 Purdue Research Foundation By Gene Kim, Eugene Spafford [root@clienthost /root]# rpm -q tripwire tripwire-1.2-10 tripwire -c /tmp/ Segmentation fault (core dumped) tripwire --help usage: tripwire [ options ... ] Where `options' are: -initialize Database Generation mode -init -update entry update entry (a file, directory, or tw.config entry) in the database -interactive Integrity Checking mode with Interactive entry updating -loosedir use looser checking rules for directories -d dbasefile read in database from dbasefile (use `-d -' to read from stdin) -c configfile read in config file from configfile (use `-c -' to read from stdin) -cfd fd read in config file from specified fd -dfd fd read in the database file from specified fd -Dvar=value define a tw.config variable (ala @@define) -Uvar undefine a tw.config variable (ala @@undef) -i #|all ignore the specified signature (to reduce execution time) -q quiet mode -v verbose mode -preprocess print out preprocessed configuration file -E -help print out interpretation help message -version print version and patch information You may use different version of tripwire. ls -l /usr/sbin/tripwire -rwx------ 1 root root 434664 Jul 24 22:45 /usr/sbin/tripwire
tripwire-1.2-10 is obsoletes was removed from powertools. We have the new tripwire-2.3 in RC1. It does't have this problem