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

Error in wazuh-install.log during wazuh-indexer installation #2688

Closed
Benjaminnworah opened this issue Dec 13, 2023 · 5 comments · Fixed by #2790
Closed

Error in wazuh-install.log during wazuh-indexer installation #2688

Benjaminnworah opened this issue Dec 13, 2023 · 5 comments · Fixed by #2790
Assignees
Labels
level/task Subtask issue type/bug Bug issue

Comments

@Benjaminnworah
Copy link
Member

Hello,

I observed that the output of /var/log/wazuh-install.log produces an error as shown below during Wazuh indexer installation test for Release 4.8.0 - Alpha 1 - E2E UX tests - Wazuh Indexer

[root@wazuh-indexer ~]# cat /var/log/wazuh-install.log 
12/12/2023 14:23:42 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
12/12/2023 14:23:42 INFO: Verbose logging redirected to /var/log/wazuh-install.log
12/12/2023 14:23:49 INFO: --- Dependencies ---
12/12/2023 14:23:49 INFO: Installing curl.
EL-2023.2.20231113 - Wazuh 54 MB/s | 21 MB 00:00 Last metadata expiration check: 0:00:09 ago on Tue Dec 12 14:23:49 2023. Error: Problem: problem with installed package curl-minimal-8.3.0-1.amzn2023.0.2.x86_64 - package curl-minimal-8.3.0-1.amzn2023.0.2.x86_64 conflicts with curl provided by curl-7.87.0-2.amzn2023.0.2.x86_64 - package curl-minimal-8.0.1-1.amzn2023.x86_64 conflicts with curl provided by curl-7.87.0-2.amzn2023.0.2.x86_64 - package curl-minimal-7.88.1-1.amzn2023.0.1.x86_64 conflicts with curl provided by curl-7.87.0-2.amzn2023.0.2.x86_64 - package curl-minimal-8.2.1-1.amzn2023.0.3.x86_64 conflicts with curl provided by curl-7.87.0-2.amzn2023.0.2.x86_64 - package curl-minimal-8.3.0-1.amzn2023.0.1.x86_64
@davidjiglesias davidjiglesias changed the title Wazuh indexer 4.8.0 Alpha 1 : Error for wazuh-install.log Error in wazuh-install.log during wazuh-indexer installation Dec 15, 2023
@davidjiglesias davidjiglesias added level/task Subtask issue type/bug Bug issue labels Dec 15, 2023
@davidcr01 davidcr01 self-assigned this Dec 19, 2023
@davidcr01
Copy link
Contributor

This issue goes to On Hold until we get a definitive response if Amazon Linux 2023 is supported.

Related issue: #2432
Related issue: #2430
Related issue: #2436
Related PR: #2437

@davidcr01
Copy link
Contributor

Update Report

The problem

The problem here is that we can not remove the dot inserted at the end of the grep command in the if ! yum list installed 2>/dev/null | grep -q -E ^"${dep}"\\.; command. This approach was done in #2437.

The aim of this dot is to fetch the main packages and not their dependencies. For example:

root@ip-172-31-34-55 ec2-user]# yum list installed | grep systemd
rpm-plugin-systemd-inhibit.x86_64     4.16.1.3-12.amzn2023.0.6           @System
systemd.x86_64                        252.16-1.amzn2023.0.1              @System
systemd-libs.x86_64                   252.16-1.amzn2023.0.1              @System
systemd-networkd.x86_64               252.16-1.amzn2023.0.1              @System
systemd-pam.x86_64                    252.16-1.amzn2023.0.1              @System
systemd-resolved.x86_64               252.16-1.amzn2023.0.1              @System
systemd-udev.x86_64                   252.16-1.amzn2023.0.1              @System

[root@ip-172-31-34-55 ec2-user]# yum list installed | grep grep
grep.x86_64                           3.8-1.amzn2023.0.4      
           @System
[root@ip-172-31-34-55 ec2-user]# yum list installed | grep tar
selinux-policy-targeted.noarch        37.22-1.amzn2023.0.1               @System
tar.x86_64                            2:1.34-1.amzn2023.0.3              @System
[root@ip-172-31-34-55 ec2-user]# yum list installed | grep coreutils
coreutils.x86_64                      8.32-30.amzn2023.0.3               @System
coreutils-common.x86_64               8.32-30.amzn2023.0.3               @System

Let's imagine a situation of the coreutils-common.x86_64 dependency is installed, but the coreutils.x86_64 isn't. The WIA would scan the dependencies, check that a package with name "coreutils" is fetched, and it consider that the main package is installed when it is not. That's the reason why that dot is important.

First possible approach

I thought that using the command command can be a good idea: https://man7.org/linux/man-pages/man1/command.1p.html. This tool could check the installed packages, but those which are not libraries or dependencies, so this alternative is discarded.

Second possible approach

The other alternative is to modify the dependency list when it is necessary. For example, in the case of Amazon Linux 2023 (the system would be recognized in the checks_dist function), the wia_yum_dependencies list should be modified, replacing the curl package with the curl-minimal package.

The following code:

wia_yum_dependencies=( systemd grep tar coreutils sed procps-ng gawk lsof curl openssl )
wia_yum_dependencies=( "${wia_yum_dependencies[@]/curl/curl-minimal}" )

Leave the list with the following content:

systemd grep tar coreutils sed procps-ng gawk lsof curl-minimal openssl

@davidcr01
Copy link
Contributor

davidcr01 commented Dec 21, 2023

Update Report

Problem between instances and containers

I have been tested some behaviors in the Amazon Linux 2023 instance and container and I found some problems related to the dependencies.

It seems that the AL2023 instance uses the coreutils package, whereas the AL2023 container uses the coreutils-single package. In this case, one package is not compatible with the other one, and also is not recommended to remove one of them to install the other.

In the instance:

[root@ip-172-31-34-55 ec2-user]# yum list installed | grep coreutils
coreutils.x86_64                      8.32-30.amzn2023.0.3               @System
coreutils-common.x86_64               8.32-30.amzn2023.0.3               @System
policycoreutils.x86_64                3.4-6.amzn2023.0.2                 @System
policycoreutils-python-utils.noarch   3.4-6.amzn2023.0.2                 @System
python3-policycoreutils.noarch        3.4-6.amzn2023.0.2                 @System
[root@ip-172-31-34-55 ec2-user]# yum install coreutils-single
Last metadata expiration check: 1 day, 22:44:13 ago on Tue Dec 19 15:07:03 2023.
Error: 
 Problem: problem with installed package coreutils-8.32-30.amzn2023.0.3.x86_64
  - package coreutils-8.32-30.amzn2023.0.3.x86_64 conflicts with coreutils-single provided by coreutils-single-8.32-30.amzn2023.0.3.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
[root@ip-172-31-34-55 ec2-user]# 

In the container:

bash-5.2# yum list installed | grep coreutils
coreutils-single.x86_64             8.32-30.amzn2023.0.3                 @System
bash-5.2# yum install coreutils
Amazon Linux 2023 repository                                                         3.0 MB/s |  22 MB     00:07    
Last metadata expiration check: 0:00:06 ago on Thu Dec 21 13:52:36 2023.
Error: 
 Problem: problem with installed package coreutils-single-8.32-30.amzn2023.0.3.x86_64
  - package coreutils-8.32-30.amzn2023.0.3.x86_64 conflicts with coreutils-single provided by coreutils-single-8.32-30.amzn2023.0.3.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
bash-5.2# 

This distinction is known and reported by Amazon: https://docs.aws.amazon.com/linux/al2023/ug/al2023-container-ami.html

Possible approach

The approach is to check if the system when Wazuh is being installed is a container or not in the case of Amazon Linux 2023. This check could be done by checking the existence of the /.dockerenv file.

A possible code could be the following:

  • In the check_dist function:
if [ "${DIST_NAME}" == "amzn" ]; then
        if [ "${DIST_VER}" -eq "2023" ]; then
            checks_specialDepsAL2023
        elif [ "${DIST_VER}" -ne "2" ]; then
            notsupported=1
        fi
fi

New function. This function changes the curl and the coreutils packages when necessary.

function checks_specialDepsAL2023() {

    # Change curl for curl-minimal
    wia_yum_dependencies=( "${wia_yum_dependencies[@]/curl/curl-minimal}" )

    # In containers, coreutils is replaced for coreutils-single
    if [ -f "/.dockerenv" ]; then
        wia_yum_dependencies=( "${wia_yum_dependencies[@]/coreutils/coreutils-single}" )
    fi
}

This development can not be finished until the dist_detect function is not updated. Related: wazuh/wazuh#18905

@teddytpc1
Copy link
Member

@davidcr01
Copy link
Contributor

davidcr01 commented Jan 22, 2024

Update Report

Testing

🟢 The curl-minimal is replaced and installed in AL2023 instance.

Show log
[root@ip-172-31-37-164 ec2-user]# bash wazuh-install.sh -g -v -i
22/01/2024 14:47:03 DEBUG: Checking root permissions.
22/01/2024 14:47:03 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
22/01/2024 14:47:03 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/01/2024 14:47:03 DEBUG: YUM package manager will be used.
22/01/2024 14:47:03 DEBUG: Checking system distribution.
22/01/2024 14:47:03 DEBUG: Detected distribution name: amzn
22/01/2024 14:47:03 DEBUG: Detected distribution version: 2023
22/01/2024 14:47:03 DEBUG: Installing check dependencies.
22/01/2024 14:47:08 DEBUG: Checking Wazuh installation.
22/01/2024 14:47:09 DEBUG: Checking system architecture.
22/01/2024 14:47:09 WARNING: Hardware and system checks ignored.
22/01/2024 14:47:09 INFO: --- Configuration files ---
22/01/2024 14:47:09 INFO: Generating configuration files.
22/01/2024 14:47:10 DEBUG: Checking if OpenSSL is installed.
22/01/2024 14:47:10 DEBUG: Creating Wazuh certificates.
22/01/2024 14:47:10 DEBUG: Reading configuration file.
22/01/2024 14:47:10 DEBUG: Checking if 127.0.0.1 is private.
22/01/2024 14:47:10 DEBUG: Checking if 127.0.0.1 is private.
22/01/2024 14:47:10 DEBUG: Checking if 127.0.0.1 is private.
22/01/2024 14:47:10 DEBUG: Creating the root certificate.
.......+.....+.+.................+.+......+...+.....................+..+.........+....+......+..............+.+........+......+.+......+...+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.......+...+..+.............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*................+..+...+........................+..........+...............+...+...........+.......+............+......+......+........+.+....................+.......+..+.+..+..................+.+.........+..............+.......+...........+............+......+.........+.............+.....+....+...+............+...........+..........+...+..+............+...+..........+..+.+.....+....+...+..+......+................+...+...+..+......+......+.........+................+...............+.........+......+...+..+...+.......+.....+.+...+............+..+...+...+......+.............+..+...+.+..+.............+..+.......+...+...+..+.............+..............+......+.+.....+......+.......+...........+................+.........+..+...+.......+............+...+..+......+......+.........+.......+.....+....+.....+.....................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...+...+.....+...+.......+..+.......+...+............+........+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+..+...+..........+......+..............+.......+..+.+.....+.......+............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
22/01/2024 14:47:10 DEBUG: Generating Admin certificates.
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = admin
22/01/2024 14:47:11 DEBUG: Generating Wazuh indexer certificates.
22/01/2024 14:47:11 DEBUG: Creating the Wazuh indexer certificates.
22/01/2024 14:47:11 DEBUG: Generating certificate configuration.
...+..+.+..................+.....+....+...+...+......+...+......+...............+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+......................+........+.+......+......+.........+...........+...+.+...........+...+.+...+..+.............+...+..+...+....+...+........+...+.......+...+..+.......+...........+......+.........+....+..................+...+..+.........+.+.........+...+......+...............+...........+.+.......................+................+...+...+..............+...+.........................+.....+.+.....+.+....................+.+..+.+..+...+.........+...+....+.....+.+.....+............+...+....+...+.....+......+.......+.........+.....+....+.....+......+...+.+.....+....+..+.+..+............+.+.....+............+.......+.....+.........+....+........+..................+.+......+..+...+...+.......+..+......+....+..+....+..+.......+......+..+.......+..+...+...+...+..........+.....+.+....................+...+.+..+.........+.+........+....+........+...+....+..+...+.......+.....+.............+.....+......+....+...+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...+....+.....+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+...+.........+.........+......+....+..+.........+....+..+.......+...........+......+....+......+...........+...+....+..+.........+.+..................+.....+.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+....+........+....+...+.....+............+.+........+.+......+.....+.............+.................+.............+.........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = node-1
22/01/2024 14:47:11 DEBUG: Generating Filebeat certificates.
22/01/2024 14:47:11 DEBUG: Creating the Wazuh server certificates.
22/01/2024 14:47:11 DEBUG: Generating certificate configuration.
.........+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.....+.+........+...............+......+.+..+.+.........+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...+......+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.+.........+..+....+.....+.+...............+...+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.........+...+........+...+....+...+.....+.............+............+..+..........+...+..+.+.....+......+....+.................+.........+..................+...+.........+................+..+...+...+.+...+...+..+.+............+.....+.......+...........+...............+..........+......+...+......+..+...............+....+...+..+.........+..........+..+.......+...........+....+...+.....+...+.......+..+.+..+.......+.....+...+...+.+...+......+...........+...+......+......+.+............+.................+.+...+.........+..+.+...+..+.......+.....+.......+...+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = wazuh-1
22/01/2024 14:47:12 DEBUG: Generating Wazuh dashboard certificates.
22/01/2024 14:47:12 DEBUG: Creating the Wazuh dashboard certificates.
22/01/2024 14:47:12 DEBUG: Generating certificate configuration.
.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.........+...+.......+...+............+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+.............+..+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+....+.....+.........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+......+..............+.+..+...+.+...+...+..+.......+......+...+..+.......+...........+......+....+..+.........+......+.........+...+.......+...+......+............+..+.+......+.....+.+..+............+.........+....+......+.........+...+..+.....................+.+........+.......+...+..+.+........+......+....+.........+...+........+.+.....+....+..+.........+....+.........+........+...............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = dashboard
22/01/2024 14:47:12 DEBUG: Cleaning certificate files.
22/01/2024 14:47:12 DEBUG: Generating password file.
22/01/2024 14:47:12 DEBUG: Generating random passwords.
22/01/2024 14:47:12 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.

[root@ip-172-31-37-164 ec2-user]# yum list installed | grep curl
curl-minimal.x86_64                   8.5.0-1.amzn2023.0.1               @System
libcurl-minimal.x86_64                8.5.0-1.amzn2023.0.1               @System

[root@ip-172-31-37-164 ec2-user]# yum list installed | grep coreutils
coreutils.x86_64                      8.32-30.amzn2023.0.3               @System
coreutils-common.x86_64               8.32-30.amzn2023.0.3               @System
policycoreutils.x86_64                3.4-6.amzn2023.0.2                 @System
policycoreutils-python-utils.noarch   3.4-6.amzn2023.0.2                 @System
python3-policycoreutils.noarch        3.4-6.amzn2023.0.2                 @System
[root@ip-172-31-37-164 ec2-user]# 
AIO in AL2023 instance
[root@ip-172-31-37-164 ec2-user]# bash wazuh-install.sh -a -i -v
22/01/2024 16:15:27 DEBUG: Checking root permissions.
22/01/2024 16:15:27 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
22/01/2024 16:15:27 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/01/2024 16:15:27 DEBUG: YUM package manager will be used.
22/01/2024 16:15:27 DEBUG: Checking system distribution.
22/01/2024 16:15:27 DEBUG: Detected distribution name: amzn
22/01/2024 16:15:27 DEBUG: Detected distribution version: 2023
22/01/2024 16:15:27 DEBUG: Installing check dependencies.
22/01/2024 16:15:32 DEBUG: Checking Wazuh installation.
22/01/2024 16:15:34 DEBUG: Checking system architecture.
22/01/2024 16:15:34 WARNING: Hardware and system checks ignored.
22/01/2024 16:15:34 INFO: Wazuh web interface port will be 443.
22/01/2024 16:15:34 DEBUG: Checking ports availability.
22/01/2024 16:15:36 DEBUG: Installing prerequisites dependencies.
22/01/2024 16:15:37 DEBUG: Checking curl tool version.
22/01/2024 16:15:37 DEBUG: Adding the Wazuh repository.
[wazuh]
gpgcheck=1
gpgkey=https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH
enabled=1
name=EL-${releasever} - Wazuh
baseurl=https://packages-dev.wazuh.com/pre-release/yum/
protect=1
22/01/2024 16:15:37 INFO: Wazuh development repository added.
22/01/2024 16:15:37 INFO: --- Configuration files ---
22/01/2024 16:15:37 INFO: Generating configuration files.
22/01/2024 16:15:37 DEBUG: Creating Wazuh certificates.
22/01/2024 16:15:37 DEBUG: Reading configuration file.
22/01/2024 16:15:38 DEBUG: Creating the root certificate.
...+..........+........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+...+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+......+.................................+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+.+..+..........+......+..+...+....+.....+...............+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+......+......+..........+..+.+......+.....+.....................+...+.+...+.....+.............+.....+............+...+...+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+...+...+....+......+......+...+..+.+..+.......+......+..+......+....+...+..+...+.......+........+...............+....+.....+.............+...........+.+...............+......+...+..+....+.....+...............+......+...+.........+............+...+.......+...+...+...+.........+...+........+.+......+.........+......+........+......+.+...+.....+......+...+...+.........+...+...+....+......+..+.+.....+.+.....+.........+.+.....+................+........+.+...+......+.........+..+...+.......+...+......+.........+...+..+...+.......+...........+............+......................+...+...+...........+...+............+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
22/01/2024 16:15:38 DEBUG: Generating Admin certificates.
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = admin
22/01/2024 16:15:38 DEBUG: Generating Wazuh indexer certificates.
22/01/2024 16:15:38 DEBUG: Creating the Wazuh indexer certificates.
22/01/2024 16:15:38 DEBUG: Generating certificate configuration.
...........+.........+..+.+..+.............+..+.+..+....+...+...........+.+...+..+......+...+........................+......+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+...+.......+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.............+...+.....+....+...+........+.+.....+.+.....+......................+.....+.......+...........+...+......+.+.........+......+..+............+.+..+...+...+....+..+....+...........+...............+...+..........+......+..+..........+..............+.+...+.....+......+...+.............+.....+.......+.....+.......+........+.+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+......+.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.................+..........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.....+...............+.+...+...+...+...........+.+.....+.........+.+.........+.....+......+.........+....+..............+.+..............+.+..+.......+...........+.+.....+...+......+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = wazuh-indexer
22/01/2024 16:15:39 DEBUG: Generating Filebeat certificates.
22/01/2024 16:15:39 DEBUG: Creating the Wazuh server certificates.
22/01/2024 16:15:39 DEBUG: Generating certificate configuration.
.....+..+...+....+..+.........+...................+...+..+.+...........+..........+...+...+...+..+...+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.....+......+...+......+.........+......+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+......+............................+.....+.+.....+....+..+.........+...+...+.............+..+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
....+......+......+...+..........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.....+......+......+...............+...+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+.+......+...+...+..+.......+.........+............+..+.+.....+......+...+.........................+......+..+.........+....+.....+.+...+........+...+....+..+....+......+......+..+......+.+.....+.+............+......+..+.........+.............+..+......+.......+........+....+...+......+.....+......+....+..+...+......+.+...........................+..+.+..+.......+.........+..+....+.....................+..+......+.+........+...+.......+..+......+....+...+..+.........+.......+.....+....+.........+.....+.......+.....+....+.....................+............+..+...+...+...+.+......+.....+.......+......+......+........+...+....+...+......+......+........+...............+...+....+......+.........+......+............+...+...+..+.........................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = wazuh-server
22/01/2024 16:15:39 DEBUG: Generating Wazuh dashboard certificates.
22/01/2024 16:15:39 DEBUG: Creating the Wazuh dashboard certificates.
22/01/2024 16:15:39 DEBUG: Generating certificate configuration.
..+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+......+.....+....+..+....+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+..+.+......+........+...+.......+...+...+..+....+...+.....+.+...........+....+..+...+.........+......+.......+............+............+........+.......+...........+....+........+.+...........+.+..+.+.....+.+...+.....+...+.......+...........+.........+...+.............+......+........+...+.........+.+...............+...............+...............+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.....+...+..+.........+.+...+.....+...+.......+..+.........+.+...............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+....................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+..+.+..............+....+.....+.+.....+...+.............+...+.........+.....+.+..+..................+.+...........+...+.+......+...............+..+...+.........+.........+....+........+.......+......+...........+...+.............+..............+....+...........+......+...+....+........+.......+...+.....+............+.......+...+.....................+..+....+......+..+.+...........+...+......+.+...+.....+............+................+............+..+.........+.........+...+............+...............+.+..+...+....+...+.....+..........+........+....+..+...................+.....+....+...+.........+........+.+......+.....+.+.....+....+.....+.............+........+...+......+.............+......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = wazuh-dashboard
22/01/2024 16:15:40 DEBUG: Cleaning certificate files.
22/01/2024 16:15:40 DEBUG: Generating password file.
22/01/2024 16:15:40 DEBUG: Generating random passwords.
22/01/2024 16:15:40 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
22/01/2024 16:15:40 DEBUG: Extracting Wazuh configuration.
22/01/2024 16:15:40 DEBUG: Reading configuration file.
22/01/2024 16:15:41 INFO: --- Wazuh indexer ---
22/01/2024 16:15:41 INFO: Starting Wazuh indexer installation.
EL-2023.3.20240117 - Wazuh 10 kB/s | 3.4 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: wazuh-indexer x86_64 4.8.0-1 wazuh 743 M Transaction Summary ================================================================================ Install 1 Package Total download size: 743 M Installed size: 1.0 G Downloading Packages: wazuh-indexer-4.8.0-1.x86_64.rpm 51 MB/s | 743 MB 00:14 -------------------------------------------------------------------------------- Total 51 MB/s | 743 MB 00:14 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: wazuh-indexer-4.8.0-1.x86_64 1/1 Installing : wazuh-indexer-4.8.0-1.x86_64 1/1 Running scriptlet: wazuh-indexer-4.8.0-1.x86_64 1/1 Created opensearch keystore in /etc/wazuh-indexer/opensearch.keystore Verifying : wazuh-indexer-4.8.0-1.x86_64 1/1 Installed: wazuh-indexer-4.8.0-1.x86_64 Complete!
22/01/2024 16:17:18 DEBUG: Checking Wazuh installation.
22/01/2024 16:17:19 DEBUG: There are Wazuh indexer remaining files.
22/01/2024 16:17:20 INFO: Wazuh indexer installation finished.
22/01/2024 16:17:20 DEBUG: Configuring Wazuh indexer.
22/01/2024 16:17:20 DEBUG: Copying Wazuh indexer certificates.
22/01/2024 16:17:20 INFO: Wazuh indexer post-install configuration finished.
22/01/2024 16:17:20 INFO: Starting service wazuh-indexer.
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-indexer.service → /usr/lib/systemd/system/wazuh-indexer.service.
22/01/2024 16:17:43 INFO: wazuh-indexer service started.
22/01/2024 16:17:43 INFO: Initializing Wazuh indexer cluster security settings.
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 2.10.0
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index does not exists, attempt to create it ... done (0-all replicas)
Populate config from /etc/wazuh-indexer/opensearch-security/
Will update '/config' with /etc/wazuh-indexer/opensearch-security/config.yml 
   SUCC: Configuration for 'config' created or updated
Will update '/roles' with /etc/wazuh-indexer/opensearch-security/roles.yml 
   SUCC: Configuration for 'roles' created or updated
Will update '/rolesmapping' with /etc/wazuh-indexer/opensearch-security/roles_mapping.yml 
   SUCC: Configuration for 'rolesmapping' created or updated
Will update '/internalusers' with /etc/wazuh-indexer/opensearch-security/internal_users.yml 
   SUCC: Configuration for 'internalusers' created or updated
Will update '/actiongroups' with /etc/wazuh-indexer/opensearch-security/action_groups.yml 
   SUCC: Configuration for 'actiongroups' created or updated
Will update '/tenants' with /etc/wazuh-indexer/opensearch-security/tenants.yml 
   SUCC: Configuration for 'tenants' created or updated
Will update '/nodesdn' with /etc/wazuh-indexer/opensearch-security/nodes_dn.yml 
   SUCC: Configuration for 'nodesdn' created or updated
Will update '/whitelist' with /etc/wazuh-indexer/opensearch-security/whitelist.yml 
   SUCC: Configuration for 'whitelist' created or updated
Will update '/audit' with /etc/wazuh-indexer/opensearch-security/audit.yml 
   SUCC: Configuration for 'audit' created or updated
Will update '/allowlist' with /etc/wazuh-indexer/opensearch-security/allowlist.yml 
   SUCC: Configuration for 'allowlist' created or updated
SUCC: Expected 10 config types for node {"updated_config_types":["allowlist","tenants","rolesmapping","nodesdn","audit","roles","whitelist","internalusers","actiongroups","config"],"updated_config_size":10,"message":null} is 10 (["allowlist","tenants","rolesmapping","nodesdn","audit","roles","whitelist","internalusers","actiongroups","config"]) due to: null
Done with success
Will create 'wazuh' index template
 SUCC: 'wazuh' template created or updated
Will create 'ism_history_indices' index template
 SUCC: 'ism_history_indices' template created or updated
Will disable replicas for 'plugins.index_state_management.history' indices
 SUCC: cluster's settings saved
Will create index templates to configure the alias
 SUCC: 'wazuh-alerts' template created or updated
 SUCC: 'wazuh-archives' template created or updated
Will create the 'rollover_policy' policy
  SUCC: 'rollover_policy' policy created
Will create initial indices for the aliases
  SUCC: 'wazuh-alerts' write index created
  SUCC: 'wazuh-archives' write index created
SUCC: Indexer ISM initialization finished successfully.
22/01/2024 16:17:57 INFO: The Wazuh indexer cluster ISM initialized.
22/01/2024 16:17:57 INFO: Wazuh indexer cluster initialized.
22/01/2024 16:17:57 INFO: --- Wazuh server ---
22/01/2024 16:17:57 INFO: Starting the Wazuh manager installation.
Last metadata expiration check: 0:02:17 ago on Mon Jan 22 16:15:41 2024. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: wazuh-manager x86_64 4.8.0-1 wazuh 350 M Transaction Summary ================================================================================ Install 1 Package Total download size: 350 M Installed size: 854 M Downloading Packages: wazuh-manager-4.8.0-1.x86_64.rpm 49 MB/s | 350 MB 00:07 -------------------------------------------------------------------------------- Total 49 MB/s | 350 MB 00:07 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: wazuh-manager-4.8.0-1.x86_64 1/1 Installing : wazuh-manager-4.8.0-1.x86_64 1/1 Running scriptlet: wazuh-manager-4.8.0-1.x86_64 1/1uavc: op=setenforce lsm=selinux enforcing=0 res=1uavc: op=load_policy lsm=selinux seqno=3 res=1 Verifying : wazuh-manager-4.8.0-1.x86_64 1/1 Installed: wazuh-manager-4.8.0-1.x86_64 Complete!
22/01/2024 16:19:44 DEBUG: Checking Wazuh installation.
22/01/2024 16:19:45 DEBUG: There are Wazuh remaining files.
22/01/2024 16:19:45 DEBUG: There are Wazuh indexer remaining files.
22/01/2024 16:19:46 INFO: Wazuh manager installation finished.
22/01/2024 16:19:46 INFO: Starting service wazuh-manager.
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-manager.service → /usr/lib/systemd/system/wazuh-manager.service.
22/01/2024 16:20:05 INFO: wazuh-manager service started.
22/01/2024 16:20:05 INFO: Starting Filebeat installation.
Waiting for process with pid 5375 to finish. Last metadata expiration check: 0:04:27 ago on Mon Jan 22 16:15:41 2024. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: filebeat x86_64 7.10.2-1 wazuh 21 M Transaction Summary ================================================================================ Install 1 Package Total download size: 21 M Installed size: 70 M Downloading Packages: filebeat-oss-7.10.2-x86_64.rpm 20 MB/s | 21 MB 00:01 -------------------------------------------------------------------------------- Total 20 MB/s | 21 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : filebeat-7.10.2-1.x86_64 1/1 Running scriptlet: filebeat-7.10.2-1.x86_64 1/1 Verifying : filebeat-7.10.2-1.x86_64 1/1 Installed: filebeat-7.10.2-1.x86_64 Complete!
22/01/2024 16:20:12 DEBUG: Checking Wazuh installation.
22/01/2024 16:20:13 DEBUG: There are Wazuh remaining files.
22/01/2024 16:20:14 DEBUG: There are Wazuh indexer remaining files.
22/01/2024 16:20:15 DEBUG: There are Filebeat remaining files.
22/01/2024 16:20:15 INFO: Filebeat installation finished.
22/01/2024 16:20:15 DEBUG: Configuring Filebeat.
22/01/2024 16:20:15 DEBUG: Filebeat template was download successfully.
wazuh/
wazuh/archives/
wazuh/archives/ingest/
wazuh/archives/ingest/pipeline.json
wazuh/archives/config/
wazuh/archives/config/archives.yml
wazuh/archives/manifest.yml
wazuh/_meta/
wazuh/_meta/config.yml
wazuh/_meta/docs.asciidoc
wazuh/_meta/fields.yml
wazuh/alerts/
wazuh/alerts/ingest/
wazuh/alerts/ingest/pipeline.json
wazuh/alerts/config/
wazuh/alerts/config/alerts.yml
wazuh/alerts/manifest.yml
wazuh/module.yml
22/01/2024 16:20:16 DEBUG: Filebeat module was downloaded successfully.
22/01/2024 16:20:16 DEBUG: Copying Filebeat certificates.
Created filebeat keystore
Successfully updated the keystore
Successfully updated the keystore
22/01/2024 16:20:16 INFO: Filebeat post-install configuration finished.
22/01/2024 16:20:16 INFO: Starting service filebeat.
Synchronizing state of filebeat.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable filebeat
Created symlink /etc/systemd/system/multi-user.target.wants/filebeat.service → /usr/lib/systemd/system/filebeat.service.
22/01/2024 16:20:17 INFO: filebeat service started.
22/01/2024 16:20:17 INFO: --- Wazuh dashboard ---
22/01/2024 16:20:17 INFO: Starting Wazuh dashboard installation.
Last metadata expiration check: 0:04:37 ago on Mon Jan 22 16:15:41 2024. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: wazuh-dashboard x86_64 4.8.0-1 wazuh 273 M Transaction Summary ================================================================================ Install 1 Package Total size: 273 M Installed size: 902 M Downloading Packages: [SKIPPED] wazuh-dashboard-4.8.0-1.x86_64.rpm: Already downloaded Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: wazuh-dashboard-4.8.0-1.x86_64 1/1 Installing : wazuh-dashboard-4.8.0-1.x86_64 1/1 Running scriptlet: wazuh-dashboard-4.8.0-1.x86_64 1/1 Verifying : wazuh-dashboard-4.8.0-1.x86_64 1/1 Installed: wazuh-dashboard-4.8.0-1.x86_64 Complete!
22/01/2024 16:22:09 DEBUG: Checking Wazuh installation.
22/01/2024 16:22:10 DEBUG: There are Wazuh remaining files.
22/01/2024 16:22:11 DEBUG: There are Wazuh indexer remaining files.
22/01/2024 16:22:12 DEBUG: There are Filebeat remaining files.
22/01/2024 16:22:12 DEBUG: There are Wazuh dashboard remaining files.
22/01/2024 16:22:12 INFO: Wazuh dashboard installation finished.
22/01/2024 16:22:12 DEBUG: Configuring Wazuh dashboard.
22/01/2024 16:22:12 DEBUG: Copying Wazuh dashboard certificates.
22/01/2024 16:22:12 DEBUG: Wazuh dashboard certificate setup finished.
22/01/2024 16:22:12 INFO: Wazuh dashboard post-install configuration finished.
22/01/2024 16:22:12 INFO: Starting service wazuh-dashboard.
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-dashboard.service → /etc/systemd/system/wazuh-dashboard.service.
22/01/2024 16:22:13 INFO: wazuh-dashboard service started.
22/01/2024 16:22:13 DEBUG: Setting Wazuh indexer cluster passwords.
22/01/2024 16:22:13 DEBUG: Checking Wazuh installation.
22/01/2024 16:22:14 DEBUG: There are Wazuh remaining files.
22/01/2024 16:22:15 DEBUG: There are Wazuh indexer remaining files.
22/01/2024 16:22:15 DEBUG: There are Filebeat remaining files.
22/01/2024 16:22:16 DEBUG: There are Wazuh dashboard remaining files.
22/01/2024 16:22:16 INFO: Updating the internal users.
22/01/2024 16:22:16 DEBUG: Creating password backup.
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to localhost:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 2.10.0
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Will retrieve '/config' into /etc/wazuh-indexer/backup/config.yml 
   SUCC: Configuration for 'config' stored in /etc/wazuh-indexer/backup/config.yml
Will retrieve '/roles' into /etc/wazuh-indexer/backup/roles.yml 
   SUCC: Configuration for 'roles' stored in /etc/wazuh-indexer/backup/roles.yml
Will retrieve '/rolesmapping' into /etc/wazuh-indexer/backup/roles_mapping.yml 
   SUCC: Configuration for 'rolesmapping' stored in /etc/wazuh-indexer/backup/roles_mapping.yml
Will retrieve '/internalusers' into /etc/wazuh-indexer/backup/internal_users.yml 
   SUCC: Configuration for 'internalusers' stored in /etc/wazuh-indexer/backup/internal_users.yml
Will retrieve '/actiongroups' into /etc/wazuh-indexer/backup/action_groups.yml 
   SUCC: Configuration for 'actiongroups' stored in /etc/wazuh-indexer/backup/action_groups.yml
Will retrieve '/tenants' into /etc/wazuh-indexer/backup/tenants.yml 
   SUCC: Configuration for 'tenants' stored in /etc/wazuh-indexer/backup/tenants.yml
Will retrieve '/nodesdn' into /etc/wazuh-indexer/backup/nodes_dn.yml 
   SUCC: Configuration for 'nodesdn' stored in /etc/wazuh-indexer/backup/nodes_dn.yml
Will retrieve '/whitelist' into /etc/wazuh-indexer/backup/whitelist.yml 
   SUCC: Configuration for 'whitelist' stored in /etc/wazuh-indexer/backup/whitelist.yml
Will retrieve '/allowlist' into /etc/wazuh-indexer/backup/allowlist.yml 
   SUCC: Configuration for 'allowlist' stored in /etc/wazuh-indexer/backup/allowlist.yml
Will retrieve '/audit' into /etc/wazuh-indexer/backup/audit.yml 
   SUCC: Configuration for 'audit' stored in /etc/wazuh-indexer/backup/audit.yml
22/01/2024 16:22:26 DEBUG: Password backup created in /etc/wazuh-indexer/backup.
22/01/2024 16:22:26 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.
22/01/2024 16:22:26 DEBUG: The internal users have been updated before changing the passwords.
22/01/2024 16:22:28 DEBUG: Generating password hashes.
22/01/2024 16:22:37 DEBUG: Password hashes generated.
22/01/2024 16:22:37 DEBUG: Creating password backup.
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to localhost:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 2.10.0
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Will retrieve '/config' into /etc/wazuh-indexer/backup/config.yml 
   SUCC: Configuration for 'config' stored in /etc/wazuh-indexer/backup/config.yml
Will retrieve '/roles' into /etc/wazuh-indexer/backup/roles.yml 
   SUCC: Configuration for 'roles' stored in /etc/wazuh-indexer/backup/roles.yml
Will retrieve '/rolesmapping' into /etc/wazuh-indexer/backup/roles_mapping.yml 
   SUCC: Configuration for 'rolesmapping' stored in /etc/wazuh-indexer/backup/roles_mapping.yml
Will retrieve '/internalusers' into /etc/wazuh-indexer/backup/internal_users.yml 
   SUCC: Configuration for 'internalusers' stored in /etc/wazuh-indexer/backup/internal_users.yml
Will retrieve '/actiongroups' into /etc/wazuh-indexer/backup/action_groups.yml 
   SUCC: Configuration for 'actiongroups' stored in /etc/wazuh-indexer/backup/action_groups.yml
Will retrieve '/tenants' into /etc/wazuh-indexer/backup/tenants.yml 
   SUCC: Configuration for 'tenants' stored in /etc/wazuh-indexer/backup/tenants.yml
Will retrieve '/nodesdn' into /etc/wazuh-indexer/backup/nodes_dn.yml 
   SUCC: Configuration for 'nodesdn' stored in /etc/wazuh-indexer/backup/nodes_dn.yml
Will retrieve '/whitelist' into /etc/wazuh-indexer/backup/whitelist.yml 
   SUCC: Configuration for 'whitelist' stored in /etc/wazuh-indexer/backup/whitelist.yml
Will retrieve '/allowlist' into /etc/wazuh-indexer/backup/allowlist.yml 
   SUCC: Configuration for 'allowlist' stored in /etc/wazuh-indexer/backup/allowlist.yml
Will retrieve '/audit' into /etc/wazuh-indexer/backup/audit.yml 
   SUCC: Configuration for 'audit' stored in /etc/wazuh-indexer/backup/audit.yml
22/01/2024 16:22:41 DEBUG: Password backup created in /etc/wazuh-indexer/backup.
Successfully updated the keystore
22/01/2024 16:22:42 DEBUG: Restarting filebeat service...
22/01/2024 16:22:43 DEBUG: filebeat started.
22/01/2024 16:22:44 DEBUG: Restarting wazuh-dashboard service...
22/01/2024 16:22:45 DEBUG: wazuh-dashboard started.
22/01/2024 16:22:45 DEBUG: Running security admin tool.
22/01/2024 16:22:45 DEBUG: Loading new passwords changes.
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to localhost:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 2.10.0
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Populate config from /home/ec2-user
Force type: internalusers
Will update '/internalusers' with /etc/wazuh-indexer/backup/internal_users.yml 
   SUCC: Configuration for 'internalusers' created or updated
SUCC: Expected 1 config types for node {"updated_config_types":["internalusers"],"updated_config_size":1,"message":null} is 1 (["internalusers"]) due to: null
Done with success
22/01/2024 16:22:51 DEBUG: Passwords changed.
22/01/2024 16:22:51 DEBUG: Changing API passwords.
22/01/2024 16:22:58 INFO: Initializing Wazuh dashboard web application.
22/01/2024 16:22:58 INFO: Wazuh dashboard web application not yet initialized. Waiting...
22/01/2024 16:23:14 INFO: Wazuh dashboard web application not yet initialized. Waiting...
22/01/2024 16:23:29 INFO: Wazuh dashboard web application initialized.
22/01/2024 16:23:29 INFO: --- Summary ---
22/01/2024 16:23:29 INFO: You can access the web interface https://<wazuh-dashboard-ip>:443
    User: admin
    Password: n2mh4snWNEi+1u+X?bT5Vr8M5hj*wT3r
22/01/2024 16:23:29 DEBUG: Restoring Wazuh repository.
22/01/2024 16:23:29 INFO: Installation finished.

🟢 The coreutils-single is replaced in AL2023 container. The coreutils package is no longer checked and installed.

Show certificates generation log in AL2023 container
bash-5.2# bash wazuh-install.sh -g -i -v
22/01/2024 16:09:24 DEBUG: Checking root permissions.
22/01/2024 16:09:24 INFO: Starting Wazuh installation assistant. Wazuh version: 4.9.0
22/01/2024 16:09:24 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/01/2024 16:09:24 DEBUG: YUM package manager will be used.
22/01/2024 16:09:24 DEBUG: Checking system distribution.
22/01/2024 16:09:24 DEBUG: Detected distribution name: amzn
22/01/2024 16:09:24 DEBUG: Detected distribution version: 2023
22/01/2024 16:09:24 DEBUG: Installing check dependencies.
22/01/2024 16:09:26 INFO: --- Dependencies ---
22/01/2024 16:09:26 INFO: Installing systemd.
Last metadata expiration check: 0:07:58 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: systemd x86_64 252.16-1.amzn2023.0.1 amazonlinux 4.2 M Installing dependencies: cracklib x86_64 2.9.6-27.amzn2023.0.2 amazonlinux 82 k dbus x86_64 1:1.12.28-1.amzn2023.0.1 amazonlinux 8.5 k dbus-broker x86_64 32-1.amzn2023.0.2 amazonlinux 174 k dbus-common noarch 1:1.12.28-1.amzn2023.0.1 amazonlinux 15 k device-mapper x86_64 1.02.185-1.amzn2023.0.4 amazonlinux 140 k device-mapper-libs x86_64 1.02.185-1.amzn2023.0.4 amazonlinux 180 k gzip x86_64 1.12-1.amzn2023.0.1 amazonlinux 160 k kmod-libs x86_64 29-2.amzn2023.0.5 amazonlinux 62 k libargon2 x86_64 20171227-9.amzn2023.0.2 amazonlinux 29 k libdb x86_64 5.3.28-49.amzn2023.0.2 amazonlinux 756 k libeconf x86_64 0.4.0-1.amzn2023.0.3 amazonlinux 28 k libfdisk x86_64 2.37.4-1.amzn2023.0.3 amazonlinux 154 k libpwquality x86_64 1.4.4-6.amzn2023.0.2 amazonlinux 106 k libseccomp x86_64 2.5.3-1.amzn2023.0.2 amazonlinux 71 k libsemanage x86_64 3.4-5.amzn2023.0.2 amazonlinux 121 k libutempter x86_64 1.2.1-4.amzn2023.0.2 amazonlinux 26 k pam x86_64 1.5.1-8.amzn2023.0.3 amazonlinux 543 k shadow-utils x86_64 2:4.9-12.amzn2023.0.4 amazonlinux 1.1 M systemd-libs x86_64 252.16-1.amzn2023.0.1 amazonlinux 627 k systemd-pam x86_64 252.16-1.amzn2023.0.1 amazonlinux 329 k util-linux x86_64 2.37.4-1.amzn2023.0.3 amazonlinux 2.2 M util-linux-core x86_64 2.37.4-1.amzn2023.0.3 amazonlinux 433 k xkeyboard-config noarch 2.33-1.amzn2023.0.2 amazonlinux 779 k Installing weak dependencies: cryptsetup-libs x86_64 2.6.1-1.amzn2023.0.1 amazonlinux 489 k diffutils x86_64 3.8-1.amzn2023.0.2 amazonlinux 370 k libxkbcommon x86_64 1.3.0-1.amzn2023.0.2 amazonlinux 141 k qrencode-libs x86_64 4.1.1-2.amzn2023.0.2 amazonlinux 66 k systemd-networkd x86_64 252.16-1.amzn2023.0.1 amazonlinux 619 k systemd-resolved x86_64 252.16-1.amzn2023.0.1 amazonlinux 281 k Transaction Summary ================================================================================ Install 30 Packages Total download size: 14 M Installed size: 51 M Downloading Packages: (1/30): diffutils-3.8-1.amzn2023.0.2.x86_64.rpm 1.1 MB/s | 370 kB 00:00 (2/30): pam-1.5.1-8.amzn2023.0.3.x86_64.rpm 1.1 MB/s | 543 kB 00:00 (3/30): cryptsetup-libs-2.6.1-1.amzn2023.0.1.x8 870 kB/s | 489 kB 00:00 (4/30): dbus-1.12.28-1.amzn2023.0.1.x86_64.rpm 38 kB/s | 8.5 kB 00:00 (5/30): libseccomp-2.5.3-1.amzn2023.0.2.x86_64. 680 kB/s | 71 kB 00:00 (6/30): systemd-networkd-252.16-1.amzn2023.0.1. 2.3 MB/s | 619 kB 00:00 (7/30): device-mapper-libs-1.02.185-1.amzn2023. 484 kB/s | 180 kB 00:00 (8/30): libdb-5.3.28-49.amzn2023.0.2.x86_64.rpm 941 kB/s | 756 kB 00:00 (9/30): dbus-broker-32-1.amzn2023.0.2.x86_64.rp 456 kB/s | 174 kB 00:00 (10/30): util-linux-2.37.4-1.amzn2023.0.3.x86_6 1.8 MB/s | 2.2 MB 00:01 (11/30): libfdisk-2.37.4-1.amzn2023.0.3.x86_64. 284 kB/s | 154 kB 00:00 (12/30): systemd-252.16-1.amzn2023.0.1.x86_64.r 2.6 MB/s | 4.2 MB 00:01 (13/30): shadow-utils-4.9-12.amzn2023.0.4.x86_6 1.0 MB/s | 1.1 MB 00:01 (14/30): libpwquality-1.4.4-6.amzn2023.0.2.x86_ 191 kB/s | 106 kB 00:00 (15/30): libargon2-20171227-9.amzn2023.0.2.x86_ 371 kB/s | 29 kB 00:00 (16/30): libxkbcommon-1.3.0-1.amzn2023.0.2.x86_ 1.9 MB/s | 141 kB 00:00 (17/30): libsemanage-3.4-5.amzn2023.0.2.x86_64. 1.3 MB/s | 121 kB 00:00 (18/30): systemd-resolved-252.16-1.amzn2023.0.1 2.4 MB/s | 281 kB 00:00 (19/30): gzip-1.12-1.amzn2023.0.1.x86_64.rpm 1.4 MB/s | 160 kB 00:00 (20/30): qrencode-libs-4.1.1-2.amzn2023.0.2.x86 686 kB/s | 66 kB 00:00 (21/30): libutempter-1.2.1-4.amzn2023.0.2.x86_6 526 kB/s | 26 kB 00:00 (22/30): util-linux-core-2.37.4-1.amzn2023.0.3. 3.0 MB/s | 433 kB 00:00 (23/30): kmod-libs-29-2.amzn2023.0.5.x86_64.rpm 472 kB/s | 62 kB 00:00 (24/30): cracklib-2.9.6-27.amzn2023.0.2.x86_64. 633 kB/s | 82 kB 00:00 (25/30): device-mapper-1.02.185-1.amzn2023.0.4. 2.0 MB/s | 140 kB 00:00 (26/30): systemd-pam-252.16-1.amzn2023.0.1.x86_ 2.5 MB/s | 329 kB 00:00 (27/30): systemd-libs-252.16-1.amzn2023.0.1.x86 2.2 MB/s | 627 kB 00:00 (28/30): libeconf-0.4.0-1.amzn2023.0.3.x86_64.r 122 kB/s | 28 kB 00:00 (29/30): dbus-common-1.12.28-1.amzn2023.0.1.noa 91 kB/s | 15 kB 00:00 (30/30): xkeyboard-config-2.33-1.amzn2023.0.2.n 4.0 MB/s | 779 kB 00:00 -------------------------------------------------------------------------------- Total 2.9 MB/s | 14 MB 00:04 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : systemd-libs-252.16-1.amzn2023.0.1.x86_64 1/30 Installing : util-linux-core-2.37.4-1.amzn2023.0.3.x86_64 2/30 Running scriptlet: util-linux-core-2.37.4-1.amzn2023.0.3.x86_64 2/30 Installing : libfdisk-2.37.4-1.amzn2023.0.3.x86_64 3/30 Installing : xkeyboard-config-2.33-1.amzn2023.0.2.noarch 4/30 Installing : libxkbcommon-1.3.0-1.amzn2023.0.2.x86_64 5/30 Installing : dbus-common-1:1.12.28-1.amzn2023.0.1.noarch 6/30 Running scriptlet: dbus-common-1:1.12.28-1.amzn2023.0.1.noarch 6/30 Installing : libeconf-0.4.0-1.amzn2023.0.3.x86_64 7/30 Installing : kmod-libs-29-2.amzn2023.0.5.x86_64 8/30 Installing : qrencode-libs-4.1.1-2.amzn2023.0.2.x86_64 9/30 Installing : gzip-1.12-1.amzn2023.0.1.x86_64 10/30 Installing : cracklib-2.9.6-27.amzn2023.0.2.x86_64 11/30 Installing : libsemanage-3.4-5.amzn2023.0.2.x86_64 12/30 Installing : shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 13/30 Running scriptlet: dbus-broker-32-1.amzn2023.0.2.x86_64 14/30 Installing : dbus-broker-32-1.amzn2023.0.2.x86_64 14/30 Running scriptlet: dbus-broker-32-1.amzn2023.0.2.x86_64 14/30 Installing : dbus-1:1.12.28-1.amzn2023.0.1.x86_64 15/30 Running scriptlet: libutempter-1.2.1-4.amzn2023.0.2.x86_64 16/30 Installing : libutempter-1.2.1-4.amzn2023.0.2.x86_64 16/30 Installing : libargon2-20171227-9.amzn2023.0.2.x86_64 17/30 Installing : libdb-5.3.28-49.amzn2023.0.2.x86_64 18/30 Installing : libpwquality-1.4.4-6.amzn2023.0.2.x86_64 19/30 Installing : pam-1.5.1-8.amzn2023.0.3.x86_64 20/30 Installing : util-linux-2.37.4-1.amzn2023.0.3.x86_64 21/30 warning: /etc/adjtime created as /etc/adjtime.rpmnew Running scriptlet: util-linux-2.37.4-1.amzn2023.0.3.x86_64 21/30 Installing : libseccomp-2.5.3-1.amzn2023.0.2.x86_64 22/30 Installing : diffutils-3.8-1.amzn2023.0.2.x86_64 23/30 Installing : systemd-networkd-252.16-1.amzn2023.0.1.x86_64 24/30 Running scriptlet: systemd-networkd-252.16-1.amzn2023.0.1.x86_64 24/30 Installing : systemd-resolved-252.16-1.amzn2023.0.1.x86_64 25/30 Running scriptlet: systemd-resolved-252.16-1.amzn2023.0.1.x86_64 25/30 Installing : device-mapper-libs-1.02.185-1.amzn2023.0.4.x86_64 26/30 Installing : cryptsetup-libs-2.6.1-1.amzn2023.0.1.x86_64 27/30 Installing : device-mapper-1.02.185-1.amzn2023.0.4.x86_64 28/30 Installing : systemd-pam-252.16-1.amzn2023.0.1.x86_64 29/30 Installing : systemd-252.16-1.amzn2023.0.1.x86_64 30/30 Running scriptlet: systemd-252.16-1.amzn2023.0.1.x86_64 30/30 Creating group 'input' with GID 104. Creating group 'kvm' with GID 36. Creating group 'render' with GID 105. Creating group 'sgx' with GID 106. Creating group 'systemd-journal' with GID 190. Creating group 'systemd-network' with GID 192. Creating user 'systemd-network' (systemd Network Management) with UID 192 and GID 192. Creating group 'systemd-oom' with GID 999. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 999 and GID 999. Creating group 'systemd-resolve' with GID 193. Creating user 'systemd-resolve' (systemd Resolver) with UID 193 and GID 193. Running scriptlet: pam-1.5.1-8.amzn2023.0.3.x86_64 30/30 Running scriptlet: systemd-resolved-252.16-1.amzn2023.0.1.x86_64 30/30 Running scriptlet: systemd-252.16-1.amzn2023.0.1.x86_64 30/30 Verifying : cryptsetup-libs-2.6.1-1.amzn2023.0.1.x86_64 1/30 Verifying : pam-1.5.1-8.amzn2023.0.3.x86_64 2/30 Verifying : diffutils-3.8-1.amzn2023.0.2.x86_64 3/30 Verifying : dbus-1:1.12.28-1.amzn2023.0.1.x86_64 4/30 Verifying : libseccomp-2.5.3-1.amzn2023.0.2.x86_64 5/30 Verifying : util-linux-2.37.4-1.amzn2023.0.3.x86_64 6/30 Verifying : systemd-networkd-252.16-1.amzn2023.0.1.x86_64 7/30 Verifying : libdb-5.3.28-49.amzn2023.0.2.x86_64 8/30 Verifying : device-mapper-libs-1.02.185-1.amzn2023.0.4.x86_64 9/30 Verifying : systemd-252.16-1.amzn2023.0.1.x86_64 10/30 Verifying : dbus-broker-32-1.amzn2023.0.2.x86_64 11/30 Verifying : shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 12/30 Verifying : libfdisk-2.37.4-1.amzn2023.0.3.x86_64 13/30 Verifying : libpwquality-1.4.4-6.amzn2023.0.2.x86_64 14/30 Verifying : libargon2-20171227-9.amzn2023.0.2.x86_64 15/30 Verifying : libxkbcommon-1.3.0-1.amzn2023.0.2.x86_64 16/30 Verifying : libsemanage-3.4-5.amzn2023.0.2.x86_64 17/30 Verifying : systemd-resolved-252.16-1.amzn2023.0.1.x86_64 18/30 Verifying : gzip-1.12-1.amzn2023.0.1.x86_64 19/30 Verifying : qrencode-libs-4.1.1-2.amzn2023.0.2.x86_64 20/30 Verifying : libutempter-1.2.1-4.amzn2023.0.2.x86_64 21/30 Verifying : util-linux-core-2.37.4-1.amzn2023.0.3.x86_64 22/30 Verifying : kmod-libs-29-2.amzn2023.0.5.x86_64 23/30 Verifying : cracklib-2.9.6-27.amzn2023.0.2.x86_64 24/30 Verifying : device-mapper-1.02.185-1.amzn2023.0.4.x86_64 25/30 Verifying : systemd-pam-252.16-1.amzn2023.0.1.x86_64 26/30 Verifying : systemd-libs-252.16-1.amzn2023.0.1.x86_64 27/30 Verifying : libeconf-0.4.0-1.amzn2023.0.3.x86_64 28/30 Verifying : dbus-common-1:1.12.28-1.amzn2023.0.1.noarch 29/30 Verifying : xkeyboard-config-2.33-1.amzn2023.0.2.noarch 30/30 Installed: cracklib-2.9.6-27.amzn2023.0.2.x86_64 cryptsetup-libs-2.6.1-1.amzn2023.0.1.x86_64 dbus-1:1.12.28-1.amzn2023.0.1.x86_64 dbus-broker-32-1.amzn2023.0.2.x86_64 dbus-common-1:1.12.28-1.amzn2023.0.1.noarch device-mapper-1.02.185-1.amzn2023.0.4.x86_64 device-mapper-libs-1.02.185-1.amzn2023.0.4.x86_64 diffutils-3.8-1.amzn2023.0.2.x86_64 gzip-1.12-1.amzn2023.0.1.x86_64 kmod-libs-29-2.amzn2023.0.5.x86_64 libargon2-20171227-9.amzn2023.0.2.x86_64 libdb-5.3.28-49.amzn2023.0.2.x86_64 libeconf-0.4.0-1.amzn2023.0.3.x86_64 libfdisk-2.37.4-1.amzn2023.0.3.x86_64 libpwquality-1.4.4-6.amzn2023.0.2.x86_64 libseccomp-2.5.3-1.amzn2023.0.2.x86_64 libsemanage-3.4-5.amzn2023.0.2.x86_64 libutempter-1.2.1-4.amzn2023.0.2.x86_64 libxkbcommon-1.3.0-1.amzn2023.0.2.x86_64 pam-1.5.1-8.amzn2023.0.3.x86_64 qrencode-libs-4.1.1-2.amzn2023.0.2.x86_64 shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 systemd-252.16-1.amzn2023.0.1.x86_64 systemd-libs-252.16-1.amzn2023.0.1.x86_64 systemd-networkd-252.16-1.amzn2023.0.1.x86_64 systemd-pam-252.16-1.amzn2023.0.1.x86_64 systemd-resolved-252.16-1.amzn2023.0.1.x86_64 util-linux-2.37.4-1.amzn2023.0.3.x86_64 util-linux-core-2.37.4-1.amzn2023.0.3.x86_64 xkeyboard-config-2.33-1.amzn2023.0.2.noarch Complete!
Last metadata expiration check: 0:07:58 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: systemd x86_64 252.16-1.amzn2023.0.1 amazonlinux 4.2 M Installing dependencies: cracklib x86_64 2.9.6-27.amzn2023.0.2 amazonlinux 82 k dbus x86_64 1:1.12.28-1.amzn2023.0.1 amazonlinux 8.5 k dbus-broker x86_64 32-1.amzn2023.0.2 amazonlinux 174 k dbus-common noarch 1:1.12.28-1.amzn2023.0.1 amazonlinux 15 k device-mapper x86_64 1.02.185-1.amzn2023.0.4 amazonlinux 140 k device-mapper-libs x86_64 1.02.185-1.amzn2023.0.4 amazonlinux 180 k gzip x86_64 1.12-1.amzn2023.0.1 amazonlinux 160 k kmod-libs x86_64 29-2.amzn2023.0.5 amazonlinux 62 k libargon2 x86_64 20171227-9.amzn2023.0.2 amazonlinux 29 k libdb x86_64 5.3.28-49.amzn2023.0.2 amazonlinux 756 k libeconf x86_64 0.4.0-1.amzn2023.0.3 amazonlinux 28 k libfdisk x86_64 2.37.4-1.amzn2023.0.3 amazonlinux 154 k libpwquality x86_64 1.4.4-6.amzn2023.0.2 amazonlinux 106 k libseccomp x86_64 2.5.3-1.amzn2023.0.2 amazonlinux 71 k libsemanage x86_64 3.4-5.amzn2023.0.2 amazonlinux 121 k libutempter x86_64 1.2.1-4.amzn2023.0.2 amazonlinux 26 k pam x86_64 1.5.1-8.amzn2023.0.3 amazonlinux 543 k shadow-utils x86_64 2:4.9-12.amzn2023.0.4 amazonlinux 1.1 M systemd-libs x86_64 252.16-1.amzn2023.0.1 amazonlinux 627 k systemd-pam x86_64 252.16-1.amzn2023.0.1 amazonlinux 329 k util-linux x86_64 2.37.4-1.amzn2023.0.3 amazonlinux 2.2 M util-linux-core x86_64 2.37.4-1.amzn2023.0.3 amazonlinux 433 k xkeyboard-config noarch 2.33-1.amzn2023.0.2 amazonlinux 779 k Installing weak dependencies: cryptsetup-libs x86_64 2.6.1-1.amzn2023.0.1 amazonlinux 489 k diffutils x86_64 3.8-1.amzn2023.0.2 amazonlinux 370 k libxkbcommon x86_64 1.3.0-1.amzn2023.0.2 amazonlinux 141 k qrencode-libs x86_64 4.1.1-2.amzn2023.0.2 amazonlinux 66 k systemd-networkd x86_64 252.16-1.amzn2023.0.1 amazonlinux 619 k systemd-resolved x86_64 252.16-1.amzn2023.0.1 amazonlinux 281 k Transaction Summary ================================================================================ Install 30 Packages Total download size: 14 M Installed size: 51 M Downloading Packages: (1/30): diffutils-3.8-1.amzn2023.0.2.x86_64.rpm 1.1 MB/s | 370 kB 00:00 (2/30): pam-1.5.1-8.amzn2023.0.3.x86_64.rpm 1.1 MB/s | 543 kB 00:00 (3/30): cryptsetup-libs-2.6.1-1.amzn2023.0.1.x8 870 kB/s | 489 kB 00:00 (4/30): dbus-1.12.28-1.amzn2023.0.1.x86_64.rpm 38 kB/s | 8.5 kB 00:00 (5/30): libseccomp-2.5.3-1.amzn2023.0.2.x86_64. 680 kB/s | 71 kB 00:00 (6/30): systemd-networkd-252.16-1.amzn2023.0.1. 2.3 MB/s | 619 kB 00:00 (7/30): device-mapper-libs-1.02.185-1.amzn2023. 484 kB/s | 180 kB 00:00 (8/30): libdb-5.3.28-49.amzn2023.0.2.x86_64.rpm 941 kB/s | 756 kB 00:00 (9/30): dbus-broker-32-1.amzn2023.0.2.x86_64.rp 456 kB/s | 174 kB 00:00 (10/30): util-linux-2.37.4-1.amzn2023.0.3.x86_6 1.8 MB/s | 2.2 MB 00:01 (11/30): libfdisk-2.37.4-1.amzn2023.0.3.x86_64. 284 kB/s | 154 kB 00:00 (12/30): systemd-252.16-1.amzn2023.0.1.x86_64.r 2.6 MB/s | 4.2 MB 00:01 (13/30): shadow-utils-4.9-12.amzn2023.0.4.x86_6 1.0 MB/s | 1.1 MB 00:01 (14/30): libpwquality-1.4.4-6.amzn2023.0.2.x86_ 191 kB/s | 106 kB 00:00 (15/30): libargon2-20171227-9.amzn2023.0.2.x86_ 371 kB/s | 29 kB 00:00 (16/30): libxkbcommon-1.3.0-1.amzn2023.0.2.x86_ 1.9 MB/s | 141 kB 00:00 (17/30): libsemanage-3.4-5.amzn2023.0.2.x86_64. 1.3 MB/s | 121 kB 00:00 (18/30): systemd-resolved-252.16-1.amzn2023.0.1 2.4 MB/s | 281 kB 00:00 (19/30): gzip-1.12-1.amzn2023.0.1.x86_64.rpm 1.4 MB/s | 160 kB 00:00 (20/30): qrencode-libs-4.1.1-2.amzn2023.0.2.x86 686 kB/s | 66 kB 00:00 (21/30): libutempter-1.2.1-4.amzn2023.0.2.x86_6 526 kB/s | 26 kB 00:00 (22/30): util-linux-core-2.37.4-1.amzn2023.0.3. 3.0 MB/s | 433 kB 00:00 (23/30): kmod-libs-29-2.amzn2023.0.5.x86_64.rpm 472 kB/s | 62 kB 00:00 (24/30): cracklib-2.9.6-27.amzn2023.0.2.x86_64. 633 kB/s | 82 kB 00:00 (25/30): device-mapper-1.02.185-1.amzn2023.0.4. 2.0 MB/s | 140 kB 00:00 (26/30): systemd-pam-252.16-1.amzn2023.0.1.x86_ 2.5 MB/s | 329 kB 00:00 (27/30): systemd-libs-252.16-1.amzn2023.0.1.x86 2.2 MB/s | 627 kB 00:00 (28/30): libeconf-0.4.0-1.amzn2023.0.3.x86_64.r 122 kB/s | 28 kB 00:00 (29/30): dbus-common-1.12.28-1.amzn2023.0.1.noa 91 kB/s | 15 kB 00:00 (30/30): xkeyboard-config-2.33-1.amzn2023.0.2.n 4.0 MB/s | 779 kB 00:00 -------------------------------------------------------------------------------- Total 2.9 MB/s | 14 MB 00:04 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : systemd-libs-252.16-1.amzn2023.0.1.x86_64 1/30 Installing : util-linux-core-2.37.4-1.amzn2023.0.3.x86_64 2/30 Running scriptlet: util-linux-core-2.37.4-1.amzn2023.0.3.x86_64 2/30 Installing : libfdisk-2.37.4-1.amzn2023.0.3.x86_64 3/30 Installing : xkeyboard-config-2.33-1.amzn2023.0.2.noarch 4/30 Installing : libxkbcommon-1.3.0-1.amzn2023.0.2.x86_64 5/30 Installing : dbus-common-1:1.12.28-1.amzn2023.0.1.noarch 6/30 Running scriptlet: dbus-common-1:1.12.28-1.amzn2023.0.1.noarch 6/30 Installing : libeconf-0.4.0-1.amzn2023.0.3.x86_64 7/30 Installing : kmod-libs-29-2.amzn2023.0.5.x86_64 8/30 Installing : qrencode-libs-4.1.1-2.amzn2023.0.2.x86_64 9/30 Installing : gzip-1.12-1.amzn2023.0.1.x86_64 10/30 Installing : cracklib-2.9.6-27.amzn2023.0.2.x86_64 11/30 Installing : libsemanage-3.4-5.amzn2023.0.2.x86_64 12/30 Installing : shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 13/30 Running scriptlet: dbus-broker-32-1.amzn2023.0.2.x86_64 14/30 Installing : dbus-broker-32-1.amzn2023.0.2.x86_64 14/30 Running scriptlet: dbus-broker-32-1.amzn2023.0.2.x86_64 14/30 Installing : dbus-1:1.12.28-1.amzn2023.0.1.x86_64 15/30 Running scriptlet: libutempter-1.2.1-4.amzn2023.0.2.x86_64 16/30 Installing : libutempter-1.2.1-4.amzn2023.0.2.x86_64 16/30 Installing : libargon2-20171227-9.amzn2023.0.2.x86_64 17/30 Installing : libdb-5.3.28-49.amzn2023.0.2.x86_64 18/30 Installing : libpwquality-1.4.4-6.amzn2023.0.2.x86_64 19/30 Installing : pam-1.5.1-8.amzn2023.0.3.x86_64 20/30 Installing : util-linux-2.37.4-1.amzn2023.0.3.x86_64 21/30 warning: /etc/adjtime created as /etc/adjtime.rpmnew Running scriptlet: util-linux-2.37.4-1.amzn2023.0.3.x86_64 21/30 Installing : libseccomp-2.5.3-1.amzn2023.0.2.x86_64 22/30 Installing : diffutils-3.8-1.amzn2023.0.2.x86_64 23/30 Installing : systemd-networkd-252.16-1.amzn2023.0.1.x86_64 24/30 Running scriptlet: systemd-networkd-252.16-1.amzn2023.0.1.x86_64 24/30 Installing : systemd-resolved-252.16-1.amzn2023.0.1.x86_64 25/30 Running scriptlet: systemd-resolved-252.16-1.amzn2023.0.1.x86_64 25/30 Installing : device-mapper-libs-1.02.185-1.amzn2023.0.4.x86_64 26/30 Installing : cryptsetup-libs-2.6.1-1.amzn2023.0.1.x86_64 27/30 Installing : device-mapper-1.02.185-1.amzn2023.0.4.x86_64 28/30 Installing : systemd-pam-252.16-1.amzn2023.0.1.x86_64 29/30 Installing : systemd-252.16-1.amzn2023.0.1.x86_64 30/30 Running scriptlet: systemd-252.16-1.amzn2023.0.1.x86_64 30/30 Creating group 'input' with GID 104. Creating group 'kvm' with GID 36. Creating group 'render' with GID 105. Creating group 'sgx' with GID 106. Creating group 'systemd-journal' with GID 190. Creating group 'systemd-network' with GID 192. Creating user 'systemd-network' (systemd Network Management) with UID 192 and GID 192. Creating group 'systemd-oom' with GID 999. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 999 and GID 999. Creating group 'systemd-resolve' with GID 193. Creating user 'systemd-resolve' (systemd Resolver) with UID 193 and GID 193. Running scriptlet: pam-1.5.1-8.amzn2023.0.3.x86_64 30/30 Running scriptlet: systemd-resolved-252.16-1.amzn2023.0.1.x86_64 30/30 Running scriptlet: systemd-252.16-1.amzn2023.0.1.x86_64 30/30 Verifying : cryptsetup-libs-2.6.1-1.amzn2023.0.1.x86_64 1/30 Verifying : pam-1.5.1-8.amzn2023.0.3.x86_64 2/30 Verifying : diffutils-3.8-1.amzn2023.0.2.x86_64 3/30 Verifying : dbus-1:1.12.28-1.amzn2023.0.1.x86_64 4/30 Verifying : libseccomp-2.5.3-1.amzn2023.0.2.x86_64 5/30 Verifying : util-linux-2.37.4-1.amzn2023.0.3.x86_64 6/30 Verifying : systemd-networkd-252.16-1.amzn2023.0.1.x86_64 7/30 Verifying : libdb-5.3.28-49.amzn2023.0.2.x86_64 8/30 Verifying : device-mapper-libs-1.02.185-1.amzn2023.0.4.x86_64 9/30 Verifying : systemd-252.16-1.amzn2023.0.1.x86_64 10/30 Verifying : dbus-broker-32-1.amzn2023.0.2.x86_64 11/30 Verifying : shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 12/30 Verifying : libfdisk-2.37.4-1.amzn2023.0.3.x86_64 13/30 Verifying : libpwquality-1.4.4-6.amzn2023.0.2.x86_64 14/30 Verifying : libargon2-20171227-9.amzn2023.0.2.x86_64 15/30 Verifying : libxkbcommon-1.3.0-1.amzn2023.0.2.x86_64 16/30 Verifying : libsemanage-3.4-5.amzn2023.0.2.x86_64 17/30 Verifying : systemd-resolved-252.16-1.amzn2023.0.1.x86_64 18/30 Verifying : gzip-1.12-1.amzn2023.0.1.x86_64 19/30 Verifying : qrencode-libs-4.1.1-2.amzn2023.0.2.x86_64 20/30 Verifying : libutempter-1.2.1-4.amzn2023.0.2.x86_64 21/30 Verifying : util-linux-core-2.37.4-1.amzn2023.0.3.x86_64 22/30 Verifying : kmod-libs-29-2.amzn2023.0.5.x86_64 23/30 Verifying : cracklib-2.9.6-27.amzn2023.0.2.x86_64 24/30 Verifying : device-mapper-1.02.185-1.amzn2023.0.4.x86_64 25/30 Verifying : systemd-pam-252.16-1.amzn2023.0.1.x86_64 26/30 Verifying : systemd-libs-252.16-1.amzn2023.0.1.x86_64 27/30 Verifying : libeconf-0.4.0-1.amzn2023.0.3.x86_64 28/30 Verifying : dbus-common-1:1.12.28-1.amzn2023.0.1.noarch 29/30 Verifying : xkeyboard-config-2.33-1.amzn2023.0.2.noarch 30/30 Installed: cracklib-2.9.6-27.amzn2023.0.2.x86_64 cryptsetup-libs-2.6.1-1.amzn2023.0.1.x86_64 dbus-1:1.12.28-1.amzn2023.0.1.x86_64 dbus-broker-32-1.amzn2023.0.2.x86_64 dbus-common-1:1.12.28-1.amzn2023.0.1.noarch device-mapper-1.02.185-1.amzn2023.0.4.x86_64 device-mapper-libs-1.02.185-1.amzn2023.0.4.x86_64 diffutils-3.8-1.amzn2023.0.2.x86_64 gzip-1.12-1.amzn2023.0.1.x86_64 kmod-libs-29-2.amzn2023.0.5.x86_64 libargon2-20171227-9.amzn2023.0.2.x86_64 libdb-5.3.28-49.amzn2023.0.2.x86_64 libeconf-0.4.0-1.amzn2023.0.3.x86_64 libfdisk-2.37.4-1.amzn2023.0.3.x86_64 libpwquality-1.4.4-6.amzn2023.0.2.x86_64 libseccomp-2.5.3-1.amzn2023.0.2.x86_64 libsemanage-3.4-5.amzn2023.0.2.x86_64 libutempter-1.2.1-4.amzn2023.0.2.x86_64 libxkbcommon-1.3.0-1.amzn2023.0.2.x86_64 pam-1.5.1-8.amzn2023.0.3.x86_64 qrencode-libs-4.1.1-2.amzn2023.0.2.x86_64 shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 systemd-252.16-1.amzn2023.0.1.x86_64 systemd-libs-252.16-1.amzn2023.0.1.x86_64 systemd-networkd-252.16-1.amzn2023.0.1.x86_64 systemd-pam-252.16-1.amzn2023.0.1.x86_64 systemd-resolved-252.16-1.amzn2023.0.1.x86_64 util-linux-2.37.4-1.amzn2023.0.3.x86_64 util-linux-core-2.37.4-1.amzn2023.0.3.x86_64 xkeyboard-config-2.33-1.amzn2023.0.2.noarch Complete!
22/01/2024 16:09:34 INFO: Installing tar.
Last metadata expiration check: 0:08:07 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: tar x86_64 2:1.34-1.amzn2023.0.3 amazonlinux 879 k Transaction Summary ================================================================================ Install 1 Package Total download size: 879 k Installed size: 3.0 M Downloading Packages: tar-1.34-1.amzn2023.0.3.x86_64.rpm 1.4 MB/s | 879 kB 00:00 -------------------------------------------------------------------------------- Total 477 kB/s | 879 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : tar-2:1.34-1.amzn2023.0.3.x86_64 1/1 Running scriptlet: tar-2:1.34-1.amzn2023.0.3.x86_64 1/1 Verifying : tar-2:1.34-1.amzn2023.0.3.x86_64 1/1 Installed: tar-2:1.34-1.amzn2023.0.3.x86_64 Complete!
Last metadata expiration check: 0:08:07 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: tar x86_64 2:1.34-1.amzn2023.0.3 amazonlinux 879 k Transaction Summary ================================================================================ Install 1 Package Total download size: 879 k Installed size: 3.0 M Downloading Packages: tar-1.34-1.amzn2023.0.3.x86_64.rpm 1.4 MB/s | 879 kB 00:00 -------------------------------------------------------------------------------- Total 477 kB/s | 879 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : tar-2:1.34-1.amzn2023.0.3.x86_64 1/1 Running scriptlet: tar-2:1.34-1.amzn2023.0.3.x86_64 1/1 Verifying : tar-2:1.34-1.amzn2023.0.3.x86_64 1/1 Installed: tar-2:1.34-1.amzn2023.0.3.x86_64 Complete!
22/01/2024 16:09:37 INFO: Installing procps-ng.
Last metadata expiration check: 0:08:09 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: procps-ng x86_64 3.3.17-1.amzn2023.0.2 amazonlinux 331 k Transaction Summary ================================================================================ Install 1 Package Total download size: 331 k Installed size: 990 k Downloading Packages: procps-ng-3.3.17-1.amzn2023.0.2.x86_64.rpm 198 kB/s | 331 kB 00:01 -------------------------------------------------------------------------------- Total 114 kB/s | 331 kB 00:02 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : procps-ng-3.3.17-1.amzn2023.0.2.x86_64 1/1 Running scriptlet: procps-ng-3.3.17-1.amzn2023.0.2.x86_64 1/1 Verifying : procps-ng-3.3.17-1.amzn2023.0.2.x86_64 1/1 Installed: procps-ng-3.3.17-1.amzn2023.0.2.x86_64 Complete!
Last metadata expiration check: 0:08:09 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: procps-ng x86_64 3.3.17-1.amzn2023.0.2 amazonlinux 331 k Transaction Summary ================================================================================ Install 1 Package Total download size: 331 k Installed size: 990 k Downloading Packages: procps-ng-3.3.17-1.amzn2023.0.2.x86_64.rpm 198 kB/s | 331 kB 00:01 -------------------------------------------------------------------------------- Total 114 kB/s | 331 kB 00:02 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : procps-ng-3.3.17-1.amzn2023.0.2.x86_64 1/1 Running scriptlet: procps-ng-3.3.17-1.amzn2023.0.2.x86_64 1/1 Verifying : procps-ng-3.3.17-1.amzn2023.0.2.x86_64 1/1 Installed: procps-ng-3.3.17-1.amzn2023.0.2.x86_64 Complete!
22/01/2024 16:09:40 INFO: Installing lsof.
Last metadata expiration check: 0:08:12 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.94.0-1.amzn2023.0.2 amazonlinux 240 k Installing dependencies: libtirpc x86_64 1.3.3-0.amzn2023 amazonlinux 95 k Transaction Summary ================================================================================ Install 2 Packages Total download size: 335 k Installed size: 827 k Downloading Packages: (1/2): libtirpc-1.3.3-0.amzn2023.x86_64.rpm 419 kB/s | 95 kB 00:00 (2/2): lsof-4.94.0-1.amzn2023.0.2.x86_64.rpm 1.0 MB/s | 240 kB 00:00 -------------------------------------------------------------------------------- Total 230 kB/s | 335 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libtirpc-1.3.3-0.amzn2023.x86_64 1/2 Installing : lsof-4.94.0-1.amzn2023.0.2.x86_64 2/2 Running scriptlet: lsof-4.94.0-1.amzn2023.0.2.x86_64 2/2 Verifying : libtirpc-1.3.3-0.amzn2023.x86_64 1/2 Verifying : lsof-4.94.0-1.amzn2023.0.2.x86_64 2/2 Installed: libtirpc-1.3.3-0.amzn2023.x86_64 lsof-4.94.0-1.amzn2023.0.2.x86_64 Complete!
Last metadata expiration check: 0:08:12 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.94.0-1.amzn2023.0.2 amazonlinux 240 k Installing dependencies: libtirpc x86_64 1.3.3-0.amzn2023 amazonlinux 95 k Transaction Summary ================================================================================ Install 2 Packages Total download size: 335 k Installed size: 827 k Downloading Packages: (1/2): libtirpc-1.3.3-0.amzn2023.x86_64.rpm 419 kB/s | 95 kB 00:00 (2/2): lsof-4.94.0-1.amzn2023.0.2.x86_64.rpm 1.0 MB/s | 240 kB 00:00 -------------------------------------------------------------------------------- Total 230 kB/s | 335 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libtirpc-1.3.3-0.amzn2023.x86_64 1/2 Installing : lsof-4.94.0-1.amzn2023.0.2.x86_64 2/2 Running scriptlet: lsof-4.94.0-1.amzn2023.0.2.x86_64 2/2 Verifying : libtirpc-1.3.3-0.amzn2023.x86_64 1/2 Verifying : lsof-4.94.0-1.amzn2023.0.2.x86_64 2/2 Installed: libtirpc-1.3.3-0.amzn2023.x86_64 lsof-4.94.0-1.amzn2023.0.2.x86_64 Complete!
22/01/2024 16:09:42 INFO: Installing openssl.
Last metadata expiration check: 0:08:14 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: openssl x86_64 1:3.0.8-1.amzn2023.0.10 amazonlinux 1.2 M Transaction Summary ================================================================================ Install 1 Package Total download size: 1.2 M Installed size: 1.8 M Downloading Packages: openssl-3.0.8-1.amzn2023.0.10.x86_64.rpm 2.5 MB/s | 1.2 MB 00:00 -------------------------------------------------------------------------------- Total 688 kB/s | 1.2 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : openssl-1:3.0.8-1.amzn2023.0.10.x86_64 1/1 Running scriptlet: openssl-1:3.0.8-1.amzn2023.0.10.x86_64 1/1 Verifying : openssl-1:3.0.8-1.amzn2023.0.10.x86_64 1/1 Installed: openssl-1:3.0.8-1.amzn2023.0.10.x86_64 Complete!
Last metadata expiration check: 0:08:14 ago on Mon Jan 22 16:01:28 2024. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: openssl x86_64 1:3.0.8-1.amzn2023.0.10 amazonlinux 1.2 M Transaction Summary ================================================================================ Install 1 Package Total download size: 1.2 M Installed size: 1.8 M Downloading Packages: openssl-3.0.8-1.amzn2023.0.10.x86_64.rpm 2.5 MB/s | 1.2 MB 00:00 -------------------------------------------------------------------------------- Total 688 kB/s | 1.2 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : openssl-1:3.0.8-1.amzn2023.0.10.x86_64 1/1 Running scriptlet: openssl-1:3.0.8-1.amzn2023.0.10.x86_64 1/1 Verifying : openssl-1:3.0.8-1.amzn2023.0.10.x86_64 1/1 Installed: openssl-1:3.0.8-1.amzn2023.0.10.x86_64 Complete!
22/01/2024 16:09:44 DEBUG: Checking Wazuh installation.
22/01/2024 16:09:45 DEBUG: Checking system architecture.
22/01/2024 16:09:45 WARNING: Hardware and system checks ignored.
22/01/2024 16:09:45 INFO: --- Configuration files ---
22/01/2024 16:09:45 INFO: Generating configuration files.
22/01/2024 16:09:45 DEBUG: Checking if OpenSSL is installed.
22/01/2024 16:09:45 DEBUG: Creating Wazuh certificates.
22/01/2024 16:09:45 DEBUG: Reading configuration file.
22/01/2024 16:09:45 DEBUG: Checking if 127.0.0.1 is private.
22/01/2024 16:09:45 DEBUG: Checking if 127.0.0.1 is private.
22/01/2024 16:09:45 DEBUG: Checking if 127.0.0.1 is private.
22/01/2024 16:09:45 DEBUG: Creating the root certificate.
........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+...+...+.........+.....+......+.......+...+.................+.+............+..+......+......+....+...........+.+..+...+....+.....+.+.........+..............+.......+.....+....+...+........+...+.+......+............+..+..........+.........+..+...+....+.....+......+....+...+...+.........+.....+...............+.......+...+.....+.+.........+..+....+.....+.+........+......+......+.+..+...+...+.+...+........+..........+..+.+......+.........+..+....+......+..+...+.............+......+.....+.+..+.+..+..........+..............+.........+......+......+.........+....+.....+.......+..+.......+......+..+.+.....+.+......+..+...+...+.+...........+...+.......+..............+...............+....+......+.........+.........+..+.+..+.+.................+....+........+...+....+...........+.......+...+..+.+.....................+...+...+...+............+..+............+.....................+...+.+.....+.+.....+.........+.+..+...+....+...+..+...+.+.....+..........+..+....+.....+.........+..........+..+...+.+...+..+...+..........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+.........+.......+...+.....+.......+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+......+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+........+.+..+..........+..+.+......+...+......+.....+......+...+...+....+.....+......+...+.+...................................+......+....+......+........+.+......+........+......+.........+....+..+...............+.........+....+..+.+..............+...+.+..+.............+......+...............+......+..+.+..+...+............+....+..............+......+...+...+.........+.........+.........+...+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
22/01/2024 16:09:46 DEBUG: Generating Admin certificates.
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = admin
22/01/2024 16:09:46 DEBUG: Generating Wazuh indexer certificates.
22/01/2024 16:09:46 DEBUG: Creating the Wazuh indexer certificates.
22/01/2024 16:09:46 DEBUG: Generating certificate configuration.
......+..+.+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+...+...........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+..............+.+......+.....+...+......+.+...............+..+......+....+...+..+.......+...+......+..+.........+....+..+.........+...+..........+.....+.+.........+..+.+..+.+...........+...+......+.+...+.....+............+.........+..........+..+.............+.....+....+...+..+..........+..+.+.................+.+..+....+.....+......+...+....+........+..........+.....+....+.....+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+.+........+.+.....+......+...+....+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.....+.+........+...+............+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+..........+.....+....+............+..+......+.+...............+........+.+..+.......+..+.+..+...+..........+.....+.............+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = node-1
22/01/2024 16:09:46 DEBUG: Generating Filebeat certificates.
22/01/2024 16:09:46 DEBUG: Creating the Wazuh server certificates.
22/01/2024 16:09:46 DEBUG: Generating certificate configuration.
........+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+......+..+.+.........+........+...+.+...........+.......+...+.................+...............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+..+.+....................+......+..........+...........+...+....+..+.+..+..........+.....+......+....+...+........+.+...+..+................+........+....+...........+.+......+.....+...+......+...+.+.........+......+..+.......+............+...+......+...........+.+........+.+...........+....+...+...........+.......+..................+..+...................+.....+.+........+.+...............+......+........+......................+...+..+.......+..+......+...+....+........+....+.....+.+........+.+.....+....+...........+......+.......+...+..............+...+...+.............+.........+.....+......+....+..+...+...............+.+..+...+.+......+.....+....+......+.....+........................+.........+............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+......+....+..................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+...+.+.........+........+...+.+.........+.........+.....+.+......+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.........+.+.........+..+.........+...+...+...+....+..+...................+..+.........+...+.+..+...+.+.........+......+...+...+........+......+.+..+.+.....+....+...+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = wazuh-1
22/01/2024 16:09:47 DEBUG: Generating Wazuh dashboard certificates.
22/01/2024 16:09:47 DEBUG: Creating the Wazuh dashboard certificates.
22/01/2024 16:09:47 DEBUG: Generating certificate configuration.
........+...+...+.+.....+...+...+...+.+......+........+.......+..+.......+...............+......+.....+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+....+..+..........+...+..+....+.....+...............+.+.....+.+...+......+......+...+......+.....+.............+..+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.......+..+.......+....................+.+.........+......+..+...+.............+..+.........+....+..+............+......+.+...+.....+...+....+...+..+....+.....+..........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
....+......+..+.+......+......+........+.+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.....+...+......+.+...+.....+...+.......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+....+......+.....+.......+..+.............+........+....+...+..+..........+...+...+.....+...+.......+..+......+.........+..........+............+...........+.......+........+....+...........+...............+....+...+.....+...............+.......+......+........+....+........+............+.+.........+......+.....+....+........+...+.........+.......+......+...+.....+.+.....+......+....+......+...+..+.......+...+..+...+....+........+.+.....+.+...............+.....+...............+......+.......+............+...+......+..+...+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Certificate request self-signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = dashboard
22/01/2024 16:09:47 DEBUG: Cleaning certificate files.
22/01/2024 16:09:47 DEBUG: Generating password file.
22/01/2024 16:09:47 DEBUG: Generating random passwords.
22/01/2024 16:09:47 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
22/01/2024 16:09:47 INFO: --- Dependencies ---
22/01/2024 16:09:47 INFO: Removing tar.
Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Removing: tar x86_64 2:1.34-1.amzn2023.0.3 @amazonlinux 3.0 M Transaction Summary ================================================================================ Remove 1 Package Freed space: 3.0 M Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : tar-2:1.34-1.amzn2023.0.3.x86_64 1/1 Verifying : tar-2:1.34-1.amzn2023.0.3.x86_64 1/1 Removed: tar-2:1.34-1.amzn2023.0.3.x86_64 Complete!
22/01/2024 16:09:47 INFO: Removing procps-ng.
Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: procps-ng x86_64 3.3.17-1.amzn2023.0.2 @amazonlinux 990 k Transaction Summary ================================================================================ Remove 1 Package Freed space: 990 k Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : procps-ng-3.3.17-1.amzn2023.0.2.x86_64 1/1 Verifying : procps-ng-3.3.17-1.amzn2023.0.2.x86_64 1/1 Removed: procps-ng-3.3.17-1.amzn2023.0.2.x86_64 Complete!
22/01/2024 16:09:48 INFO: Removing lsof.
Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: lsof x86_64 4.94.0-1.amzn2023.0.2 @amazonlinux 624 k Removing unused dependencies: libtirpc x86_64 1.3.3-0.amzn2023 @amazonlinux 203 k Transaction Summary ================================================================================ Remove 2 Packages Freed space: 827 k Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : lsof-4.94.0-1.amzn2023.0.2.x86_64 1/2 Erasing : libtirpc-1.3.3-0.amzn2023.x86_64 2/2 Running scriptlet: libtirpc-1.3.3-0.amzn2023.x86_64 2/2 Verifying : libtirpc-1.3.3-0.amzn2023.x86_64 1/2 Verifying : lsof-4.94.0-1.amzn2023.0.2.x86_64 2/2 Removed: libtirpc-1.3.3-0.amzn2023.x86_64 lsof-4.94.0-1.amzn2023.0.2.x86_64 Complete!
22/01/2024 16:09:48 INFO: Removing openssl.
Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: openssl x86_64 1:3.0.8-1.amzn2023.0.10 @amazonlinux 1.8 M Transaction Summary ================================================================================ Remove 1 Package Freed space: 1.8 M Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : openssl-1:3.0.8-1.amzn2023.0.10.x86_64 1/1 Verifying : openssl-1:3.0.8-1.amzn2023.0.10.x86_64 1/1 Removed: openssl-1:3.0.8-1.amzn2023.0.10.x86_64 Complete!
bash-5.2# 

⚠️ Besides, an extra change has been added. The systemd package can not be removed as it is a protected package. In case of AL2023 container, when the systemd package is installed, the WIA fails because it can not be uninstalled. In the previous log, it is seen that the package is installed, but after the certificates generation, it is not uninstalled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Subtask issue type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants