[Bug 226509] net/openvswitch: Requires /var/run/openvswitch/ but nothing creates it

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 11 01:21:50 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226509

            Bug ID: 226509
           Summary: net/openvswitch: Requires /var/run/openvswitch/ but
                    nothing creates it
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: gavin at FreeBSD.org
                CC: koue at chaosophia.net
             Flags: maintainer-feedback?(koue at chaosophia.net)
                CC: koue at chaosophia.net

Hi,

As far as I can tell, /var/run/openvswitch/ has to exist, but nothing creates
the directory during install or start.  It's not clear to me whether it would
be best to create this during install or during the service start, which is why
I've not fixed it myself.

root at omega:~ # service ovsdb-server onestart
Starting ovsdb_server.
2018-03-11T01:03:36Z|00001|fatal_signal|WARN|could not unlink
"/var/run/openvswitch/db.sock" (No such file or directory)
2018-03-11T01:03:36Z|00002|stream_unix|ERR|/var/run/openvswitch/db.sock:
binding failed: No such file or directory
2018-03-11T01:03:36Z|00003|ovsdb_jsonrpc_server|ERR|punix:/var/run/openvswitch/db.sock:
listen failed: No such file or directory
2018-03-11T01:03:36Z|00004|fatal_signal|WARN|could not unlink
"/var/run/openvswitch/ovsdb-server.57376.ctl" (No such file or directory)
2018-03-11T01:03:36Z|00005|stream_unix|ERR|/var/run/openvswitch/ovsdb-server.57376.ctl:
binding failed: No such file or directory
ovsdb-server: could not initialize control socket
punix:/var/run/openvswitch/ovsdb-server.57376.ctl (No such file or directory)
/usr/local/etc/rc.d/ovsdb-server: WARNING: failed to start ovsdb_server
root at omega:~ # mkdir /var/run/openvswitch
root at omega:~ # service ovsdb-server onestart
Starting ovsdb_server.

Thanks,

Gavin

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list