ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] systemd and dns
Date: Tue, 3 Mar 2015 18:14:38 +0400
Message-ID: <CAEdvWkTahkQ+ydi2-wxq3P09P8-W7bzJOi43uPauh_U7gKvqhw@mail.gmail.com> (raw)
In-Reply-To: <CANM4Ruh0X87s439pnBFAise6TCparf8FX2LxBe6=+ZWLbcZ17w@mail.gmail.com>

2015-03-03 16:37 GMT+03:00 Eugene Prokopiev <enp@itx.ru>:
> Здравствуйте!
>
> # cat /etc/systemd/network/static.network
> [Match]
> Name=enp0s3
>
> [Network]
> DNS=10.0.0.1
> Address=10.0.0.10/24
> Gateway=10.0.0.1
>
> И никаких признаков nameserver 10.0.0.1 в resolv.conf после systemctl
> restart systemd-networkd или даже ребута. Логи:
>
> [root@localhost ~]# journalctl -b _SYSTEMD_UNIT=systemd-networkd
> -- Logs begin at Вт 2015-03-03 12:13:03 UTC, end at Вт 2015-03-03
> 13:32:44 UTC. --
>
> [root@localhost ~]# journalctl -b | grep systemd-networkd
> мар 03 13:24:38 localhost systemd-networkd[275]: Enumeration completed
> мар 03 13:24:38 localhost systemd-networkd[275]: enp0s3          :
> enp0s3          : could not bring up interface: Invalid argument
> мар 03 13:24:38 localhost systemd-networkd[275]: enp0s3          :
> gained carrier
> мар 03 13:24:38 localhost systemd-networkd[275]: enp0s3          :
> link configured
> мар 03 13:25:10 localhost kernel: audit: type=1131
> audit(1425389110.179:50): pid=1 uid=0 auid=4294967295 ses=4294967295
> msg='unit=systemd-networkd comm="systemd" exe="/lib/systemd/systemd"
> hostname=? addr=? terminal=? res=success'
>
> Куда еще смотреть?

Тоже не заработало.
В первую очередь смотреть в /run/systemd/resolve/resolv.conf.
После прописывания в /etc/systemd/resolved.conf работает, но мне
кажется это не очень правильным.

-- 
Alexey Shabalin


  reply	other threads:[~2015-03-03 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 13:37 Eugene Prokopiev
2015-03-03 14:14 ` Alexey Shabalin [this message]
2015-03-04  4:58   ` Eugene Prokopiev
2015-03-04  7:39     ` Alexey Shabalin
2015-03-04  9:53       ` Eugene Prokopiev

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=CAEdvWkTahkQ+ydi2-wxq3P09P8-W7bzJOi43uPauh_U7gKvqhw@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=shaba@altlinux.ru \
    --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