From: Eugene Prokopiev <enp@itx.ru> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] systemd-networkd dns configuration Date: Wed, 2 Sep 2015 16:33:22 +0300 Message-ID: <CANM4RujfKVx7qe01L_0sGiS88t6-SO9YhT36Jj-wJ1FUM8J+EA@mail.gmail.com> (raw) In-Reply-To: <20150902132054.GB4776@mw.mithraen.ru> 2 сентября 2015 г., 16:20 Денис Смирнов написал: > On Wed, Sep 02, 2015 at 04:02:16PM +0300, Eugene Prokopiev wrote: > >> Да, действительно, и даже /etc/resolv.conf при этом правильно >> заполняется. А вот если после перезагрузки просто запустить systemctl >> start altlinux-openresolv.service - в /etc/resolv.conf ничего не >> появится. >> Как это отлаживать? > > А что появляется при этом в логе? Вот что появляется после перезагрузки: # journalctl -b | grep resolv сен 02 16:26:02 enp.tx.local systemd[1]: Started Update chrooted libresolv configs. сен 02 16:26:02 enp.tx.local systemd[1]: Started Update openresolv data from systemd-resolved. сен 02 16:26:08 enp.tx.local systemd[1]: Starting Update chrooted libresolv configs... сен 02 16:26:08 enp.tx.local systemd[1]: Started Update chrooted libresolv configs. сен 02 16:26:08 enp.tx.local audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=altlinux-libresolv comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' сен 02 16:26:08 enp.tx.local audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=altlinux-libresolv comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' сен 02 16:26:08 enp.tx.local systemd-resolved[461]: Using system hostname 'enp.tx.local'. сен 02 16:26:08 enp.tx.local audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-resolved comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' сен 02 16:26:08 enp.tx.local systemd[1]: Starting Update openresolv data from systemd-resolved... сен 02 16:26:08 enp.tx.local systemd[1]: Started Update openresolv data from systemd-resolved. сен 02 16:26:08 enp.tx.local audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=altlinux-openresolv comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' сен 02 16:26:08 enp.tx.local systemd[1]: Started Update openresolv data from systemd-resolved. сен 02 16:26:08 enp.tx.local systemd[1]: Started Update openresolv data from systemd-resolved. сен 02 16:26:08 enp.tx.local systemd[1]: Started Update openresolv data from systemd-resolved. сен 02 16:26:10 enp.tx.local systemd[1]: Started Update openresolv data from systemd-resolved. сен 02 16:26:10 enp.tx.local systemd[1]: Started Update openresolv data from systemd-resolved. Запуск systemctl start altlinux-openresolv.service добавляет еще одну строчку - такую же, как и последняя > Кстати, запускать этот сервис не надо (и не правильно), для этого есть > соответствующий altlinux-openresolv.path Эээ ... а что это за сервис, который никому не надо запускать и как тогда это должно работать? -- WBR, Eugene Prokopiev
next prev parent reply other threads:[~2015-09-02 13:33 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-02 8:00 Eugene Prokopiev 2015-09-02 8:57 ` Eugene Prokopiev 2015-09-02 13:02 ` Eugene Prokopiev 2015-09-02 13:20 ` Денис Смирнов 2015-09-02 13:33 ` Eugene Prokopiev [this message] 2015-09-03 5:29 ` Eugene Prokopiev 2015-09-02 17:07 ` Mikhail Efremov 2015-09-02 13:17 ` Денис Смирнов 2015-09-03 5:26 ` Sergey 2015-09-03 5:42 ` Eugene Prokopiev 2015-09-03 12:00 ` Mikhail Efremov
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=CANM4RujfKVx7qe01L_0sGiS88t6-SO9YhT36Jj-wJ1FUM8J+EA@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