unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nala Ginrut <mulei@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org, Nala Ginrut <mulei@gnu.org>
Subject: Re: Support rsync to help Chinese users to setup mirrors
Date: Fri, 09 Aug 2019 13:52:51 +0800	[thread overview]
Message-ID: <87ef1usx58.fsf@debian> (raw)
In-Reply-To: <87imr7wdae.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]


Ricardo Wurmus writes:

> I’m aware.  I lived with the firewall for ~7 years and would like to
> make sure that people who are subjected to the firewall can use Guix
> without being restricted.

Alas, why does this happen everywhere in this decade...

>> We hope there's a way like rsync to sync /gnu/store with upstream, so
>> that we can provide a faster cache for Chinese users.
>
> I think it may be best to just sync the cache of nars and narinfos.

Yes it's better to just sync the necessary parts.

> Would rsync over SSH be sufficient or does it have to be rsyncd on the
> default rsync port?  (SSH will be easier for me because then I don’t
> need to apply for another port to be opened at the institute firewall.)

I think SSH will be interfered frequently by the firewall, because many
people use SSH for anti-circumvention. It's better to use rsyncd.
Considering there's verification, so the encryption is unnecessary.

> I’ve also been looking into our options for restricting rsync access via
> chroot or namespaces.  Looks like the easiest way to do this is to have
> an rsync user account that is restricted to a chroot with access to the
> nar cache.

I think it can be configured as anonymouse read-only authority. And
open the necessary directories.


Best regards.

--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-08-09  5:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01 10:56 Support rsync to help Chinese users to setup mirrors Nala Ginrut
2019-08-01 14:22 ` Ricardo Wurmus
2019-08-02  7:35   ` Nala Ginrut
2019-08-07  6:31     ` Nala Ginrut
2019-08-07  7:44       ` Ricardo Wurmus
2019-08-08  9:35         ` Nala Ginrut
2019-08-08 11:39           ` Ricardo Wurmus
2019-08-08 18:56             ` Nala Ginrut
2019-08-08 21:35               ` Ricardo Wurmus
2019-08-09  5:52                 ` Nala Ginrut [this message]
2019-08-09  8:52                   ` Ricardo Wurmus
2019-08-10  8:18                     ` Nala Ginrut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ef1usx58.fsf@debian \
    --to=mulei@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).