Hi,

I have cloned the root fs and /usr onto a new machine (as I have done 
many times before)

I boot SystemRescueCD and mount the new root on, say,  /nroot
Then my standard procedure is as follows

mount -o bind /proc /nroot/proc
mount -o bind /dev /nroot/proc

chroot /nroot /bin/bash

cp /proc/mounts /etc/mtab
mount /usr

env-update

and finally

source /etc/profile

BUT, this time, env-update fails because it cannot
import site

the error being

TypeError  stat() argument 1 must be an encoded string without NULL 
bytes.

Has anybody an explanation for this failure?

(the system is bleeding edge ~amd64, eselected python-2.6 
(python-2.6.6-r1)

Many thanks for a hint,
Helmut.

Reply via email to