Closed alberpilot closed 1 year ago
Related: https://github.com/wazuh/wazuh-packages/issues/2363. Useful to consider the complex commands.
Is necessary to check the commands of the following files and add the ${debug}
variable to the necessary commands:
Before this development, an AIO installation using the Installation Assitant using the verbose option generates the following output:
As the main objective of this issue is to add more information to the logfile in order to easily identify possible problems, I think that adding more debug messages in the execution of the code can be a good idea. These messages can be useful as "checkpoints" of the code.
After the applied changes, an AIO installation returns the following output
To ensure that there are no breaking changes, it is necessary to perform the following tests:
The installers can't prevent situations with wrong OS permissions files, (like wrong permissions with
/etc/passwd
), errors withadduser
, etc. The installer should log into a file the executed steps in order to easily identify possible problems.