Tim Waugh wrote:
On Sat, Dec 04, 2004 at 10:48:54AM -0800, Tom London wrote:
Running strict/enforcing, latest Rawhide.
When logging in, cups, running in cupsd_config_t
wants to write /usr/lib/python/site-packages/printconf_tui.pyo,
and /usr/share/printconf/util/printconf_tui.pyo.
Strict and Permissive avc's shown below.
*sigh*
This comes up periodically. I am still waiting for the rpm
configuration bit that fixes this to be turned on.
Me too.
So I'll add brp-python-bytecompile to the automagic build root policy
script collection in the macro %__os_install_post within rpm default
configuration in my next rpm-4.3.3-2 build.
Which is a bit rude, much like inflicting -debuginfo everywhere
was a bit rude, and won't get rpm-4.3.3-2 into beehive build trees, and
won't rebuild the packages that need to include *.pyo, but
perhaps Godot will come along in a bit.
73 de Jeff
Index: platform.in
===================================================================
RCS file: /cvs/devel/rpm/platform.in,v
retrieving revision 2.17
diff -u -b -B -w -p -r2.17 platform.in
--- platform.in 8 Jan 2003 21:37:01 -0000 2.17
+++ platform.in 5 Dec 2004 14:27:39 -0000
@@ -57,6 +57,7 @@
@RPMCONFIGDIR@/brp-strip \
@RPMCONFIGDIR@/brp-strip-static-archive \
@RPMCONFIGDIR@/brp-strip-comment-note \
+ @RPMCONFIGDIR@/brp-python-bytecompile \
%{nil}
%__spec_install_post\