Bug 1249109

Summary: Review of pure-ftpd-selinux package
Product: [Fedora] Fedora Reporter: Miroslav Grepl <mgrepl>
Component: pure-ftpdAssignee: Jaromír Cápík <jcapik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jcapik, mi, ovasik
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pure-ftpd-1.0.42-2.fc23 pure-ftpd-1.0.42-3.fc22 pure-ftpd-1.0.42-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-08 03:26:34 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:
Attachments:
Description Flags
pure-ftpd-selinux.patch none

Description Miroslav Grepl 2015-07-31 14:02:54 UTC
Created attachment 1058061 [details]
pure-ftpd-selinux.patch

Description of problem:

Due to https://fedoraproject.org//wiki/Changes/SELinuxPolicyStoreMigration we test all packages shipping own SELinux policy. 

We are able to install the package correctly. But it causes issues if users try to disable mysql/postgresql policies.

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

$ rpm -q pure-ftpd-selinux selinux-policy-targeted
pure-ftpd-selinux-1.0.40-2.fc23.x86_64
selinux-policy-targeted-3.13.1-138.fc23.noarch

How reproducible:

# dnf install pure-ftpd-selinux
# semodule -d mysql
# semodule -d postgresql


Actual results:

# semodule -d mysql
Failed to resolve typeattributeset statement at 9 of /var/lib/selinux/targeted/tmp/modules/400/pureftpd/cil
Failed to resolve ast
semodule: Failed!

# semodule -d postgresql
Failed to resolve typeattributeset statement at 14 of /var/lib/selinux/targeted/tmp/modules/400/pureftpd/cil
Failed to resolve ast
semodule:  Failed!

Expected results:

mysql and postgresql policy modules can be disabled.

Additional info:

Comment 1 Fedora Update System 2015-08-05 19:18:51 UTC
pure-ftpd-1.0.42-2.fc23 has been submitted as an update for Fedora 23.
https://admin.fedoraproject.org/updates/pure-ftpd-1.0.42-2.fc23

Comment 2 Fedora Update System 2015-08-06 16:02:17 UTC
Package pure-ftpd-1.0.42-2.fc23:
* should fix your issue,
* was pushed to the Fedora 23 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pure-ftpd-1.0.42-2.fc23'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-12889/pure-ftpd-1.0.42-2.fc23
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2015-08-15 02:12:09 UTC
pure-ftpd-1.0.42-2.fc23 has been pushed to the Fedora 23 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2015-12-23 15:54:11 UTC
pure-ftpd-1.0.42-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-e6e1d52315

Comment 5 Fedora Update System 2015-12-23 15:55:32 UTC
pure-ftpd-1.0.42-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-afefa831e1

Comment 6 Fedora Update System 2015-12-27 03:20:43 UTC
pure-ftpd-1.0.42-3.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2015-e6e1d52315

Comment 7 Fedora Update System 2015-12-30 20:56:57 UTC
pure-ftpd-1.0.42-3.fc22 has been pushed to the Fedora 22 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-2015-afefa831e1

Comment 8 Fedora Update System 2016-01-08 03:26:28 UTC
pure-ftpd-1.0.42-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-01-10 18:52:32 UTC
pure-ftpd-1.0.42-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.