From: "Евгений Терешков" <evg-krsk@yandex.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] systemd-networkd : Failed to execute operation: No such file or directory
Date: Tue, 23 Jun 2015 17:23:42 +0700
Message-ID: <m3r3p2vi35.fsf@thinkpad.evg-krsk.dyndns.org> (raw)
In-Reply-To: <CANM4RuizbB9=28CbdtV-dAEo1EwgTz6gd=X3WtRYQeuaUc+6Eg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2907 bytes --]
Eugene Prokopiev пишет:
> Любопытно, что в обоих случаях start отрабатывает, адрес на интерфейсе
> появляется, а вот enable приводит к 'Failed to execute operation: No
> such file or directory'
Воспроизвелось в virtualbox-е на server-systemd-20150224-x86_64.iso,
обновлённом до текущего сизифа. На аэродинамику не влияет, всё работает, но
неприятно.
Звучит похоже на https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734809
(но видимо не оно)
По совету оттуда сделал strace -s 2048 -ff -p 1 -o ~/systemd.log и вот что
там видно в конце (весь лог во вложении):
=8<=========================================================================
open("/etc/systemd/system/systemd-networkd.socket", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/run/systemd/system/systemd-networkd.socket", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/systemd/system/systemd-networkd.socket", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/systemd/system/systemd-networkd.socket", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = -1 ENOENT (No such file or directory)
sendmsg(15, {msg_name(0)=NULL, msg_iov(2)=[{"l\3\1\1\36\0\0\0\1\0\0\0?\0\0\0\5\1u\0\1\0\0\0\4\1s\0'\0\0\0org.freedesktop.DBus.Error.FileNotFound\0\10\1g\0\1s\0\0", 80}, {"\31\0\0\0No such file or directory\0", 30}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 110
=8<=========================================================================
Упоминания systemd-networkd.socket я нашел в
/lib/systemd/system/{systemd-networkd.service,dbus-org.freedesktop.network1.service}:
=8<=========================================================================
[Install]
WantedBy=multi-user.target
Also=systemd-networkd.socket
=8<=========================================================================
Из всех юнитов в директивах Also= только systemd-networkd.socket у меня
находится в состоянии not-found (остальные .socket и .path в норме).
Документация на директиву Also= (systemd.unit(5)) ничего не говорит на тему
того, должно ли игнорироваться неудачное действие с дополнительным юнитом
или же об этом надо сообщить (что мы и наблюдаем).
Так что, видимо, баг это или фича - решать апстриму :-)
2shaba: или я ошибаюсь где-то?
[-- Attachment #2: systemd pid 1 strace --]
[-- Type: application/x-bzip2, Size: 3825 bytes --]
[-- Attachment #3: Type: text/plain, Size: 109 bytes --]
--
С уважением, Терешков Евгений.
Jabber ID: evg@altlinux.org, evg_krsk@jabber.ru
next prev parent reply other threads:[~2015-06-23 10:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-23 8:09 Eugene Prokopiev
2015-06-23 8:16 ` alexei
2015-06-23 8:18 ` Eugene Prokopiev
2015-06-23 9:17 ` Eugene Prokopiev
2015-06-23 9:23 ` Eugene Prokopiev
2015-06-23 10:20 ` Eugene Prokopiev
2015-06-23 10:23 ` Евгений Терешков [this message]
2015-06-25 8:52 ` Евгений Терешков
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=m3r3p2vi35.fsf@thinkpad.evg-krsk.dyndns.org \
--to=evg-krsk@yandex.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