Hi Pedja, On Fri, Dec 09, 2005 at 00:06:20 +0100, Predrag Ivanovic wrote:
On Wed, 7 Dec 2005 22:37:32 +0100 Johannes Winkelmann wrote:
Hi, Hi Johannes.
If you want to get the rsync ports, you can do the following: [...] This should give you tthe latest ports in /usr/ports/rsync.
I did all that,and it works great,quicker,IMHO, than with svn repo. Good to hear. I'm also quite impressed by the speed.
A question,if I may. After checkout I get the following : -- Error: Couldn't chroot into /usr/ports/rsync/opt (Operation not permitted) Updating failed --- Same error with contrib,core and contrib-test. Since I'm using Han's pkgutils,I run ports -u as non-root,and all directories under /usr/ports are owned by that user(all permissions are OK,AFAICT). Okay; well, I
I don't get that error with either cvsup or httup backend. This line from rsync driver trigers it: --- # use chroot as an additional safety measure when removing files chroot($destination) or error("Couldn't chroot into $destination"); chdir('/'); --- How can I resolve this? Is there a workaround? You're the first to report that (and it's good to learn about this now before we switch), thanks.
man chroot isn't very helpful :-( man 2 chroot describes the system call if you look for details
How does this chroot thingie work,anyway? Basically, it just uses /usr/ports/opt as its new root, which is a really effective way to make sure we don't accidently remove other files (since they're not accessible from within this chroot environment). We'll try to find a better solution for it soon, stay tuned :-).
Other than that,great work,as always,from CLC crew,thank you <g> Thank you!
Best regards, Johannes -- Johannes Winkelmann mailto:jw@tks6.net Bern, Switzerland http://jw.tks6.net