Bug 1249109 - Review of pure-ftpd-selinux package
Summary: Review of pure-ftpd-selinux package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pure-ftpd
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaromír Cápík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-31 14:02 UTC by Miroslav Grepl
Modified: 2016-02-01 02:02 UTC (History)
3 users (show)

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:
Clone Of:
Environment:
Last Closed: 2016-01-08 03:26:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
pure-ftpd-selinux.patch (831 bytes, patch)
2015-07-31 14:02 UTC, Miroslav Grepl
no flags Details | Diff

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.


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