ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] systemd and dns
@ 2015-03-03 13:37 Eugene Prokopiev
  2015-03-03 14:14 ` Alexey Shabalin
  0 siblings, 1 reply; 5+ messages in thread
From: Eugene Prokopiev @ 2015-03-03 13:37 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

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

# 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-04  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 13:37 [sisyphus] systemd and dns Eugene Prokopiev
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

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