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 1284081

Summary: Git (cli tool) incorrectly depends on gnome (libgnome-keyring)
Product: Red Hat Enterprise Linux 7 Reporter: Steven French <smfrench>
Component: gitAssignee: Pavel Cahyna <pcahyna>
Status: CLOSED ERRATA QA Contact: Leos Pol <lpol>
Severity: unspecified Docs Contact: Marie Hornickova <mdolezel>
Priority: unspecified    
Version: 7.1CC: elyscape, ovasik, pcahyna, psklenar, vslavik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: git-1.8.3.1-16.el7 Doc Type: Bug Fix
Doc Text:
The helper to store credentials in a GNOME keyring is now available in the _git-gnome-keyring_ subpackage Previously, installing *git* automatically installed GNOME components as a dependency, because the helper to store credentials in a GNOME keyring was part of the *git* package. With this update, the helper has been moved into the separate _git-gnome-keyring_ subpackage. As a result, the size of a *git* installation is reduced. To install the subpackage: # yum install git-gnome-keyring
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:38:28 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: 1598184    
Bug Blocks: 1400961, 1465925, 1472751    

Description Steven French 2015-11-20 18:31:34 UTC
Description of problem:
simple, common cli tools (git) should not depend on bringing in gnome (in particular git rpm in RHEL7.1 depends on libgnome-keyring)

Version-Release number of selected component (if applicable):


How reproducible:

yum install git

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Petr Stodulka 2015-12-07 16:57:51 UTC
That makes sense.

Comment 3 Eli Young 2016-12-23 01:45:14 UTC
This is a result of the git-core package including git-credential-gnome-keyring. That should probably go into its own package.

Comment 4 Petr Stodulka 2017-01-24 15:54:10 UTC
Eli: yes, this is expected solution.

Comment 5 Petr Stodulka 2017-01-24 15:57:05 UTC
Just one problem is here, that this will be little incompatible change, because some people, who uses gnome-keyrings in git, will have to install manually another sub-package.

Comment 10 Petr Stodulka 2017-09-20 11:16:54 UTC
Move this bug to RHEL-7.6, because there is another bug for change in packaging of the Git that will not be acked for testing for rhel-7.5 and make sense move these two bugs together as both of them can involve requirement for manual installation of new sub-packages by user.

Comment 12 Leos Pol 2018-07-25 11:31:49 UTC
# rpm -q git
git-1.8.3.1-13.el7.x86_64
# rpm -qR git | grep gnome
libgnome-keyring.so.0()(64bit)

# rpm -q git
git-1.8.3.1-18.el7.x86_64
# rpm -qR git | grep gnome
# rpm -q git-gnome-keyring
git-gnome-keyring-1.8.3.1-18.el7.x86_64

Comment 19 errata-xmlrpc 2018-10-30 11:38:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3275