FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 07-20-2012, 02:10 AM
Karl Auer
 
Default re-reading /etc/gai.conf

Hi there.

I have a question: When and how does /etc/gai.conf get read?

I ask because I ran "ip addrlabel list" and got this:

prefix ::1/128 label 0
prefix ::ffff:0.0.0.0/96 label 4
prefix ::/96 label 3
prefix 2001::/32 label 6
prefix 2001:10::/28 label 7
prefix 2002::/16 label 2
prefix fc00::/7 label 5
prefix ::/0 label 1

Aside from the ordering (which is irrelevant) this is what is
in /etc/gai.conf.

Then I added a couple of label lines to /etc/gai.conf, but the output
from "ip addrlabel list" did not change. I had to manually set up my two
labels like this:

sudo ip addrlabel add prefix $PREFIX label $LABEL

Even rebooting (!) did not get my two extra lines into whatever the "ip"
program is using. It doesn't seem to be anywhere in /proc, but I may
have missed it.

I can work around this by running a suitable script, but I'm thinking
surely there must be some point at which the contents of /etc/gai.conf
are absorbed.

Regards, K.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer@biplane.com.au)
http://www.biplane.com.au/kauer

GPG fingerprint: AE1D 4868 6420 AD9A A698 5251 1699 7B78 4EEE 6017
Old fingerprint: DA41 51B1 1481 16E1 F7E2 B2E9 3007 14ED 5736 F687


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 06:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org