Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feature) Avoids AIDE installation waiting eternally for input #44

Merged
merged 2 commits into from
Mar 9, 2021

Conversation

jvleminc
Copy link
Collaborator

@jvleminc jvleminc commented Mar 8, 2021

  • Added options so that the execution doesn't get stuck on questions:
Overwrite existing /var/lib/aide/aide.db.new [Yn]? Y
Overwrite /var/lib/aide/aide.db [yN]? y
  • Also added exclusion of directory "/var/lib/lxcfs/cgroup/"; it throws a lot of errors during the checks, example:
do_md(): open() for /var/lib/lxcfs/cgroup/memory/system.slice/systemd-modules-load.service/memory.pressure_level failed: Permission denied

Finally, I am not sure why the following task is needed:

    - name: Configure AIDE as appropriate for your environment | aideinit db
      shell: |
        mv /var/lib/aide/aide.db.new /var/lib/aide/aide.db

@alivx alivx merged commit 87b7427 into master Mar 9, 2021
@alivx alivx deleted the feature/1.4.1_AlwaysOverwrite branch November 25, 2021 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants