ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.ru>
To: sisyphus@lists.altlinux.org
Cc: shigorin@gmail.com
Subject: Re: [sisyphus] q: stale DHCP lease info in resolv.conf
Date: Sat, 17 Jul 2010 17:22:19 +0400
Message-ID: <20100717172219.583e762f@altlinux.ru> (raw)
In-Reply-To: <20100717130533.GS17916@osdn.org.ua>

On Sat, 17 Jul 2010 16:05:33 +0300
Michael Shigorin wrote:
> Был в командировке, работал по wifi, в какой-то момент воткнулся
> и эзернетом в ту же точку.  Всё замечательно, dhcpcd отрабатывает,
> в /etc/resolv.conf порядок.
> 
> Приезжаю домой, подключаюсь по wifi к другой точке, eth0 вообще
> нет (модуль выгружен).  Однако же огребаю старый кусок записи
> search и два nameserver, на которых резолвер оттормаживается.
> Обнаруживаю, что растут они из /var/lib/dhcpcd/dhcpcd-eth0.lease
> -- и думаю, а как бы получше инвалидировать такой кэш?

Это вряд ли dhcpcd. Он запускается как отдельный процесс для каждого
интерфейса и не будет использовать lease для другого интерфейса.
Впрочем, он в любом случае должен использовать только то, что получил
от сервера при запуске.
Виноват скорее всего openresolv, resolvconf -l должен все рассказать
подробно. Видимо ему не сказали resolvconf -d eth0 при опускании
интерфейса, надо разбираться почему.

-- 
WBR, Mikhail Efremov


      reply	other threads:[~2010-07-17 13:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-17 13:05 Michael Shigorin
2010-07-17 13:22 ` Mikhail Efremov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100717172219.583e762f@altlinux.ru \
    --to=sem@altlinux.ru \
    --cc=shigorin@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git