ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: alexei@taf.ru
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] systemd & network on boot
Date: Tue, 26 Aug 2014 00:25:27 +0900 (IRKT)
Message-ID: <609855253.27664.1408980327344.JavaMail.zimbra@taf.ru> (raw)
In-Reply-To: <20140825144953.GA22944@mw.mithraen.ru>



----- Исходное сообщение -----
> От: "Денис Смирнов" <mithraen@freesource.info>
> Кому: sisyphus@lists.altlinux.org
> Отправленные: Понедельник, 25 Август 2014 г 23:49:53
> Тема: Re: [sisyphus] systemd & network on boot
> 
> On Mon, Aug 25, 2014 at 11:43:18PM +0900, alexei@taf.ru wrote:
> 
> Можете сделать следующее:
> - disable на эти service (оставив в enabled только path)
> - перезагрузиться
> - показать вывод systemctl status на все 4 юнита (и path, и service)

[root@metamorph system]# systemctl status altlinux-libresolv.path 
● altlinux-libresolv.path - Update chrooted libresolv configs
   Loaded: loaded (/lib/systemd/system/altlinux-libresolv.path; enabled)
   Active: active (waiting) since Tue 2014-08-26 00:11:58 IRKT; 2min 23s ago

Aug 26 00:11:58 metamorph.taf.ru systemd[1]: Starting Update chrooted libresolv configs.
Aug 26 00:11:58 metamorph.taf.ru systemd[1]: Started Update chrooted libresolv configs.

[root@metamorph system]# systemctl status altlinux-libresolv.service 
● altlinux-libresolv.service - Update chrooted libresolv configs
   Loaded: loaded (/lib/systemd/system/altlinux-libresolv.service; disabled)
   Active: inactive (dead) since Tue 2014-08-26 00:12:00 IRKT; 2min 25s ago
  Process: 477 ExecStart=/etc/chroot.d/resolv.conf (code=exited, status=0/SUCCESS)
 Main PID: 477 (code=exited, status=0/SUCCESS)

Aug 26 00:12:00 metamorph.taf.ru systemd[1]: Started Update chrooted libresolv configs.
[root@metamorph system]# systemctl status altlinux-openresolv.path 
● altlinux-openresolv.path - Update openresolv data from systemd-resolved
   Loaded: loaded (/lib/systemd/system/altlinux-openresolv.path; enabled)
   Active: active (running) since Tue 2014-08-26 00:11:54 IRKT; 2min 45s ago

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

[root@metamorph system]# systemctl status altlinux-openresolv.service 
● altlinux-openresolv.service - Update openresolv data from systemd-resolved
   Loaded: loaded (/lib/systemd/system/altlinux-openresolv.service; disabled)
   Active: active (exited) since Tue 2014-08-26 00:12:01 IRKT; 2min 42s ago
  Process: 558 ExecStart=/bin/sh -c /sbin/resolvconf -a systemd-networkd < /run/systemd/resolve/resolv.conf (code=exited, status=0/SUCCESS)
 Main PID: 558 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/altlinux-openresolv.service

Aug 26 00:12:01 metamorph.taf.ru systemd[1]: Started Update openresolv data from systemd-resolved.
Aug 26 00:12:02 metamorph.taf.ru systemd[1]: Started Update openresolv data from systemd-resolved.
Aug 26 00:12:02 metamorph.taf.ru systemd[1]: Started Update openresolv data from systemd-resolved.
Aug 26 00:12:03 metamorph.taf.ru systemd[1]: Started Update openresolv data from systemd-resolved.

Но при этом в /etc/resolv.conf имеем только:

# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
search ilimnet.ru

(В /etc/resolvconf.conf я добавил определение search_domains=ilimnet.ru)

systemctl restart altlinux-libresolv.service ничего не дает

После:

systemctl restart altlinux-openresolv.service

В /etc/resolv.conf наконец-то появляется долгожданное:

# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
search ilimnet.ru
nameserver 192.168.1.1


  reply	other threads:[~2014-08-25 15:25 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 10:13 ` Dmitriy L. Kruglikov
2014-08-21 10:55   ` Viacheslav Dubrovskyi
2014-08-21 11:03     ` Dmitriy L. Kruglikov
2014-08-21 10:29 ` Денис Смирнов
2014-08-21 12:58   ` Евгений Терешков
2014-08-21 21:37     ` Денис Смирнов
2014-08-21 23:09       ` Евгений Терешков
2014-08-21 23:24         ` Евгений Терешков
2014-08-22  8:02           ` Шенцев Алексей Владимирович
2014-08-22  9:07             ` Евгений Терешков
2014-08-22  9:24               ` Шенцев Алексей Владимирович
2014-08-22 11:41                 ` Денис Смирнов
2014-08-22 13:09                   ` Шенцев Алексей Владимирович
2014-08-22 13:53                     ` Денис Смирнов
2014-08-22 14:04                       ` Шенцев Алексей Владимирович
2014-08-22 14:26                         ` Денис Смирнов
2014-08-25  1:56                           ` alexei
2014-08-25 14:21                             ` Денис Смирнов
2014-08-25 14:28                               ` alexei
2014-08-25 14:30                                 ` Денис Смирнов
2014-08-25 14:43                                   ` alexei
2014-08-25 14:49                                     ` Денис Смирнов
2014-08-25 15:25                                       ` alexei [this message]
2014-08-25 15:38                                         ` Денис Смирнов
2014-08-25 16:00                                           ` alexei
2014-08-25 16:07                                             ` Денис Смирнов
2014-08-25 16:13                                               ` alexei
2014-08-26 13:34                                                 ` Денис Смирнов
2014-08-27  1:38                                                   ` alexei
2014-08-27  1:47                                                     ` Денис Смирнов
2014-08-22 14:30                         ` Денис Смирнов
2014-08-22 15:14                             ` Денис Смирнов
2014-08-22 19:32                                 ` Денис Смирнов
2014-08-22 20:45                                     ` Денис Смирнов
2014-08-26 11:07                                       ` Alexey Shabalin
2014-08-26 13:29                                         ` Денис Смирнов
2014-08-22 11:39             ` Денис Смирнов
2014-08-22 11:50           ` Денис Смирнов
2014-08-22 14:49             ` Евгений Терешков
2014-08-22 15:13               ` Денис Смирнов
2014-08-21 21:36     ` Денис Смирнов
2014-08-22  4:05       ` Peter Evdokimov
2014-08-22 11:35           ` Денис Смирнов
2014-08-22 11:33         ` Денис Смирнов
2014-08-22 11:50           ` Alexei V. Mezin
2014-08-22 12:04             ` Денис Смирнов
2014-08-22 12:05             ` Денис Смирнов
2014-08-22 13:51                 ` Денис Смирнов
2014-08-22 13:54                   ` Шенцев Алексей Владимирович
2014-08-27 13:03       ` Вадим Илларионов
2014-08-27 16:53         ` Денис Смирнов
2014-08-28  0:24           ` Вадим Илларионов
2014-08-28  0:41           ` Вадим Илларионов
2014-08-26  5:32 ` Sergei Epiphanov
2014-08-26 13:11   ` Денис Смирнов
2014-08-26 13:23     ` Sergei Epiphanov
2014-08-26 13:31       ` Денис Смирнов
2014-08-26 13:34         ` Alexey Shabalin
2014-08-26 13:36           ` Денис Смирнов
2015-01-20 19:47     ` Hihin Ruslan

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=609855253.27664.1408980327344.JavaMail.zimbra@taf.ru \
    --to=alexei@taf.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