Bug #24417
closed
cannot install packages without disabling gpg check
Added by Anonymous almost 7 years ago.
Updated almost 7 years ago.
Description
On katello 3.8RC1, the command "yum install katello" fails because at least one package (tfm-rubygem-angular-rails-templates-1.0.2-2.el7.noarch.rpm) is not signed.
This package comes from foreman-plugins repo. After disabling gpgcheck in yum configuration, it installed.
- Assignee set to Jonathon Turel
- Triaged changed from No to Yes
I don't think that RC builds are supposed to be doing gpg verification. I'll see if we need to make sure that is corrected by RC2!
This time it fails on
Package tfm-rubygem-foreman_ansible_core-2.1.0-1.fm1_19.el7.noarch.rpm is not signed
I think this is a list of unsigned packages, it comes from changes applied by yum update, so maybe some other are not signed too
[root@foreman01 ~]# while read line; do rpm --checksig $line; done < <(find /var/cache/ -name "*rpm") | grep -v pgp
/var/cache/yum/x86_64/7/foreman-plugins/packages/rubygem-smart_proxy_ansible-2.0.3-1.fm1_19.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/foreman-plugins/packages/tfm-rubygem-bastion-6.1.11-1.fm1_19.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/foreman-plugins/packages/tfm-rubygem-foreman-tasks-0.13.3-1.fm1_19.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/foreman-plugins/packages/tfm-rubygem-foreman_ansible_core-2.1.0-1.fm1_19.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/foreman-plugins/packages/tfm-rubygem-foreman_discovery-12.0.2-1.fm1_19.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/foreman-plugins/packages/tfm-rubygem-foreman_remote_execution-1.5.4-1.fm1_19.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/foreman-plugins/packages/tfm-rubygem-foreman_remote_execution_core-1.1.3-1.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/foreman-plugins/packages/tfm-rubygem-foreman_templates-6.0.3-1.fm1_19.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/foreman-plugins/packages/tfm-rubygem-hammer_cli_foreman_remote_execution-0.1.0-1.fm1_19.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/katello/packages/foreman-installer-katello-3.8.0-0.1.rc1.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/katello/packages/katello-3.8.0-4.rc1.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/katello/packages/katello-common-3.8.0-4.rc1.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/katello/packages/katello-debug-3.8.0-4.rc1.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/katello/packages/katello-installer-base-3.8.0-0.1.rc1.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/katello/packages/katello-service-3.8.0-4.rc1.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/katello/packages/tfm-rubygem-hammer_cli_katello-0.14.0-1.201807171333git54e9f0b.el7.noarch.rpm: sha1 md5 OK
/var/cache/yum/x86_64/7/katello/packages/tfm-rubygem-katello-3.8.0-0.1.rc1.el7.noarch.rpm: sha1 md5 OK
Plugins are unsigned by design and we're not going to sign those. I do think the Katello packages are supposed to be signed. At least in Foreman we already sign the RCs so we can test that process.
Should the plugin repository configuration file have gpg check disabled by default ?
[foreman-plugins]
name=Foreman plugins 1.19
baseurl=https://yum.theforeman.org/plugins/1.19/el7/$basearch
enabled=1
gpgcheck=1
kattelo and katello-candlepin have gpgcheck disabled, yum update didn't complain about these packages.
Hart Mel wrote:
Should the plugin repository configuration file have gpg check disabled by default ?
[...]
Yes, it won't properly be fixed until RC2 out - but there is the workaround as you've discovered. Ewoud created the fix1 but it's not released yet (that'll be RC2).
[1] https://github.com/theforeman/foreman-packaging/pull/2819
- Project changed from Katello to Packaging
- Subject changed from cannot install katello packages without disabling gpg check to cannot install packages without disabling gpg check
Going to close this as a fix has been identified. Thanks for letting us know about it!
- Found in Releases added
- Found in Releases deleted (
Katello 3.8.0)
- Category set to RPMs
- Assignee changed from Jonathon Turel to Ewoud Kohl van Wijngaarden
- Target version set to 868
- Fixed in Releases added
- Status changed from New to Resolved
- Target version changed from 868 to 1.19.0
- Fixed in Releases 1.19.0 added
- Fixed in Releases deleted (
)
- Found in Releases 1.19.0 added
- Found in Releases deleted (
)
Also available in: Atom
PDF