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

AIDE installation fails because database doesn't (yet) exist #197

Closed
mark-tomich opened this issue Mar 28, 2024 · 1 comment
Closed

AIDE installation fails because database doesn't (yet) exist #197

mark-tomich opened this issue Mar 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mark-tomich
Copy link
Contributor

mark-tomich commented Mar 28, 2024

Describe the Issue
copy AIDE DB step fails because /var/lib/aide/aide.db.new.gz is not yet created.

TASK [mindpointgroup.rhel9_cis : 1.3.1 | PATCH | Ensure AIDE is installed | Build AIDE DB] ***                                                                                                                 
ok: [<hostname>]                                                                                                                                                                         
                                                                                                                                                                                                           
TASK [mindpointgroup.rhel9_cis : 1.3.1 | PATCH | Ensure AIDE is installed | copy AIDE DB] ***                                                                                                                  
fatal: [<hostname>]: FAILED! => {"changed": false, "msg": "Source /var/lib/aide/aide.db.new.gz not found"}                                                                               

Expected Behavior
Step succeeds.

Actual Behavior
Step fails.

Control(s) Affected
Application of 1.3.1

Environment (please complete the following information):

  • branch being used: 1.0.2
  • Ansible Version: 2.16.3
  • Host Python Version: 3.9.16
  • Ansible Server Python Version: 3.11.8
  • Additional Details:

Additional Notes

Possible Solution
Wait for the file to appear before attempting to copy it.

@mark-tomich mark-tomich added the bug Something isn't working label Mar 28, 2024
@uk-bolly uk-bolly self-assigned this Apr 12, 2024
uk-bolly added a commit that referenced this issue Apr 12, 2024
Signed-off-by: Mark Bolwell <[email protected]>
uk-bolly added a commit that referenced this issue Apr 15, 2024
* Issue #170, PR #181 thanks to @ipruteanu-sie

Signed-off-by: Mark Bolwell <[email protected]>

* issue #182, PR #183 thansk to @ipruteanu-sie

Signed-off-by: Mark Bolwell <[email protected]>

* PR #180 thanks to @ipruteanu-sie and @raabf

Signed-off-by: Mark Bolwell <[email protected]>

* Addressed PR #165 thanks to @ipruteanu-sie

Signed-off-by: Mark Bolwell <[email protected]>

* PT #184 addressed thansk to @ipruteanu-sie

Signed-off-by: Mark Bolwell <[email protected]>

* updated credits

Signed-off-by: Mark Bolwell <[email protected]>

* typo and ssh allow_deny comments

Signed-off-by: Mark Bolwell <[email protected]>

* enable OS check

Signed-off-by: Mark Bolwell <[email protected]>

* PR - #198 addressed thanks to @brakkio86

Signed-off-by: Mark Bolwell <[email protected]>

* Addressed issue #190

Signed-off-by: Mark Bolwell <[email protected]>

* Additional vars for issue #190

Signed-off-by: Mark Bolwell <[email protected]>

* updated pre-commit version

Signed-off-by: Mark Bolwell <[email protected]>

* consistent quotes around mode

Signed-off-by: Mark Bolwell <[email protected]>

* moved audit added discoveries

Signed-off-by: Mark Bolwell <[email protected]>

* removed unneeded vars

Signed-off-by: Mark Bolwell <[email protected]>

* audit moved to prelim

Signed-off-by: Mark Bolwell <[email protected]>

* tidy up

Signed-off-by: Mark Bolwell <[email protected]>

* improved new variable usage

Signed-off-by: Mark Bolwell <[email protected]>

* fixed logic 6.2.10

Signed-off-by: Mark Bolwell <[email protected]>

* updated

Signed-off-by: Mark Bolwell <[email protected]>

* addressed #197 thanks to @mark-tomich

Signed-off-by: Mark Bolwell <[email protected]>

* updates for audit section

Signed-off-by: Mark Bolwell <[email protected]>

* fixed naming

Signed-off-by: Mark Bolwell <[email protected]>

* updated

Signed-off-by: Mark Bolwell <[email protected]>

* added prelim to includes

Signed-off-by: Mark Bolwell <[email protected]>

---------

Signed-off-by: Mark Bolwell <[email protected]>
@uk-bolly
Copy link
Member

hi @mark-tomich

This Issue has been merged to devel and into main branch. I will therefore close this issue.
Please feel free to reopen if you feel its not as expected.

Many thanks again for your time

uk-bolly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants