Bug 1433271 - Error during installation of pcp-selinux
Summary: Error during installation of pcp-selinux
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcp
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Berk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-17 09:22 UTC by Dominik Perpeet
Modified: 2017-06-09 19:02 UTC (History)
8 users (show)

Fixed In Version: pcp-3.11.9-1.fc24 pcp-3.11.10-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-09 19:02:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
pcpupstream.cil from pp /var/lib/pcp/selinux/pcpupstream.pp (1.10 KB, text/plain)
2017-03-17 21:07 UTC, Dominik Perpeet
no flags Details

Description Dominik Perpeet 2017-03-17 09:22:26 UTC
Description of problem:

During our Cockpit CI creation of Fedora 26 images, the installation of pcp-selinux produces errors for the pcp-selinux package.

Version-Release number of selected component (if applicable):
pcp-selinux-3.11.8-1.fc26.x86_64 

How reproducible:
Always

Steps to Reproduce:
1. Install pcp-selinux on Fedora 26

Actual results:
Installing  : pcp-selinux-3.11.8-1.fc26.x86_64                        378/503 
libsemanage.map_file: Unable to open %{localstatedir}/lib/pcp/selinux/pcpupstream.pp 
 (No such file or directory).
libsemanage.semanage_direct_install_file: Unable to read file %{localstatedir}/lib/pcp/selinux/pcpupstream.pp
 (No such file or directory).
semodule:  Failed on %{localstatedir}/lib/pcp/selinux/pcpupstream.pp!
warning: %post(pcp-selinux-3.11.8-1.fc26.x86_64) scriptlet failed, exit status 1

Comment 2 Fedora Update System 2017-03-17 14:39:45 UTC
pcp-3.11.8-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-46a9ee7f93

Comment 3 Dominik Perpeet 2017-03-17 16:00:42 UTC
On a fresh install I get the following error when installing the packages from pcp-3.11.8-2.fc26:

Installing  : pcp-selinux-3.11.8-2.fc26.x86_64                        206/294 
Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/pcpupstream/cil:13
semodule:  Failed!
warning: %post(pcp-selinux-3.11.8-2.fc26.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package pcp-selinux
Non-fatal POSTIN scriptlet failure in rpm package pcp-selinux

Comment 4 Lukas Berk 2017-03-17 20:14:03 UTC
Hey Dominik, 

I'm unable to reproduce this on a local setup.
would you be able to run /usr/libexec/selinux/hll/pp /var/lib/pcp/selinux/pcpupstream.pp pcpupstream.cil

and attach the resulting .cil file?

Comment 5 Dominik Perpeet 2017-03-17 21:07:42 UTC
Created attachment 1264291 [details]
pcpupstream.cil from pp /var/lib/pcp/selinux/pcpupstream.pp

I ran the command after installing the package and produced the attached .cil file.

Comment 6 Fedora Update System 2017-03-17 22:23:19 UTC
pcp-3.11.8-2.fc26 has been pushed to the Fedora 26 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-2017-46a9ee7f93

Comment 7 Fedora Update System 2017-04-02 05:14:09 UTC
pcp-3.11.9-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-aca0a468b4

Comment 8 Fedora Update System 2017-04-02 05:15:27 UTC
pcp-3.11.9-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-def05eeac1

Comment 9 Fedora Update System 2017-04-02 05:16:47 UTC
pcp-3.11.9-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c6c3616693

Comment 10 Fedora Update System 2017-04-03 02:22:10 UTC
pcp-3.11.9-1.fc24 has been pushed to the Fedora 24 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-2017-c6c3616693

Comment 11 Fedora Update System 2017-04-03 02:22:28 UTC
pcp-3.11.9-1.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-2017-def05eeac1

Comment 12 Fedora Update System 2017-04-03 03:53:33 UTC
pcp-3.11.9-1.fc26 has been pushed to the Fedora 26 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-2017-aca0a468b4

Comment 13 Fedora Update System 2017-04-10 21:20:47 UTC
pcp-3.11.9-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2017-04-11 04:51:20 UTC
pcp-3.11.9-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2017-05-18 16:31:11 UTC
pcp-3.11.10-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c0a1605df5

Comment 16 Fedora Update System 2017-05-19 21:10:19 UTC
pcp-3.11.10-1.fc26 has been pushed to the Fedora 26 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-2017-c0a1605df5

Comment 17 Fedora Update System 2017-06-09 19:02:40 UTC
pcp-3.11.10-1.fc26 has been pushed to the Fedora 26 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.