Comments (4)
Quick addendum - my 16.04 proc test succeeded, after adding a stop point for the enormous /proc/kcore file since I didn't want to wait forever. You might want to verify that your policy excludes it.
from tripwire-open-source.
Hi Shane, couple of things you can try right away --
-
Your log seems to indicate the init stumbles over something in /proc. If you don't need to scan /proc at all, you can just add a "! /proc ;" line to your policy to exclude it.
-
Alternately you can try an "--init --verbose", which should tell you which file (or /proc pseudo-file, in this case) it's failing on. If you try this a couple of times & it fails consistently on the same object, or same type of object, that would be a clue there's something special about it that we need to deal with. I don't have a 17.04 vm right at hand, but I'll try scanning /proc on 16.04 and see what happens on my end.
-
One other thing that's been known to cause segfaults is the combination of statically linked binaries and remote directory services (NIS, LDAP, AD, etc.). (See issue #11 for a previous example). If that turns out to be the problem, you can either a.) use the RESOLVE_IDS_TO_NAMES=false config file option (introduced in OST 2.4.3.2), or use dynamically linked binaries instead.
from tripwire-open-source.
Hi,
Thanks for the quick response. I cloned the kvm image from prior to my latest apt-get upgrade and ran tripwire across that with no issues. I'm currently cloning the image from post upgrade and will run the verbose against it. At one point I removed /proc and adjusted it to show as below - that also failed. Will keep you advised.
#remove /proc and add the following
/dev/pts -> $(Device) ;
/proc/devices -> $(Device) ;
/proc/net -> $(Device) ;
/proc/tty -> $(Device) ;
/proc/sys -> $(Device) ;
/proc/cpuinfo -> $(Device) ;
/proc/modules -> $(Device) ;
/proc/mounts -> $(Device) ;
/proc/dma -> $(Device) ;
/proc/filesystems -> $(Device) ;
/proc/interrupts -> $(Device) ;
/proc/ioports -> $(Device) ;
/proc/scsi -> $(Device) ;
/proc/kcore -> $(Device) ;
/proc/self -> $(Device) ;
/proc/kmsg -> $(Device) ;
/proc/stat -> $(Device) ;
/proc/loadavg -> $(Device) ;
/proc/uptime -> $(Device) ;
/proc/locks -> $(Device) ;
/proc/meminfo -> $(Device) ;
/proc/misc -> $(Device) ;
from tripwire-open-source.
I'm going to close this enquiry for two reasons:
1 - I cannot reproduce the fault by either cloning the machine pre upgrade and upgrading or post upgrade
2 - I suspect there is an issue in the hostname system. One clone reports back $HOSTNAME as localhost, the other as the servername.tld. etc/hosts and /etc hostname are identical other than 1 char difference between images to make sure no network collisions ( e.g. server01, server02) There was an initial issue with tld file not found yesterday, resolved by rename a file to meet the tld ( localhost-local.key renames)
i am beginning to think there was a corruption in the cloned image as repeating the process from yesterday leaves me no errors.
sorry to bug you - will use the init --verbose options next time. Again thanks for reaching out.
from tripwire-open-source.
Related Issues (20)
- Filename: /usr/local/etc/tw.cfg HOT 5
- Send report by mail HOT 3
- Tripwire Install in Kubernets
- Tripwire Install in Kubernetes HOT 3
- Linux Policy No file detected ...bug?? HOT 3
- Issue with ecryptfs? HOT 4
- Compilation with static libraries fails HOT 5
- Unable to run Tripwire HOT 2
- tripwire --update --accept-all fails with file not found HOT 7
- Tripwire build problem HOT 2
- Modern hash support? HOT 1
- tripwire double HOT 1
- Tripwire reporting multiple errors on system date change HOT 5
- Windows Compilation, HOT 2
- Segmentation fault on Ubuntu 20.10 HOT 25
- Unable to init in FIPS mode HOT 3
- util_SignalHandler could signpost use of RESOLVE_IDS_TO_NAMES=false
- How to filter filenames by pattern/regex
- Malformed Date header in mails depending on systems locale settings
- Thank you!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tripwire-open-source.