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
Show replies by date