%ghost .pyo

Toshio Kuratomi toshio at tiki-lounge.com
Wed Dec 22 13:29:17 UTC 2004


On Wed, Dec 22, 2004 at 08:33:14AM +0800, Jeff Pitman wrote:
> On Wednesday 22 December 2004 05:45, Toshio Kuratomi wrote:
> > Additionally, aren't python optimized files a non-default
> > setting?  
> 
> They don't need to exist for proper python operation.
> 
> > So someone had to set root on the tripwire enabled boxes to 
> > create these files in the first place?
> 
> Probably. So, it has to be explicitly setup now. Any SELinux 
> implications?
> 
Seems like SELinux should be the same as a read-only root.  Python app
tries to write to /usr directory protected by SELinux.  It's denied.
Application continues on its way.

> Do note that the base python package does distribute pyo, it's the 
> modules and apps that %ghost them in the fedora.us template.  (Unless 
> the python package has been changed in Rawhide...)
> 
Yep.  And that's 17 MB I have to reclaim manually on my laptop.

-Toshio




More information about the devel mailing list