Gentoo Archives: gentoo-security

From: Alec Warner <warnera6@×××××××.edu>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] rsync password on local portage mirror
Date: Wed, 08 Mar 2006 00:22:50
Message-Id: 440E22BC.5030500@egr.msu.edu
In Reply to: [gentoo-security] rsync password on local portage mirror by Robert Larson
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

Attachments

File name MIME type
signature.asc application/pgp-signature