[CentOS] 4.6 update overwrote my /usr/lib/python2.3/site.py file

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Fri Dec 21 16:29:02 UTC 2007


On Fri, 2007-12-21 at 09:53 -0600, Jeff Larsen wrote:
> We had some custom additions to our site.py file for a third party
> application. 'yum update' to 4.6 overwrote the file with no backup or
> warning. Not hard to repair, but it did have me worried there for a
> few minutes when the application failed to start.
> 
> Is this a python issue, an upstream issue or a CentOS issue? Can
> something be done about it going forward?

[ignacio at centos4 ~]$ rpm -qf /usr/lib/python2.3/site.py
python-(none):2.3.4-14.4.i386
[ignacio at centos4 ~]$ rpm -qpl CentOS/RPMS/python-2.3.4-14.4.i386.rpm | \
> grep site\\.py
/usr/lib/python2.3/site.py
/usr/lib/python2.3/site.pyc
/usr/lib/python2.3/site.pyo
[ignacio at centos4 ~]$ 

Upstream.

Although an application requiring changes to site.py seems suspect to
me.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20071221/c2df6911/attachment.sig>


More information about the CentOS mailing list