Bug 1039930 - p11-kit missing dependency
Summary: p11-kit missing dependency
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: p11-kit
Version: 6.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Stef Walter
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On:
Blocks: 1053673
TreeView+ depends on / blocked
 
Reported: 2013-12-10 10:59 UTC by Steve Goldthorpe
Modified: 2016-03-30 14:40 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-09-19 11:32:36 UTC
Target Upstream Version:


Attachments (Terms of Use)
0001-Add-missing-dependency-on-grep.patch (1.26 KB, patch)
2014-01-07 08:05 UTC, Stef Walter
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.