Bug 1039930

Summary: p11-kit missing dependency
Product: Red Hat Enterprise Linux 6 Reporter: Steve Goldthorpe <stephen.goldthorpe>
Component: p11-kitAssignee: Stef Walter <stefw>
Status: CLOSED CURRENTRELEASE QA Contact: Aleš Mareček <amarecek>
Severity: high Docs Contact:
Priority: high    
Version: 6.5CC: amarecek, jrieden, jsvarova, kengert, ksrot, skremen, stephen.goldthorpe
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: p11-kit-0.18.5-2.el6_5.2 Doc Type: Bug Fix
Doc Text:
Previously, the p11-kit packages failed to install if the grep package was not already present on the system. This could cause update failures. Other packages (for example, ca-certificates) could also depend on p11-kit, and expose this problem indirectly. With this update, grep is installed with the p11-kit-trust subpackage as a dependency, and p11-kit installation no longer fails.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-19 11:32:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1053673    
Attachments:
Description Flags
0001-Add-missing-dependency-on-grep.patch none

Description Steve Goldthorpe 2013-12-10 10:59:18 UTC
Description of problem:
p11-kit-trust uses grep in it's %post but has no dependency on grep.  This makes the dependency ordering incorrect depending on what's being installed.

Version-Release number of selected component (if applicable):
p11-kit-trust-0.18.5-2

How reproducible:
Every time p11-kit-trust is installed before grep.

Steps to Reproduce:
1.
2.
3.

Actual results:
  Installing     : p11-kit-trust-0.18.5-2.el6.x86_64                      36/90 
/var/tmp/rpm-tmp.F7Tt89: line 5: grep: command not found

Expected results:
  Installing     : p11-kit-trust-0.18.5-2.el6.x86_64                      36/90

Additional info:
I'd assume a Requires(post) for the grep command should be added to the trust package section of the SPEC file.

Comment 2 Stef Walter 2014-01-07 08:05:03 UTC
Created attachment 846505 [details]
0001-Add-missing-dependency-on-grep.patch

Here's is the update to the p11-kit spec file which would fix this problem.

Comment 9 Stef Walter 2014-01-16 15:27:58 UTC
Fixed in p11-kit-0.18.5-4.el6.

Comment 10 Stef Walter 2014-08-07 06:50:28 UTC
Shouldn't this bug be closed? I believe this fix was included in RHEL 6.5, right?

Comment 11 Aleš Mareček 2014-09-19 11:32:36 UTC
RHEL-6.6 contains: p11-kit-0.18.5-2.el6_5.2 - fixed, passes version.
This bug has been fixed in RHEL-6.5.z and RHEL-6.6 contains the exact same version.
Closing as CURRENTRELEASE.