ConnMan VPN support in OSMC

Here’s the full log/output of: # connman-vpnd -n -d

root@osmc:~# connman-vpnd -n -d
connman-vpnd[490]: Connection Manager VPN daemon version 1.21
connman-vpnd[490]: src/dbus.c:__connman_dbus_init()
connman-vpnd[490]: src/inotify.c:__connman_inotify_init()
connman-vpnd[490]: src/agent.c:__connman_agent_init()
connman-vpnd[490]: vpn/vpn-provider.c:__vpn_provider_init()
connman-vpnd[490]: src/agent.c:connman_agent_driver_register() Registering driver 0x49684 name vpn
connman-vpnd[490]: vpn/vpn-manager.c:__vpn_manager_init()
connman-vpnd[490]: vpn/vpn-ipconfig.c:__vpn_ipconfig_init()
connman-vpnd[490]: vpn/vpn-rtnl.c:__vpn_rtnl_init()
connman-vpnd[490]: src/task.c:__connman_task_init()
connman-vpnd[490]: src/plugin.c:__connman_plugin_init()
connman-vpnd[490]: vpn/vpn-provider.c:vpn_provider_driver_register() driver 0xc95e9c name openconnect
connman-vpnd[490]: vpn/vpn-provider.c:provider_create_all_from_type() provider type openconnect
connman-vpnd[490]: vpn/vpn-provider.c:vpn_provider_driver_register() driver 0xc8db1c name openvpn
connman-vpnd[490]: vpn/vpn-provider.c:provider_create_all_from_type() provider type openvpn
connman-vpnd[490]: vpn/vpn-config.c:__vpn_config_init()
connman-vpnd[490]: src/inotify.c:create_watch() Add directory watch for /var/lib/connman-vpn
connman-vpnd[490]: vpn/vpn-config.c:read_configs() path /var/lib/connman-vpn
connman-vpnd[490]: vpn/vpn-config.c:create_config() ident vpn
connman-vpnd[490]: Adding configuration vpn
connman-vpnd[490]: vpn/vpn-config.c:load_config() config 0xc8dd30
connman-vpnd[490]: src/storage.c:storage_load() Loading /var/lib/connman-vpn/vpn.config
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key Type value PPTP
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key Name value myVPN
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key Host value vpn.com
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key PPTP.User value username
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key PPTP.Password value password
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key Domain value vpn
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key PPPD.ReqMPPE128 value true
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key PPPD.RefuseCHAP value true
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key PPD.RefuseMSCHAP value true
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key PPPD.RefusePAP value true
connman-vpnd[490]: vpn/vpn-config.c:set_string() provider 0xc8e390 key PPPD.RefuseEAP value true
connman-vpnd[490]: vpn/vpn-config.c:get_string() provider 0xc8e390 key Host
connman-vpnd[490]: vpn/vpn-config.c:get_string() provider 0xc8e390 key Domain
connman-vpnd[490]: vpn/vpn-config.c:load_provider() provider identifier vpn_com_vpn
connman-vpnd[490]: vpn/vpn-provider.c:get_string() settings 0xc86278 key Type
connman-vpnd[490]: vpn/vpn-provider.c:get_string() settings 0xc86278 key Name
connman-vpnd[490]: vpn/vpn-provider.c:get_string() settings 0xc86278 key Host
connman-vpnd[490]: vpn/vpn-provider.c:get_string() settings 0xc86278 key Domain
connman-vpnd[490]: vpn/vpn-provider.c:get_string() settings 0xc86278 key Networks
connman-vpnd[490]: vpn/vpn-provider.c:__vpn_provider_create_from_config() type PPTP name myVPN networks (null)
connman-vpnd[490]: vpn/vpn-provider.c:__vpn_provider_create_from_config() ident vpn_com_vpn
connman-vpnd[490]: vpn/vpn-provider.c:vpn_provider_new() provider 0xc8e610
connman-vpnd[490]: vpn/vpn-provider.c:provider_initialize() provider 0xc8e610
connman-vpnd[490]: vpn/vpn-provider.c:vpn_provider_get() provider 0xc8e610
connman-vpnd[490]: vpn/vpn-provider.c:configuration_count_add() count 1
connman-vpnd[490]: vpn/vpn-provider.c:provider_probe() provider 0xc8e610 driver (nil) name myVPN
connman-vpnd[490]: vpn/vpn-provider.c:provider_resolv_host_addr() Trying to resolv vpn.com
connman-vpnd[490]: vpn/vpn-provider.c:vpn_provider_ref_debug() 0xc8e610 ref 2 by vpn/vpn-provider.c:577:provider_resolv_host_addr()
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key PPPD.RefuseEAP immutable yes value true
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key Name immutable yes value myVPN
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key Host immutable yes value vpn.com
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key PPTP.User immutable yes value username
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key PPPD.RefusePAP immutable yes value true
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key PPPD.RefuseCHAP immutable yes value true
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key PPTP.Password immutable yes value password
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key PPPD.ReqMPPE128 immutable yes value true
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key Domain immutable yes value vpn
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key Type immutable yes value PPTP
connman-vpnd[490]: vpn/vpn-provider.c:set_string() provider 0xc8e610 key PPD.RefuseMSCHAP immutable yes value true
connman-vpnd[490]: vpn/vpn-provider.c:vpn_provider_save() provider 0xc8e610 immutable yes
connman-vpnd[490]: vpn/vpn-provider.c:provider_probe() provider 0xc8e610 driver (nil) name myVPN
connman-vpnd[490]: vpn/vpn-config.c:load_provider() Cannot create provider from config file (19/No such device)
connman-vpnd[490]: Config file /var/lib/connman-vpn/vpn.config does not contain any configuration that can be provisioned!
connman-vpnd[490]: vpn/vpn-rtnl.c:__vpn_rtnl_start()
connman-vpnd[490]: lo {newlink} index 1 operstate 0 <UNKNOWN>
connman-vpnd[490]: eth0 {create} index 2 type 1 <ETHER>
connman-vpnd[490]: eth0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
connman-vpnd[490]: eth0 {newlink} index 2 address B8:27:EB:E9:A2:03 mtu 1500
connman-vpnd[490]: eth0 {newlink} index 2 operstate 6 <UP>
connman-vpnd[490]: vpn/vpn-provider.c:resolv_result() status 0
connman-vpnd[490]: vpn/vpn-provider.c:vpn_provider_unref_debug() 0xc8e610 ref 1 by vpn/vpn-provider.c:549:resolv_result()

and the config file has the following content:

[global]
Name=myVPN

[provider_pptp]
Type=PPTP
Name=myVPN
Host=vpn.com
PPTP.User=username
PPTP.Password=password
Domain=vpn
PPPD.ReqMPPE128=true
PPPD.RefuseCHAP=true
PPD.RefuseMSCHAP=true
PPPD.RefusePAP=true
PPPD.RefuseEAP=true