[Bug 1029361] Re: resolv.conf 'attempts' option has no effect
Launchpad Bug Tracker
1029361 at bugs.launchpad.net
Mon Apr 1 04:17:22 UTC 2013
[Expired for eglibc (Ubuntu) because there has been no activity for 60
days.]
** Changed in: eglibc (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1029361
Title:
resolv.conf 'attempts' option has no effect
Status in “eglibc” package in Ubuntu:
Expired
Bug description:
From man(8) resolvconf:
/etc/resolvconf/resolv.conf.d/tail
File to be appended to the dynamically generated resolver con‐
figuration file. To append nothing, make this an empty file.
This file is a good place to put a resolver options line if one
is needed, e.g.,
options inet6
I tried to stick in some options to influence the behavior when my 12.04 system has no network connectivity:
Looking at man(5) resolv.conf, I added this to
/etc/resolvconf/resolv.conf.d/tail:
options timeout:2 attempts:1
After reloading the network, I can see both of these options in /etc/resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 2001:610:1:800a:192:87:106:106
nameserver 2001:610:188:140:145:100:188:188
search terena.org
options timeout:2 attempts:1
The configured timeout seems to work, but the 'attempts' doesn't.
Also putting in those values on their own on a single has the same
result: 'timeout' value gets picked up, 'attempts' doesn't.
FYI /etc/network/interfaces looks like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.87.30.17
netmask 255.255.255.192
gateway 192.87.30.1
# IPv6 static address
iface eth0 inet6 static
address 2001:610:148:dead::666
netmask 64
gateway 2001:610:148:dead::1
autoconf 0
privext 0
accept_ra 0
dns-search terena.org
dns-domain terena.org
dns-nameservers 2001:610:1:800a:192:87:106:106 2001:610:188:140:145:100:188:188
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1029361/+subscriptions
More information about the foundations-bugs
mailing list