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

Adding /var/run/wazuh-indexer to the list of ignored files #339

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

f-galland
Copy link
Member

Description

This PR adds /var/run/wazuh-indexer to the list of ignored files when building RPM packages.

Issues Resolved

fixes #335

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@f-galland f-galland self-assigned this Jul 31, 2024
@f-galland f-galland linked an issue Jul 31, 2024 that may be closed by this pull request
@f-galland
Copy link
Member Author

Packages can now be removed without warnings on /var/run/wazuh-indexer:

[root@uninstall-warning ~]# yum remove wazuh-indexer -y
Dependencies resolved.
===================================================================================================================================================
 Package                               Architecture                   Version                          Repository                             Size
===================================================================================================================================================
Removing:
 wazuh-indexer                         x86_64                         4.9.0-0                          @@commandline                         1.0 G

Transaction Summary
===================================================================================================================================================
Remove  1 Package

Freed space: 1.0 G
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                           1/1 
  Running scriptlet: wazuh-indexer-4.9.0-0.x86_64                                                                                              1/1 
  Erasing          : wazuh-indexer-4.9.0-0.x86_64                                                                                              1/1 
  Verifying        : wazuh-indexer-4.9.0-0.x86_64                                                                                              1/1 

Removed:
  wazuh-indexer-4.9.0-0.x86_64                                                                                                                     

Complete!

@f-galland f-galland marked this pull request as ready for review July 31, 2024 17:31
@f-galland f-galland requested a review from a team as a code owner July 31, 2024 17:31
@AlexRuiz7 AlexRuiz7 merged commit df243d7 into 4.9.0 Aug 2, 2024
9 checks passed
@AlexRuiz7 AlexRuiz7 deleted the 335-run-removal-warning branch August 2, 2024 07:48
AlexRuiz7 added a commit that referenced this pull request Aug 20, 2024
* Adding /var/run/wazuh-indexer to the list of ignored files (#339)

* Fix sysv files (#343)

* Change sysv script to reference opensearch script

* Correct permissions on sysv script

* Updating sysv service file permissions to match 4.8

* Moving logstash dockerfile and associated files to its own folder (#302)

* Moving logstash dockerfile and associated files to its own folder

* Removing unused context from logstash container in splunk compose

* Changing context in manager to splunk integration to newly created logstash folder

* Using common logstash container for Security Lake integration

* Removing unused dockerfiles

* Adding gzip to logstash pipeline

* Adding gzip decompression to lambda

* Changing aws REGION variable name

* Cleanup commented code

* Adding environment variables for docker images versions

* Adding logstash version to .env

* Fixing minor issues in compose files

* Removing certs configuration

* Format YAML and Readme file from 3rd-party integrations

* Remove unused code

* Upgrade integrations to the latest Wazuh version

* Fic environment variable

* Remove unused code and fix ASL documentation

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fixing chown command (#347)

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>
AlexRuiz7 added a commit that referenced this pull request Aug 20, 2024
* Adding /var/run/wazuh-indexer to the list of ignored files (#339)

* Fix sysv files (#343)

* Change sysv script to reference opensearch script

* Correct permissions on sysv script

* Updating sysv service file permissions to match 4.8

* Moving logstash dockerfile and associated files to its own folder (#302)

* Moving logstash dockerfile and associated files to its own folder

* Removing unused context from logstash container in splunk compose

* Changing context in manager to splunk integration to newly created logstash folder

* Using common logstash container for Security Lake integration

* Removing unused dockerfiles

* Adding gzip to logstash pipeline

* Adding gzip decompression to lambda

* Changing aws REGION variable name

* Cleanup commented code

* Adding environment variables for docker images versions

* Adding logstash version to .env

* Fixing minor issues in compose files

* Removing certs configuration

* Format YAML and Readme file from 3rd-party integrations

* Remove unused code

* Upgrade integrations to the latest Wazuh version

* Fic environment variable

* Remove unused code and fix ASL documentation

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fixing chown command (#347)

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>
AlexRuiz7 added a commit that referenced this pull request Sep 6, 2024
* Adding /var/run/wazuh-indexer to the list of ignored files (#339)

* Fix sysv files (#343)

* Change sysv script to reference opensearch script

* Correct permissions on sysv script

* Updating sysv service file permissions to match 4.8

* Moving logstash dockerfile and associated files to its own folder (#302)

* Moving logstash dockerfile and associated files to its own folder

* Removing unused context from logstash container in splunk compose

* Changing context in manager to splunk integration to newly created logstash folder

* Using common logstash container for Security Lake integration

* Removing unused dockerfiles

* Adding gzip to logstash pipeline

* Adding gzip decompression to lambda

* Changing aws REGION variable name

* Cleanup commented code

* Adding environment variables for docker images versions

* Adding logstash version to .env

* Fixing minor issues in compose files

* Removing certs configuration

* Format YAML and Readme file from 3rd-party integrations

* Remove unused code

* Upgrade integrations to the latest Wazuh version

* Fic environment variable

* Remove unused code and fix ASL documentation

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fixing chown command (#347)

* Add Changelog for 4.9.0 (#364)

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>
AlexRuiz7 added a commit that referenced this pull request Sep 6, 2024
* Merge 4.9.0 into 4.9.1 (#376)

* Adding /var/run/wazuh-indexer to the list of ignored files (#339)

* Fix sysv files (#343)

* Change sysv script to reference opensearch script

* Correct permissions on sysv script

* Updating sysv service file permissions to match 4.8

* Moving logstash dockerfile and associated files to its own folder (#302)

* Moving logstash dockerfile and associated files to its own folder

* Removing unused context from logstash container in splunk compose

* Changing context in manager to splunk integration to newly created logstash folder

* Using common logstash container for Security Lake integration

* Removing unused dockerfiles

* Adding gzip to logstash pipeline

* Adding gzip decompression to lambda

* Changing aws REGION variable name

* Cleanup commented code

* Adding environment variables for docker images versions

* Adding logstash version to .env

* Fixing minor issues in compose files

* Removing certs configuration

* Format YAML and Readme file from 3rd-party integrations

* Remove unused code

* Upgrade integrations to the latest Wazuh version

* Fic environment variable

* Remove unused code and fix ASL documentation

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fixing chown command (#347)

* Add Changelog for 4.9.0 (#364)

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>

* Merge 4.9.1 into 4.9.2

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>
AlexRuiz7 added a commit that referenced this pull request Sep 6, 2024
* Merge 4.9.0 into 4.9.1 (#376)

* Adding /var/run/wazuh-indexer to the list of ignored files (#339)

* Fix sysv files (#343)

* Change sysv script to reference opensearch script

* Correct permissions on sysv script

* Updating sysv service file permissions to match 4.8

* Moving logstash dockerfile and associated files to its own folder (#302)

* Moving logstash dockerfile and associated files to its own folder

* Removing unused context from logstash container in splunk compose

* Changing context in manager to splunk integration to newly created logstash folder

* Using common logstash container for Security Lake integration

* Removing unused dockerfiles

* Adding gzip to logstash pipeline

* Adding gzip decompression to lambda

* Changing aws REGION variable name

* Cleanup commented code

* Adding environment variables for docker images versions

* Adding logstash version to .env

* Fixing minor issues in compose files

* Removing certs configuration

* Format YAML and Readme file from 3rd-party integrations

* Remove unused code

* Upgrade integrations to the latest Wazuh version

* Fic environment variable

* Remove unused code and fix ASL documentation

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fixing chown command (#347)

* Add Changelog for 4.9.0 (#364)

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>

* Merge 4.9.1 into 4.9.2

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>
AlexRuiz7 added a commit that referenced this pull request Sep 6, 2024
* Merge 4.9.0 into 4.9.1 (#376)

* Adding /var/run/wazuh-indexer to the list of ignored files (#339)

* Fix sysv files (#343)

* Change sysv script to reference opensearch script

* Correct permissions on sysv script

* Updating sysv service file permissions to match 4.8

* Moving logstash dockerfile and associated files to its own folder (#302)

* Moving logstash dockerfile and associated files to its own folder

* Removing unused context from logstash container in splunk compose

* Changing context in manager to splunk integration to newly created logstash folder

* Using common logstash container for Security Lake integration

* Removing unused dockerfiles

* Adding gzip to logstash pipeline

* Adding gzip decompression to lambda

* Changing aws REGION variable name

* Cleanup commented code

* Adding environment variables for docker images versions

* Adding logstash version to .env

* Fixing minor issues in compose files

* Removing certs configuration

* Format YAML and Readme file from 3rd-party integrations

* Remove unused code

* Upgrade integrations to the latest Wazuh version

* Fic environment variable

* Remove unused code and fix ASL documentation

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fixing chown command (#347)

* Add Changelog for 4.9.0 (#364)

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>

* Merge 4.9.1 into 4.9.2

---------

Co-authored-by: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com>
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.

Warning message when uninstalling the Wazuh indexer
2 participants