Re: Rawhide OpenVPN is Broken



Dan Williams wrote:
On Wed, 2008-09-10 at 13:10 -0400, Nathaniel McCallum wrote:
Current OpenVPN plugin doesn't work at all on rawhide. Rawhide's openvpn requires the '--script-security' option to run external scripts. However, even with adding that option, you still get this failure:

--script-security got added upstream here late last week so it'll roll
out soon for Rawhide.

Any chance you could kill any existing nm-openvpn-service, then (as
root):

gdb /usr/libexec/nm-openvpn-service

and then try to activate the VPN connection, then when gdb drops back to
the (gdb) prompt, enter

bt

and paste the backtrace in here?
Also, valgrind gives me this:

==2378== Invalid free() / delete / delete[]
==2378==    at 0x4A0609F: free (vg_replace_malloc.c:323)
==2378==    by 0x3508212D4A: g_ptr_array_foreach (garray.c:627)
==2378==    by 0x40274F: (within /usr/libexec/nm-openvpn-service)
==2378==    by 0x402C91: (within /usr/libexec/nm-openvpn-service)
==2378==    by 0x36FD602BF6: impl_vpn_plugin_connect (nm-vpn-plugin.c:306)
==2378== by 0x36FD603E5B: dbus_glib_marshal_nm_vpn_plugin_BOOLEAN__BOXED_POINTER (nm-vpn-plugin-glue.h:95)
==2378==    by 0x350620C887: gobject_message_function (dbus-gobject.c:1282)
==2378== by 0x3505A1C550: _dbus_object_tree_dispatch_and_unlock (dbus-object-tree.c:856) ==2378== by 0x3505A0EFC5: dbus_connection_dispatch (dbus-connection.c:4447)
==2378==    by 0x3506209764: message_queue_dispatch (dbus-gmain.c:101)
==2378==    by 0x350823772A: g_main_context_dispatch (gmain.c:2142)
==2378==    by 0x350823AF0C: g_main_context_iterate (gmain.c:2775)
==2378==  Address 0x403d2b is not stack'd, malloc'd or (recently) free'd
** Message: <info>  openvpn started with pid 2387


** (process:2378): WARNING **: <WARN> openvpn_watch_cb(): openvpn exited with error code 1

==2378==
==2378== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 4 from 1)
==2378== malloc/free: in use at exit: 78,873 bytes in 748 blocks.
==2378== malloc/free: 1,812 allocs, 1,066 frees, 546,109 bytes allocated.
==2378== For counts of detected errors, rerun with: -v
==2378== searching for pointers to 748 not-freed blocks.
==2378== checked 371,536 bytes.
==2378==
==2378== LEAK SUMMARY:
==2378==    definitely lost: 0 bytes in 0 blocks.
==2378==      possibly lost: 5,616 bytes in 25 blocks.
==2378==    still reachable: 73,257 bytes in 723 blocks.
==2378==         suppressed: 0 bytes in 0 blocks.
==2378== Rerun with --leak-check=full to see details of leaked memory.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]