Closed justchris1 closed 3 years ago
Could you file your issue in https://github.com/fluent-plugins-nursery/td-agent-builder ? Fluentd itself does not have creating package mechanism.
Done. Thanks - Sorry about that. I would have never guessed that was the right place.
td-agent won't operate as a repo on Redhat / Centos 8 (maybe 7 as well?) machines if repo_gpgcheck=1 is specified in the /etc/yum.repos.d configuration file. This prevents the repo metadata from be cryptographically validated to increase the confidence that the proper updates are being applied/installed.
Describe the bug TD should sign its metadata in the yum/dnf repository that it distributes so that it can be validated.
To Reproduce Follow instructions to install the repo in yum.repos.d as described here: https://docs.fluentd.org/installation/install-by-rpm NOTE: I had to remove the backslashes '\' from the baseurl to get it to work in RHEL 8. Then open the file installed (/etc/yum.repos.d/td.repo) and insert at the end
repo_gpgcheck=1
. Then execute 'dnf install td-agent'. The following occurs:Expected behavior The package would install since the repo metadata could be cryptographically verified.
Your Environment
fluentd --version
ortd-agent --version
: Uninstalled at this timecat /etc/os-release
: Redhat 8uname -r
: 4.18.0-305.3.1.el8.x86_64If you hit the problem with older fluentd version, try latest version first.
Your Configuration Not yet installed.
Your Error Log
Additional context
Some high compliance environments are not permitted to use repositories unless repo_gpgcheck=1 due to the potential avenues for targeted attacks on systems. Signing repository metadata enables users to be assured that the published data is valid and made available by the signer.