Hello,
I have set loglevel of NetworkManager to DEBUG to exact more information why nm-openvpn-service-openvpn-helper is unable to accomplish network interface configuration. Actually the device (tap0) created and would be available for further operations (ifup, route table update etc.) but somehow it never happens.
I cannot figure out actually the "call stack" among several external program calls, however I v found the particular error gets printed out
nm-udev-manager.c ::
/sys/devices/virtual/net/tap0: couldn't determine device driver; ignoring..., which led me to the global function call see beneath. Does any1 know if RedHat issue has been opened for such NetworkManager bug ?
Does any1 have idea why
Code:
const gchar *
g_udev_device_get_driver (GUdevDevice *device)
{
g_return_val_if_fail (G_UDEV_IS_DEVICE (device), NULL);
return udev_device_get_driver (device->priv->udevice);
}
this routine call fails and in the end I am getting
/sys/devices/virtual/net/tap0: couldn't determine device driver; ignoring... error message in the log, since *device is NULL?
As far as I am concerned the device_creator () invokes somehow the global routine above and if it is so, the device_creator() does not succeed anything and hands over the NULL pointer. Has anyone idea ?
Sigmarsson
Code:
Jun 13 19:58:49 xfce nm-openvpn[1463]: TUN/TAP device tap0 opened
Jun 13 19:58:49 xfce nm-openvpn[1463]: /usr/libexec/nm-openvpn-service-openvpn-helper tap0 1500 1574 init
Jun 13 19:58:50 xfce NetworkManager[648]: <debug> [1307987930.5748] [nm-udev-manager.c:586] handle_uevent(): UDEV event: action 'add' subsys 'net' device 'tap0'
Jun 13 19:58:50 xfce NetworkManager[648]: <warn> /sys/devices/virtual/net/tap0: couldn't determine device driver; ignoring...
Jun 13 19:58:50 xfce NetworkManager[648]: <warn> VPN plugin failed: 2
Jun 13 19:58:50 xfce nm-openvpn[1463]: script failed: external program exited with error status: 1
Jun 13 19:58:50 xfce nm-openvpn[1463]: Exiting