This is really a problematic Bug!
I could isolate the Problem a little more !
The Error Line VPN service 'openvpn' disappeared
Can be found in:
network-manager-0.9.10.0/src/vpn-manager/nm-vpn-service.c
The Problematic Code Part where it breaks the OpenVPN Service
if (old_owner_good && !new_owner_good) {
/* service went away */
priv->service_running = FALSE;
nm_log_info (LOGD_VPN, "VPN service '%s' disappeared", priv->name);
nm_vpn_service_stop_connections (service, FALSE, NM_VPN_CONNECTION_STATE_REASON_SERVICE_STOPPED);
}
/* Service changed, no need to wait for the timeout any longer */
if (priv->start_timeout) {
g_source_remove (priv->start_timeout);
priv->start_timeout = 0;
}
old_owner_good = (old && old[0]);
new_owner_good = (new && new[0]);
if (!old_owner_good && new_owner_good) {
/* service appeared */
priv->service_running = TRUE;
nm_log_info (LOGD_VPN, "VPN service '%s' appeared; activating connections", priv->name);
/* Expect success because the VPN service has already appeared */
success = start_active_vpn (service, NULL);
g_warn_if_fail (success);
} else if (old_owner_good && !new_owner_good) {
/* service went away */
priv->service_running = FALSE;
nm_log_info (LOGD_VPN, "VPN service '%s' disappeared", priv->name);
nm_vpn_service_stop_connections (service, FALSE, NM_VPN_CONNECTION_STATE_REASON_SERVICE_STOPPED);
}
}
P.S. I had nm-applet Crashing allways when this Log Lines are showed
Oct 18 07:51:13 dbus[899]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Oct 18 07:51:13 systemd[1]: Starting Hostname Service...
Oct 18 07:51:13 dbus[899]: [system] Successfully activated service 'org.freedesktop.hostname1'
Oct 18 07:51:13 systemd[1]: Started Hostname Service.
Oct 18 07:51:16 gnome-session[2345]: Nautilus-Share-Message: Called "net usershare info" but it failed: »net usershare« gab den Fehler 255 zurück: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Datei oder Verzeichnis nicht gefunden
Oct 18 07:51:16 gnome-session[2345]: Please ask your system administrator to enable user sharing.
There is something strange with usermanagement it looks like in ubuntu when using OpenVPN !!!
This is really a problematic Bug!
I could isolate the Problem a little more !
The Error Line VPN service 'openvpn' disappeared manager- 0.9.10. 0/src/vpn- manager/ nm-vpn- service. c
Can be found in:
network-
The Problematic Code Part where it breaks the OpenVPN Service >service_ running = FALSE; service_ stop_connection s (service, FALSE, NM_VPN_ CONNECTION_ STATE_REASON_ SERVICE_ STOPPED) ;
if (old_owner_good && !new_owner_good) {
/* service went away */
priv-
nm_log_info (LOGD_VPN, "VPN service '%s' disappeared", priv->name);
nm_vpn_
}
can be found in the function _name_owner_changed
Maybe somebody know how to fix this now ?
static void
const char *name,
const char *old,
const char *new,
gpointer user_data) ivate *priv = NM_VPN_ SERVICE_ GET_PRIVATE (service);
_name_owner_changed (NMDBusManager *mgr,
{
NMVPNService *service = NM_VPN_SERVICE (user_data);
NMVPNServicePr
gboolean old_owner_good, new_owner_good, success;
if (strcmp (name, priv->dbus_ service) )
return;
/* Service changed, no need to wait for the timeout any longer */ start_timeout) { start_timeout) ; >start_ timeout = 0;
if (priv->
g_source_remove (priv->
priv-
}
old_owner_good = (old && old[0]);
new_owner_good = (new && new[0]);
if (!old_owner_good && new_owner_good) { >service_ running = TRUE; >service_ running = FALSE; service_ stop_connection s (service, FALSE, NM_VPN_ CONNECTION_ STATE_REASON_ SERVICE_ STOPPED) ;
/* service appeared */
priv-
nm_log_info (LOGD_VPN, "VPN service '%s' appeared; activating connections", priv->name);
/* Expect success because the VPN service has already appeared */
success = start_active_vpn (service, NULL);
g_warn_if_fail (success);
} else if (old_owner_good && !new_owner_good) {
/* service went away */
priv-
nm_log_info (LOGD_VPN, "VPN service '%s' disappeared", priv->name);
nm_vpn_
}
}
P.S. I had nm-applet Crashing allways when this Log Lines are showed
Oct 18 07:51:13 dbus[899]: [system] Activating via systemd: service name='org. freedesktop. hostname1' unit='dbus- org.freedesktop .hostname1. service' p.hostname1' 2345]: Nautilus- Share-Message: Called "net usershare info" but it failed: »net usershare« gab den Fehler 255 zurück: net usershare: cannot open usershare directory /var/lib/ samba/usershare s. Error Datei oder Verzeichnis nicht gefunden 2345]: Please ask your system administrator to enable user sharing.
Oct 18 07:51:13 systemd[1]: Starting Hostname Service...
Oct 18 07:51:13 dbus[899]: [system] Successfully activated service 'org.freedeskto
Oct 18 07:51:13 systemd[1]: Started Hostname Service.
Oct 18 07:51:16 gnome-session[
Oct 18 07:51:16 gnome-session[
There is something strange with usermanagement it looks like in ubuntu when using OpenVPN !!!