1 |
Robin H. Johnson wrote: |
2 |
> On Thu, Apr 22, 2010 at 12:09:21AM +0300, Amit Dor-Shifer wrote: |
3 |
> |
4 |
>> Hi all. Some questions rgd layman: |
5 |
>> |
6 |
>> 1. Seems like layman is hard-wired to contain the layman-global.txt |
7 |
>> list of overlays. What's the reasoning behind this? My issue |
8 |
>> w/this is that, lately, when gentoo.org was unreachable, this |
9 |
>> hard-wiring presented considerable hangs on fetch attempts. |
10 |
>> |
11 |
> It's definitely NOT hardcoded. |
12 |
> # grep www.gentoo.org /etc/layman/layman.cfg |
13 |
> overlays : http://www.gentoo.org/proj/en/overlays/repositories.xml |
14 |
> |
15 |
> |
16 |
amit0 ~ # grep -A 10 self.defaults\ = |
17 |
/usr/lib64/python2.6/site-packages/layman/config.py |
18 |
self.defaults = {'config' : '/etc/layman/layman.cfg', |
19 |
'storage' : '/usr/portage/local/layman', |
20 |
'cache' : '%(storage)s/cache', |
21 |
'local_list': '%(storage)s/overlays.xml', |
22 |
'make_conf' : '%(storage)s/make.conf', |
23 |
'nocheck' : 'yes', |
24 |
'proxy' : '', |
25 |
'umask' : '0022', |
26 |
'overlays' : |
27 |
* |
28 |
'http://www.gentoo.org/proj/en/overlays/layman-global.'* |
29 |
'txt',} |
30 |
|
31 |
When I invoke the following, I see http interaction w/gentoo.org: |
32 |
|
33 |
layman -c /dev/null -N -f -a oversi -o file:///tmp/layman-oversi.xml |
34 |
|
35 |
which AFAIK doesn't read /etc/layman/layman.cfg. |
36 |
|
37 |
http interaction indicated by running 'tshark host www.gentoo.org' while |
38 |
executing the above. |
39 |
|
40 |
Amit |