Bug 196118
Summary: | rpmbuild file_contexts errors after libselinux update | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Nečas <yeti> |
Component: | libselinux | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | nobody+pnasrat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Current | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-28 20:05:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Nečas
2006-06-21 08:27:39 UTC
Seeing the bug moved to selinux-policy... I can confirm `rpm -e selinux-policy selinux-policy-targeted' (on the SELinux-disabled system) stops the errors (have no idea how inactive policies interact with rpm packaging though). This actually looks like a bug in rpm. rpmbuild should not be calling matchpathcon when selinux is disabled. matchpathcon verifies the file context against what is running in the kernel and if it fails it prints this message. The library really shouldn't be printing - I have a return code which I can tell if it failed. Is there a method to disable logging/messages. OK I make it only print if built with DEBUG Flag. This code was only there for matchpathcon. Closing bugs |