opensubscriber
   Find in this group all groups
 
Unknown more information…

u : ubuntu-users@lists.ubuntu.com 20 July 2012 • 10:10AM -0400

re-reading /etc/gai.conf
by Karl Auer

REPLY TO AUTHOR
 
REPLY TO GROUP




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@bipl...)
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@list...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.