[EMAIL PROTECTED] wrote:

Apologies if this has been resolved but I couldn't find anything in the archives.


prepareclient and getimage both work with no problems. The problem arises when I try to image a new client, 99% of the files transfer, however the following error appears and the process stops:

rsync error: some files could not be transferred (code 23) at main.c(636)


The problem seems to be related to rsync. If I use the following on the command line , I get the same error I see when I use systemimager:


A) rsync -avHS --exclude=lost+found servername::image_name ./imagename

If I use:

B) rsync -avHS --exclude=lost+found dpangu7:/var/lib/systemimager/images/image_name ./imagename -e ssh (and enter the root passwd)

The rsync runs to completion.

The files that fail using method A) above, has trouble with files with ownership: rwx------, however, after changing them to rwx,r--,r--, most files seem to transfer (although there are still a few stragglers-especially the /usr/share/ssl and /var/lib/spool dirs?)

Looks like an rsync permission problem on the server. What user is the daemon running as? On my server, it's running as root with the command line:


  /usr/bin/rsync --daemon --config=/etc/systemimager/rsyncd.conf


Clearly, the problem w/ the workaround is you've relaxed file permissions on the image.



-- David N. Lombard Rossmoor, Orange County, CA http://www.fourmilab.ch/cgi-bin/uncgi/Earth?imgsize=320&opt=-z&lat=33.8&ns=North&lon=118.08&ew=West&alt=7&img=learth.evif


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to