From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DNS_FROM_AHBL_RHSBL,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_FREEMAIL_FORGED_FROMDOMAIN, T_HEADER_FROM_DIFFERENT_DOMAINS autolearn=no autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=yPODdpwMfces+Ax5grA7XGUhoSvQkV9WV947rbg9K7M=; b=O+hVJNl4zVwl71EmP2pruCZES++6anRmhYI0UTuvev5+kETaD3owLgSFGsIZ2+ewWT nyA1OWfMxt/3y6ueBbHmbSXEMCCAIjab87sTJFpG6Yqw/6WefAdclqEHHD9LtmH8AJ/t 1QoFrwDUc880emgGRcM66q3M5dv9t77LtLuwOh27oUBbsnoiylu2TSUhxQBUm8v/dl78 XYQYXFZhaSrRgOQYtYPW7fb49Zuq/zvpDZ5e+OuFfqbHtyBuzsrBGuj25EqERcPfkc4R 0L/B0RBC5qknM28PRMfLCO9m0X9ZmnwDsc9De8Fvu7LFh3NZ4YaT7HFjT+1sGt8j4DmC FK3w== MIME-Version: 1.0 X-Received: by 10.180.218.71 with SMTP id pe7mr30658887wic.70.1425389842229; Tue, 03 Mar 2015 05:37:22 -0800 (PST) Sender: eugene.prokopiev@gmail.com Date: Tue, 3 Mar 2015 17:37:22 +0400 X-Google-Sender-Auth: gI4dHuMrd2Yez8uqzU15YT2AdJE Message-ID: From: Eugene Prokopiev To: ALT Linux Sisyphus discussions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [sisyphus] systemd and dns X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 13:37:24 -0000 Archived-At: List-Archive: List-Post: =D0=97=D0=B4=D1=80=D0=B0=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5! # cat /etc/systemd/network/static.network [Match] Name=3Denp0s3 [Network] DNS=3D10.0.0.1 Address=3D10.0.0.10/24 Gateway=3D10.0.0.1 =D0=98 =D0=BD=D0=B8=D0=BA=D0=B0=D0=BA=D0=B8=D1=85 =D0=BF=D1=80=D0=B8=D0=B7= =D0=BD=D0=B0=D0=BA=D0=BE=D0=B2 nameserver 10.0.0.1 =D0=B2 resolv.conf =D0= =BF=D0=BE=D1=81=D0=BB=D0=B5 systemctl restart systemd-networkd =D0=B8=D0=BB=D0=B8 =D0=B4=D0=B0=D0=B6=D0=B5 =D1=80= =D0=B5=D0=B1=D1=83=D1=82=D0=B0. =D0=9B=D0=BE=D0=B3=D0=B8: [root@localhost ~]# journalctl -b _SYSTEMD_UNIT=3Dsystemd-networkd -- Logs begin at =D0=92=D1=82 2015-03-03 12:13:03 UTC, end at =D0=92=D1=82 = 2015-03-03 13:32:44 UTC. -- [root@localhost ~]# journalctl -b | grep systemd-networkd =D0=BC=D0=B0=D1=80 03 13:24:38 localhost systemd-networkd[275]: Enumeration= completed =D0=BC=D0=B0=D1=80 03 13:24:38 localhost systemd-networkd[275]: enp0s3 = : enp0s3 : could not bring up interface: Invalid argument =D0=BC=D0=B0=D1=80 03 13:24:38 localhost systemd-networkd[275]: enp0s3 = : gained carrier =D0=BC=D0=B0=D1=80 03 13:24:38 localhost systemd-networkd[275]: enp0s3 = : link configured =D0=BC=D0=B0=D1=80 03 13:25:10 localhost kernel: audit: type=3D1131 audit(1425389110.179:50): pid=3D1 uid=3D0 auid=3D4294967295 ses=3D429496729= 5 msg=3D'unit=3Dsystemd-networkd comm=3D"systemd" exe=3D"/lib/systemd/systemd= " hostname=3D? addr=3D? terminal=3D? res=3Dsuccess' =D0=9A=D1=83=D0=B4=D0=B0 =D0=B5=D1=89=D0=B5 =D1=81=D0=BC=D0=BE=D1=82=D1=80= =D0=B5=D1=82=D1=8C? --=20 WBR, Eugene Prokopiev