Project

General

Profile

Bug #17280

for RHEL6, rubygem-foreman_scap_client depends on openscap-utils instead of openscap-scanner only

Added by Chris Roberts about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
RPMs
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from BZ:

Description of problem:
When Openscap is used on RHEL6 clients, these systems must install rubygem-foreman-scap-client, which depnds on openscap-utils, and also depends indirectly on gdb, often undesirable in production environments.

Version-Release number of selected component (if applicable):
rubygem-foreman_scap_client-0.1.2-1.el6sat

How reproducible:
100%

Steps to Reproduce:
1. yum install rubygem-foreman_openscap_client, on a RHEL6 host
2. Watch gdb being installed as a dependency
3.

Actual results:
gdb and rpmdevtools are indirect dependencies of rubygem-foreman_scap_client

Expected results:
only openscap-scanner package is required

Additional info:
In newer minor releases, the scanner (openscap-scanner) has been separted from the openscap-utils package, and should be used as a dependency instead. This is already the case for the package for RHEL7.

History

#1 Updated by Chris Roberts about 4 years ago

Rebuilt rpm with non needed dep removed and it worked:

[root@dhcp-10-12-211-103 ~]# ls
anaconda-ks.cfg rubygem-foreman_scap_client-0.2.0-1.el6.noarch.rpm
[root@dhcp-10-12-211-103 ~]# yum localinstall rubygem-foreman_scap_client-0.2.0-1.el6.noarch.rpm
Loaded plugins: product-id, search-disabled-repos, security, subscription-manager
Setting up Local Package Process
Examining rubygem-foreman_scap_client-0.2.0-1.el6.noarch.rpm: rubygem-foreman_scap_client-0.2.0-1.el6.noarch
Marking rubygem-foreman_scap_client-0.2.0-1.el6.noarch.rpm to be installed
rhel-6-server-optional-rpms | 2.0 kB 00:00
rhel-6-server-rh-common-rpms | 2.1 kB 00:00
rhel-6-server-rhev-agent-rpms | 2.0 kB 00:00
rhel-6-server-rpms | 2.0 kB 00:00
rhel-6-server-satellite-tools-6.2-rpms | 2.1 kB 00:00
rhel-6-server-supplementary-rpms | 2.0 kB 00:00
rhel-server-rhscl-6-rpms | 2.0 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package rubygem-foreman_scap_client.noarch 0:0.2.0-1.el6 will be installed
--> Processing Dependency: ruby(abi) >= 1.8 for package: rubygem-foreman_scap_client-0.2.0-1.el6.noarch
--> Processing Dependency: /usr/bin/ruby for package: rubygem-foreman_scap_client-0.2.0-1.el6.noarch
--> Processing Dependency: ruby(rubygems) for package: rubygem-foreman_scap_client-0.2.0-1.el6.noarch
--> Running transaction check
---> Package ruby.x86_64 0:1.8.7.374-4.el6_6 will be installed
---> Package ruby-libs.x86_64 0:1.8.7.374-4.el6_6 will be installed
--> Processing Dependency: libreadline.so.5()(64bit) for package: ruby-libs-1.8.7.374-4.el6_6.x86_64
---> Package rubygems.noarch 0:1.3.7-5.el6 will be installed
--> Processing Dependency: ruby-rdoc for package: rubygems-1.3.7-5.el6.noarch
--> Running transaction check
---> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed
---> Package ruby-rdoc.x86_64 0:1.8.7.374-4.el6_6 will be installed
--> Processing Dependency: ruby-irb = 1.8.7.374-4.el6_6 for package: ruby-rdoc-1.8.7.374-4.el6_6.x86_64
--> Running transaction check
---> Package ruby-irb.x86_64 0:1.8.7.374-4.el6_6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================================================
Package Arch Version Repository Size ====================================================================================================================================================================================================================
Installing:
rubygem-foreman_scap_client noarch 0.2.0-1.el6 /rubygem-foreman_scap_client-0.2.0-1.el6.noarch 41 k
Installing for dependencies:
compat-readline5 x86_64 5.2-17.1.el6 rhel-6-server-rpms 129 k
ruby x86_64 1.8.7.374-4.el6_6 rhel-6-server-rpms 538 k
ruby-irb x86_64 1.8.7.374-4.el6_6 rhel-6-server-rpms 317 k
ruby-libs x86_64 1.8.7.374-4.el6_6 rhel-6-server-rpms 1.7 M
ruby-rdoc x86_64 1.8.7.374-4.el6_6 rhel-6-server-rpms 381 k
rubygems noarch 1.3.7-5.el6 rhel-6-server-optional-rpms 207 k

Transaction Summary ====================================================================================================================================================================================================================
Install 7 Package(s)

#2 Updated by Chris Roberts about 4 years ago

  • Status changed from New to Ready For Testing

#3 Updated by Dominic Cleal about 4 years ago

  • Project changed from Foreman to Packaging
  • Category changed from Packaging to RPMs
  • Target version deleted (140)

#4 Updated by Chris Roberts about 4 years ago

New build with Dominic changes:

Dependencies Resolved

================================================================================
Package Arch Version Repository Size ================================================================================
Installing:
rubygem-foreman_scap_client
noarch 0.2.0-1.el6 /rubygem-foreman_scap_client-0.2.0-1.el6.noarch
41 k
rubygem-foreman_scap_client-doc
noarch 0.2.0-1.el6 /rubygem-foreman_scap_client-doc-0.2.0-1.el6.noarch
23 k
Installing for dependencies:
compat-readline5 x86_64 5.2-17.1.el6 rhel-6-server-rpms 129 k
openscap x86_64 1.2.8-2.el6 rhel-6-server-rpms 3.9 M
openscap-scanner x86_64 1.2.8-2.el6 rhel-6-server-rpms 45 k
ruby x86_64 1.8.7.374-4.el6_6 rhel-6-server-rpms 538 k
ruby-irb x86_64 1.8.7.374-4.el6_6 rhel-6-server-rpms 317 k
ruby-libs x86_64 1.8.7.374-4.el6_6 rhel-6-server-rpms 1.7 M
ruby-rdoc x86_64 1.8.7.374-4.el6_6 rhel-6-server-rpms 381 k
rubygems noarch 1.3.7-5.el6 rhel-6-server-rh-common-rpms 207 k

Transaction Summary ================================================================================
Install 10 Package(s)

#5 Updated by The Foreman Bot about 4 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/1410 added

#6 Updated by Dominic Cleal about 4 years ago

  • Status changed from Ready For Testing to Closed

Fixed in rubygem-foreman_scap_client-0.1.2-2 on rpm/1.12.

#7 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) set to 194

Also available in: Atom PDF