Package: openvswitch-switch
Version: 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-12
Severity: normal


Hi,

first off, I am not sure about the severity, but not bringing up parts
of my network is actually pretty damaging, although very easy to fix
(mkdir /run/openvswitch is enough).

If I want to start openvswitch-switch using systemd, the directory
/run/openvswitch does not get created, which results in the daemon not
starting. However, running the sysv init script directly creates the
directory no problem, and the service and network comes up.

I tried inserting a mkdir command as ExecStartPre, or also into the
init script, but after running 'systemctl daemon-reload', the directory
is still not being created.

I would much prefer if the directory would just get created, and the
service would come up.

Here's a small piece from the journal:


Jun 21 12:06:45 debian ovsdb-server[14307]: 
ovs|00002|daemon_unix|EMER|/var/run/openvswitch/ovsdb-server.pid.tmp: create 
failed (No such file or directory)
Jun 21 12:06:45 debian ovs-ctl[14286]: ovsdb-server: 
/var/run/openvswitch/ovsdb-server.pid.tmp: create failed (No such file or 
directory)
Jun 21 12:06:45 debian ovs-ctl[14286]: Starting ovsdb-server ... failed!
Jun 21 12:06:45 debian systemd[1]: openvswitch-nonetwork.service: Main process 
exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited

Here's what iwatch has to say while I run this command:

# systemctl restart openvswitch-switch
A dependency job for openvswitch-switch.service failed. See 'journalctl -xe' 
for details.

in a different terminal:

# iwatch -e all_events /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_OPEN /run/systemd
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run
[21/Jun/2019 12:43:46] IN_ISDIR,IN_CLOSE_NOWRITE /run/systemd
^C  <--- at this point, the systemctl command has already terminated.



Cheers,
Toni


-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'stable'), (70, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openvswitch-switch depends on:
ii  kmod                26-1
ii  lsb-base            10.2019051400
ii  netbase             5.6
ii  openvswitch-common  2.10.0+2018.08.28+git.8ca7c82b7d+ds1-12
ii  procps              2:3.3.15-2
ii  python              2.7.16-1
ii  uuid-runtime        2.33.1-0.1

openvswitch-switch recommends no packages.

openvswitch-switch suggests no packages.

-- no debconf information

Reply via email to