Ceph install overwrites python3.7/site-packages/easy-install.pth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I noted, when compile Ceph from source and install, the "make install" overwrites the /usr/local/lib/python3.7/site-packages/easy-install.pth.

Before install Ceph, /usr/local/lib/python3.7/site-packages/easy-install.pth:
import sys; sys.__plen = len(sys.path)
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)

After install Ceph, /usr/local/lib/python3.7/site-packages/easy-install.pth:
./ceph_volume-1.0.0-py3.7.egg
./ceph_volume_zfs-0.1.0-py3.7.egg
./ceph-1.0.0-py3.7.egg

The source is git master (v15.1.0).

Are you sure this overwrite is right? Did you all mean to append ceph stuff?

Btw, I'm not a Python programmer, but as a sys admin it's quite scaring my previous content gone.

Regards
Sagara
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux