Bug 1334061

Summary: selinux-policy package clashes with package pam on pam_selinux.8 manpage
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal.jnn>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 25CC: dan, dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-189.fc25 selinux-policy-3.13.1-208.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-17 03:04:24 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 Michal Jaegermann 2016-05-07 20:49:29 UTC
Description of problem:

An attempt of an update ends up with:

Error: Transaction check error:
  file /usr/share/man/man8/pam_selinux.8.gz conflicts between attempted installs of selinux-policy-doc-3.13.1-187.fc25.noarch and pam-1.3.0-1.fc25.x86_64

and the whole transanction fails without a manual intervention to force installing these packages.

/usr/share/man/man8/pam_selinux.8.gz has even a different byte count depending a package from which it is coming.  A version from 'man-pages' so far is not there but if we wait long enough ...

Version-Release number of selected component (if applicable):
pam-1.3.0-1.fc25.x86_64
selinux-policy-3.13.1-187.fc25

Comment 1 Miroslav Grepl 2016-05-09 06:03:40 UTC
We should skip the pam_selinux man page in sepolicy-manpage.

Comment 2 Petr Lautrbach 2016-05-09 08:48:05 UTC
man pages are not generated during build these days. There are shipped in manpages_man.tgz. I guess that this file needs to be regenerated as pam's pam_selinux man pages has probably changed.

Comment 3 Lukas Vrabec 2016-05-09 10:17:05 UTC
Yes, Petr is right. 
There are more pages which need to be regenerated.

We should also revert temporary fix with storing manpages in tgz file. This change was just temporary due to problems with new userspace rebase.

Comment 4 Petr Lautrbach 2016-05-10 08:21:06 UTC
*** Bug 1334631 has been marked as a duplicate of this bug. ***

Comment 5 Petr Lautrbach 2016-05-10 08:22:19 UTC
The pam_selinux man page in selinux-policy-doc is apparently copied from older pam release. It needs to be dropped.

Comment 6 Dan HorĂ¡k 2016-05-10 08:54:25 UTC
rawhide buildroots in koji (not all of them) are broken due this issue, so please fix ASAP

Comment 7 Jan Kurik 2016-07-26 04:38:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 8 Fedora Update System 2016-08-12 15:57:39 UTC
selinux-policy-3.13.1-208.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-662487f8f1

Comment 9 Fedora Update System 2016-08-17 03:02:47 UTC
selinux-policy-3.13.1-208.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.