ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@itx.ru>
To: ALT Linux Sisyphus discussions <Sisyphus@lists.altlinux.org>
Subject: [sisyphus] systemd and dns
Date: Tue, 3 Mar 2015 17:37:22 +0400
Message-ID: <CANM4Ruh0X87s439pnBFAise6TCparf8FX2LxBe6=+ZWLbcZ17w@mail.gmail.com> (raw)

Здравствуйте!

# 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'

Куда еще смотреть?

-- 
WBR,
Eugene Prokopiev


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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 13:37 Eugene Prokopiev [this message]
2015-03-03 14:14 ` Alexey Shabalin
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='CANM4Ruh0X87s439pnBFAise6TCparf8FX2LxBe6=+ZWLbcZ17w@mail.gmail.com' \
    --to=enp@itx.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