nmcli reports :Not authorized to control networking. when run from cron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
In 10.04 nmcli worked from cron. I have a PPTP vpn connection which I startup overnight via cron using the nmcli syntax:
nmcli -p con up id VPN
In 10.10 this returns the message:
"Error: Connection activation failed: Not authorized to control networking."
The command works fine from a terminal window run from the dekstop. This used to work in 10.04, but now fails in 10.10.
---
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 10.10
IfupdownConfig:
auto lo
iface lo inet loopback
Keyfiles: Error: [Errno 2] No such file or directory
Package: network-manager 0.8.1+git.
PackageArchitec
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Tags: maverick
Uname: Linux 2.6.35-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
WifiSyslog:
affects: | ubuntu → network-manager (Ubuntu) |
Changed in network-manager (Ubuntu): | |
status: | Incomplete → New |
Hello
can you please run ina terminal
apport-collect -p network-manager 681708
Thanks
Fabio