Bug 129025
Summary: | cups writes /usr/share/printconf/util/backend.pyo, fails if /usr/share is not writable | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tom London <selinux> |
Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | mihai.ibanescu, sopwith, twaugh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.6.134-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-06-16 16:36: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: | 136451 |
Description
Tom London
2004-08-03 05:33:33 UTC
Fixing component. Apps that ship Python code should also ship the .pyo/.pyc bits IMHO -- but apparently this is not trivial to do correctly. CC'ing Python maintainer for further input. As far as SELinux goes (and I think this is what prompted this bug report) these should be dontaudit, and I thought they were at one point. dontaudit would remove the avc's, but the write of the file would fail. That would be OK if the the .pyo is never used, but then .... thanks The .pyo file is just to speed up loading of the Python module -- it is for optimization, which in this case is lost in the noise of having to load the foomatic database later on. Waiting for redhat-rpm-config to turn on the Python pre-compilation. (Reassigning.) Tim - if you'll tell me what changes to make, I can do that, or feel free to just check in the necessary changes yourself. /usr/lib/rpm/brp-python-bytecompile needs to get run in /usr/lib/rpm/redhat/brp-redhat. Enabled in redhat-rpm-config CVS, it'll wind up in the dist sooner Please build this. Thanks. |