Bug 638150 - conflicting specifications for /usr/bin/git-shell and /usr/libexec/git-core/git-shell
Summary: conflicting specifications for /usr/bin/git-shell and /usr/libexec/git-core/g...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 638136 638154 638172 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-28 11:58 UTC by Mads Kiilerich
Modified: 2010-10-19 07:05 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.7.19-65.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-19 07:05:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mads Kiilerich 2010-09-28 11:58:44 UTC
After a yum upgrade from f13 I get

filespec_add:  conflicting specifications for /usr/bin/git-shell and /usr/libexec/git-core/git-shell, using system_u:object_r:bin_t:s0.

selinux-policy-3.9.5-7.fc14.noarch

(There are other se errors on the system, but this seems like a good place to start.)

Comment 1 Daniel Walsh 2010-09-28 14:48:27 UTC
 matchpathcon /usr/libexec/git-core/git-shell /usr/bin/git-shell 
/usr/libexec/git-core/git-shell	system_u:object_r:shell_exec_t:s0
/usr/bin/git-shell	system_u:object_r:shell_exec_t:s0

They look the same to me on F14.

Could you do 

yum -y reinstall selinux-policy-targeted

And tell me if you see any errors?

Comment 2 Daniel Walsh 2010-09-28 14:49:32 UTC
*** Bug 638136 has been marked as a duplicate of this bug. ***

Comment 3 Mads Kiilerich 2010-09-28 15:07:59 UTC
Right, before:
# matchpathcon /usr/libexec/git-core/git-shell /usr/bin/git-shell 
/usr/libexec/git-core/git-shell	system_u:object_r:bin_t:s0
/usr/bin/git-shell	system_u:object_r:shell_exec_t:s0

After reinstall:
# matchpathcon /usr/libexec/git-core/git-shell /usr/bin/git-shell 
/usr/libexec/git-core/git-shell	system_u:object_r:shell_exec_t:s0
/usr/bin/git-shell	system_u:object_r:shell_exec_t:s0

(By the way: reinstalling the policy package showed ***** as progress. I guess it should have been silent.)

(I will relabel and reboot now and see what have changed.)

Comment 4 Mads Kiilerich 2010-09-28 15:47:50 UTC
Yes, that fixed it.

So ... will you file this as unexplained/user error? Or does it make sense to try to track down what happened?

As a mitigation I can imagine that it could be handy if the troubleshooter could tell which policy had been _successfully_ installed.


My packages got updated in this order:
Updated: checkpolicy-2.0.22-1.fc14.i686
Updated: selinux-policy-3.9.5-5.fc14.noarch
Updated: polkit-desktop-policy-0.98-4.fc14.noarch
Updated: selinux-policy-targeted-3.9.5-5.fc14.noarch
Updated: setroubleshoot-plugins-2.1.61-1.fc14.noarch
Updated: selinux-policy-3.9.5-7.fc14.noarch
Updated: selinux-policy-targeted-3.9.5-7.fc14.noarch
Updated: libselinux-2.0.96-5.fc14.i686
Updated: libselinux-python-2.0.96-5.fc14.i686
Updated: libselinux-utils-2.0.96-5.fc14.i686
Updated: policycoreutils-2.0.83-28.fc14.i686
Updated: policycoreutils-python-2.0.83-28.fc14.i686
Updated: setroubleshoot-server-2.2.99-1.fc14.i686
Updated: policycoreutils-gui-2.0.83-28.fc14.i686
Updated: setroubleshoot-2.2.99-1.fc14.i686
Installed: selinux-policy-targeted-3.9.5-7.fc14.noarch

so could it perhaps be caused by the policy being loaded by too old (f13) policycoreutils? Missing dependencies or yum not interpreting the dependencies sufficiently hard?

Comment 5 Mads Kiilerich 2010-09-28 15:49:46 UTC
*** Bug 638154 has been marked as a duplicate of this bug. ***

Comment 6 Mads Kiilerich 2010-09-28 15:50:54 UTC
*** Bug 638172 has been marked as a duplicate of this bug. ***

Comment 7 Daniel Walsh 2010-09-29 13:21:02 UTC
It looks like this is an actual bug in F13.

Comment 8 Miroslav Grepl 2010-10-01 13:22:14 UTC
Fixed in selinux-policy-3.7.19-63.fc13

Comment 9 Fedora Update System 2010-10-08 10:31:21 UTC
selinux-policy-3.7.19-65.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-65.fc13

Comment 10 Fedora Update System 2010-10-08 20:47:52 UTC
selinux-policy-3.7.19-65.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-65.fc13

Comment 11 Fedora Update System 2010-10-19 07:04:30 UTC
selinux-policy-3.7.19-65.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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