Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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.