Comments (3)
Since v0.16.2 /dev/null
is supported as output database.
What is the use case for using /dev/null
as input database and what is the difference to just initialize the database with --init
?
from aide.
You get a report as if you had an empty database before. And it's faster than --init.
And, I apologize, 13 years after the original report was filed, I do not remember much of my original use case. There is a possibility that I just thought "heck, it's one line of code, it might be useful for input database as well to be complete and orthogonal".
Greetings
Marc
from aide.
Using /dev/null
as input database currently gives you a warning about missing db_spec
:
mkdir /tmp/test
aide --config /dev/null --before database=file:/dev/null --before database_attrs=E --before root_prefix=/tmp/test --before '/ R' --check
File database must have one db_spec specification
Start timestamp: 2020-12-23 20:58:32 +0100 (AIDE 0.16.1)
AIDE found differences between database and filesystem!!
Root prefix: /tmp/test
Summary:
Total number of entries: 1
Added entries: 1
Removed entries: 0
Changed entries: 0
---------------------------------------------------
Added entries:
---------------------------------------------------
d++++++++++++++++: /
End timestamp: 2020-12-23 20:58:32 +0100 (run time: 0m 0s)
The warning will be removed in the next release of AIDE.
from aide.
Related Issues (20)
- undefined macro AC_MSG_ERROR & AC_DEFINE HOT 1
- handle interruptions
- AIDE rpm not located in RHEL UBI 8 AppStream repo HOT 1
- Remove old and obsolete algorithms in favor of modern HOT 8
- Connecting the application to the payment gateway
- Errors on database initialization with AIDE 0.18.1 on macOS HOT 2
- equals rule processing change with 0.18? HOT 4
- Please add password protection when updating the database HOT 6
- Use lgetxattr and not getxattr in do_md.c
- free(): double free detected in tcache 2 HOT 1
- Please update your gpg key HOT 1
- Unexpected character '@' error when rules start with a macro variable whose value begins with a slash HOT 1
- `/usr/bin/aide --config /var/lib/aide/aide.conf.autogenerated --update` cores under "some circumstance" HOT 3
- AIDE returned with exit code 17. Invalid configuration! HOT 1
- typo in aide.conf man page
- Proper directive for json output? HOT 2
- configure: error: AIDE requires mhash or libcrypt for hashsum calculation HOT 1
- Customising AIDE daily report title HOT 3
- Installing in Termux HOT 1
- Debian 11 Bullseye there more than 4 Virtual DRM-Devices. HOT 1
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 aide.