1 |
Robert Larson wrote: |
2 |
> Hello list, |
3 |
> |
4 |
> I am trying to setup a password on my local rsync portage mirror. This is |
5 |
> what I have done thus far: |
6 |
> |
7 |
> On the server: |
8 |
> 1. Added "secrets file = /etc/rsyncd.users" and "auth users = portage" |
9 |
> to /etc/rsyncd.conf in the appropriate places. |
10 |
> 2. Placed "portage:notmypassword" in /etc/rsyncd.users |
11 |
> 3. /etc/init.d/rsyncd restart |
12 |
> |
13 |
> On the client: |
14 |
> 1. Added RSYNC_OPTIONS="--password-file=/etc/portage/rsync.user" |
15 |
> to /etc/make.conf. |
16 |
> 2. Modified SYNC in make.conf to include the user: |
17 |
> SYNC="rsync://portage@×××××××××××.local/gentoo-portage" |
18 |
> 3. echo 'notmypassword' >/etc/portage/rsync.user |
19 |
> |
20 |
> Now, I type "emerge --sync" and I get prompted for a password (if I were to |
21 |
> make a guess, it's that the variable "RSYNC_OPTIONS" is not referenced by |
22 |
> portage). |
23 |
|
24 |
RSYNC_OPTIONS is not currently supported in any release version of portage. |
25 |
|
26 |
> |
27 |
> Am I doing something wrong, or is there another way to do this? |
28 |
> |
29 |
> Thanks, |
30 |
> |
31 |
> Robert Larson |