A quesition about the configration of your rsync server.
于广辉兄:
我目前正通过你的 rsync server -- mirror.dlut.edu.cn
mirror Debian 的 ftp archive.
可是当原先用来从境外 mirror debian
的 scripts (现在我的 proxy 对那些站点都不管用了, 所以只好从你这里 mirror 了)
来 mirror 你的站点时确遇到了问题:
mirror 来的目录错位了, 这样我的站点的用户的 sources.list 需要修改
才行, 或者我在我的 script 中要多改动一些东西, 并且糟糕的是, 我是在
rsync 运行了一整天以后才从我的用户们那里得到这个错误报告的, 现在我
需要对 /home/ftp 目录下的东西作大手术... :(
我们知道: 通常的 debian 的 ftp archive 中, debian 和 debian-non-US
通过不同的 rsync modules 提供给用户.
所以, 我建议你采用类似下面的 /etc/rsyncd.conf
[debian]
path = /home/ftp/debian
comment = Debian GNU/Linux (binary-i386 & source)
use chroot = true
[debian-non-US]
path = /home/ftp/debian-nonus
comment = Debian GNU/Linux (Non US) (binary-i386 & source)
use chroot = true
这样可以得到较好的通用性, 这样不必给镜像增添不必要的麻烦.
参考: ftp://hua.math.ustc.edu.cn/rsync_scripts/anonftpsync
ftp://hua.math.ustc.edu.cn/rsync_scripts/anonftpsync-non-US
是我用来 mirror debian 的 scripts.
对绝大多数 提供 rsync service 的 debian mirror site 使用.
当然 , 我们需要修改 RSYNC_HOST=hua.math.ustc.edu.cn 这一行来
满足我们的实际需要..
希望你认真考虑一下..
Thanks.
Regards Su
Reply to: