ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] systemd-networkd dns configuration
Date: Thu, 3 Sep 2015 15:00:08 +0300
Message-ID: <20150903150008.6a1d0ad3@sem.office.altlinux.ru> (raw)
In-Reply-To: <CANM4RuhoLz5cLFVeJ42fTyznjLB=Xn-tDhsy_5uS50LLwhD2rQ@mail.gmail.com>

On Thu, 3 Sep 2015 08:42:12 +0300 Eugene Prokopiev wrote:
> Вместо симлинка у нас сейчас предполагается использовать
> altlinux-openresolv.{service,path}, но тут меня посещают сомнения
> насчет того, действительно ли в случае использования systemd-networkd
> есть какая-нибудь польза от openresolv? 

Чем systemd-networkd отличается от других желающих писать что-то в
resolv.conf? И почему при его использовании других таких желающих не
может быть?

> Может вместо прямого вызова
> resolvconf стоило бы сделать скрипт, который при отсутствии resolvconf
> просто скопирует /var/run/systemd/resolve/resolv.conf в
> /etc/resolv.conf?

Такой скрипт есть, называется resolvconf. Это и делает
altlinux-openresolv.service, собственно. Если нужна именно замена на
переданный resolv.conf, а не merge, то openresolv так тоже умеет.
К тому же resolvconf еще и update_chrooted вызовет, и локальный
ДНС-сервер настроит при необходимости.

-- 
WBR, Mikhail Efremov


      reply	other threads:[~2015-09-03 12:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02  8:00 Eugene Prokopiev
2015-09-02  8:57 ` Eugene Prokopiev
2015-09-02 13:02     ` Eugene Prokopiev
2015-09-02 13:20       ` Денис Смирнов
2015-09-02 13:33         ` Eugene Prokopiev
2015-09-03  5:29       ` Eugene Prokopiev
2015-09-02 17:07     ` Mikhail Efremov
2015-09-02 13:17 ` Денис Смирнов
2015-09-03  5:26   ` Sergey
2015-09-03  5:42     ` Eugene Prokopiev
2015-09-03 12:00       ` 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=20150903150008.6a1d0ad3@sem.office.altlinux.ru \
    --to=sem@altlinux.org \
    --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