Bug 1288203

Summary: dnf is yanking off selinux-policy and selinux-policy-targeted when you remove docker.
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsilhan, mluscon, packaging-team-maint, plautrba, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 14:37:27 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:

Description Daniel Walsh 2015-12-03 19:58:43 UTC
Docker accidentally requires selinux-policy, if you dnf remove docker, dnf will remove not only docker but selinux-policy and selinux-policy-targeted.

Why is dnf doing this?  Is there some way we need to mark selinux-policy to prevent this from happening.  Obviously selinux-policy is a core package on the system and should not be removed.

Comment 1 Michal Luscon 2015-12-08 14:37:27 UTC
Unfortunately, this is known bug in PackageKit. "dnf mark install selinux-policy" should help you.

*** This bug has been marked as a duplicate of bug 1259865 ***