Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 120279
Summary: | rpm checks selinux/file_contents when selinux is disabled | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | shmuel siegel <fedora> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | devscott, gt, h.mayer, horsley1953, katzj, philip.r.schaffner, rkrishnamoorthy_81 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-05-07 04:12:23 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: | |||
Bug Depends On: | |||
Bug Blocks: | 114961 |
Description
shmuel siegel
2004-04-07 15:34:05 UTC
"same here" on FC2test3 (didn't have this scenario on FC2test2) kernel 2.6.5-1.327 policy policy-1.11.2-13 rpm-4.3.1-0.3 Similar problems with "yum upgrade" - lots of selinux errors. (OT - yum insists on "updating" compat-db which does not appear to have been installed originally and installs several compat packages to satisfy dependencies: # yum upgrade ... grabs lots of headers ... Finding obsoleted packages Resolving dependencies ..Dependencies resolved I will do the following: [update: compat-db 4.1.25-2.1.i386] I will install/upgrade these to satisfy the dependencies: [deps: compat-libstdc++-devel 7.3-2.96.126.i386] [deps: compat-gcc 7.3-2.96.126.i386] [deps: compat-gcc-c++ 7.3-2.96.126.i386] [deps: compat-libstdc++ 7.3-2.96.126.i386] Is this ok [y/N]: y /OT) This is where the selinux errors appear... rpm -e policy will shut rpm up pretty much. Discussed in #fedora-devel (22:57:24) jeremy: devscott: simple workaround is to put %__file_context_path %{nil} in /etc/rpm/macros Tis works to! Same here. Pretty annoying, in particular since selinux is off by default! Does one need the macro in case one turns selinux on? *** Bug 120612 has been marked as a duplicate of this bug. *** *** Bug 121226 has been marked as a duplicate of this bug. *** Should be better with current SysVinit + kernel. |