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
pcp-3.11.8-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-46a9ee7f93
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
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?
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.
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
pcp-3.11.9-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-aca0a468b4
pcp-3.11.9-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-def05eeac1
pcp-3.11.9-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c6c3616693
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
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
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
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.
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.
pcp-3.11.10-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c0a1605df5
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
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.