昨天升级到Ubuntu20.10之后,tripwire在其文件系统扫描和我运行tripwire --init时都一直在分段错误。
当我运行tripwire --init --verbose时,我得到以下信息
Open Source Tripwire(R) 2.4.3.7.0 built for x86_64-pc-linux-gnu
Open Source Tripwire 2.4 Portions copyright 2000-2018 Tripwire, Inc. Tripwire is a registered
trademark of Tripwire, Inc. This software comes with ABSOLUTELY NO WARRANTY;
for details use --version. This is free software which may be redistributed
or modified only under certain conditions; see COPYING for details.
All rights reserved.
Opening configuration file: /etc/tripwire/tw.cfg
This file is encrypted.
Opening key file: /etc/tripwire/site.key
Opening key file: /etc/tripwire/xxxxxx-local.key
Please enter your local passphrase:
Opening key file: /etc/tripwire/site.key
Opening policy file: /etc/tripwire/tw.pol
This file is encrypted.
Parsing policy file: /etc/tripwire/tw.pol
Generating the database...
*** Processing Unix File System ***
Processing: /usr/sbin
--- Generating information for: /usr/sbin
Software interrupt forced exit: Segmentation Fault
Segmentation fault (core dumped)我已卸载和重新安装,但没有任何效果。
后续(添加于2020年10月28日):我决定从源代码(可用的这里)构建和安装,并且安装和初始化都很好。
正如普雷斯顿中士常说的,“这个案子已经结案了。”
发布于 2020-10-30 15:10:48
/usr/sbin中的文件或目录权限可能导致这种情况。我在20.04中也遇到了类似的问题,其中有一个400权限的文件导致了这种情况。我只是简单地添加了排除,它在更新我的twpol.cfg之后就能工作了。
https://askubuntu.com/questions/1287421
复制相似问题