[Bug 238331] OpenvSwitch 2.11.1 conflicts with libc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 5 06:07:58 UTC 2019


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

            Bug ID: 238331
           Summary: OpenvSwitch 2.11.1 conflicts with libc
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: ianc1215 at gmail.com

I recently tried to install OpenvSwitch on FreeBSD 12.0-RELEASE-p4 kernel,
12.0-RELEASE-p5 userland. I found that after applying a configuration and doing
a system restart my configuration does not survive. When I login to the system
I do not have any vSwitch configuration applied.

After digging around on the FreeBSD forums I found this post where someone
mentioned that OpenvSwitch is conflicting with libc.

https://forums.freebsd.org/threads/problem-with-openvswitch.67792/#post-428756

Based on that I started digging around in the ports tree. I found the Makefile
for OpenvSwitch is setup to configure with shared libraries. I found that if I
compile OpenvSwitch with static libraries the conflict with libc is resolved
since the function that OpenvSwitch is trying to use is statically linked. I
was able to test that after upgrading my configuration of the vSwitch(es)
survives a system restart.

I did not test anymore beyond that since the lack of a kernelspace module makes
this not suitable for my needs.

Here is a walkthrough of what I did;

https://forums.freebsd.org/threads/a-possible-solution-to-fix-open-vswitch.71016/?fbclid=IwAR1NdhHduR3XKTMGBc2DmuruoE1lejjIcZeVUYukurk0my48YcAWoLf9aIY

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


More information about the freebsd-ports-bugs mailing list