networkmanager permissions problem



I've previously compiled modemmanager and networkmanager from source on x86_64 (non-systemd) and they work 
fine.

Using basically the same method on an RPi3 (non-systemd) - I get permissions problems.

I've compiled both (ModemManager-1.6.12, NetworkManager-1.4.6) with and without polkit, but both give a 
permissions error on starting nm-dispatcher.

I've tried starting nm-dispatcher and polkitd directly as root (the dbus and networkmanager daemons are 
running as root) and neither give errors.

Note also that eth0 is already running using udhcpc before starting networkmanager to enable an ssh 
connection.

Any trouble shooting suggestions would be much appreciated.

----------

Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.5505] NetworkManager (version 
1.4.6) is starting...
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.5507] Read config: 
/usr/local/etc/NetworkManager/nm-system-settings.conf
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.5766] manager[0xdd0028]: monitoring 
kernel firmware directory '/lib/firmware'.
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6028] dns-mgr[0xdda440]: init: 
dns=default, rc-manager=symlink
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6176] rfkill0: found WiFi radio 
killswitch (at 
/sys/devices/platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/ieee80211/phy0/rfkill0) (driver 
brcmfmac)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6183] manager[0xdd0028]: WiFi 
hardware radio set enabled
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6184] manager[0xdd0028]: WWAN 
hardware radio set enabled
Feb 18 05:55:02 box daemon.notice dbus[2961]: [system] Activating service 
name='org.freedesktop.nm_dispatcher' (using servicehelper)
Feb 18 05:55:02 box daemon.notice dbus[2961]: [system] Activated service 'org.freedesktop.nm_dispatcher' 
failed: Failed to execute program org.freedesktop.nm_dispatcher: Permission denied
Feb 18 05:55:02 box daemon.err NetworkManager[2966]: <error> [1518933302.6487] dispatcher: could not get 
dispatcher proxy! Error calling StartServiceByName for org.freedesktop.nm_dispatcher: 
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program 
org.freedesktop.nm_dispatcher: Permission denied
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6495] settings: loaded plugin 
keyfile: (c) 2007 - 2015 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6565] settings: hostname: couldn't 
get property from hostnamed
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6585] dhcp-init: Using DHCP client 
'dhcpcd'
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6587] manager: WiFi enabled by 
radio killswitch; enabled by state file
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6589] manager: WWAN enabled by 
radio killswitch; enabled by state file
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6590] manager: Networking is 
enabled by state file
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6594] Loaded device plugin: 
NMVxlanFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6595] Loaded device plugin: 
NMVlanFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6596] Loaded device plugin: 
NMVethFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6598] Loaded device plugin: 
NMTunFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6599] Loaded device plugin: 
NMMacvlanFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6600] Loaded device plugin: 
NMIPTunnelFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6601] Loaded device plugin: 
NMInfinibandFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6603] Loaded device plugin: 
NMEthernetFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6604] Loaded device plugin: 
NMBridgeFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6605] Loaded device plugin: 
NMBondFactory (internal)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.6951] Loaded device plugin: 
NMWwanFactory (/usr/local/lib/NetworkManager/libnm-device-plugin-wwan.so)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7082] Loaded device plugin: 
NMWifiFactory (/usr/local/lib/NetworkManager/libnm-device-plugin-wifi.so)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7240] Loaded device plugin: 
NMBluezManager (/usr/local/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7309] Loaded device plugin: 
NMAtmManager (/usr/local/lib/NetworkManager/libnm-device-plugin-adsl.so)
Feb 18 05:55:02 box daemon.warn NetworkManager[2966]: <warn>  [1518933302.7376] platform-linux: kernel 
support for IFLA_INET6_ADDR_GEN_MODE failed to detect; assume no support
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7379] device (lo): link connected
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7450] manager: (lo): new Generic 
device (/org/freedesktop/NetworkManager/Devices/0)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7510] device (eth0): link connected
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7590] manager: (eth0): new Ethernet 
device (/org/freedesktop/NetworkManager/Devices/1)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7678] keyfile: add connection 
in-memory (2b435489-959c-35dc-bcf4-c6581e8a5b13,"Wired connection 1")
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7705] settings: (eth0): created 
default wired connection 'Wired connection 1'
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7890] keyfile: add connection 
in-memory (7df8dadb-e460-4e01-9eaf-041d768da5e0,"eth0")
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7918] device (eth0): state change: 
unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7937] device (eth0): state change: 
unavailable -> disconnected (reason 'connection-assumed') [20 30 41]
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7981] device (eth0): Activation: 
starting connection 'eth0' (7df8dadb-e460-4e01-9eaf-041d768da5e0)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.7988] (wlan0): using nl80211 for 
WiFi device control
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.8055] device (wlan0): driver 
supports Access Point (AP) mode
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.8094] manager: (wlan0): new 802.11 
WiFi device (/org/freedesktop/NetworkManager/Devices/2)
Feb 18 05:55:02 box daemon.info NetworkManager[2966]: <info>  [1518933302.8130] device (wlan0): state change: 
unmanaged -> unavailable (reason 'managed') [10 20 2]
Feb 18 05:55:02 box user.info kernel: [  230.832000] brcmfmac: power management disabled
Feb 18 05:55:03 box daemon.info NetworkManager[2966]: <info>  [1518933303.3789] device (wlan0): set-hw-addr: 
set MAC address to 36:FA:93:F1:5F:7F (scanning)
Feb 18 05:55:03 box user.info kernel: [  231.362588] brcmfmac: power management disabled
Feb 18 05:55:03 box daemon.notice dbus[2961]: [system] Activating service name='org.freedesktop.PolicyKit1' 
(using servicehelper)
Feb 18 05:55:03 box daemon.notice dbus[2961]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: 
Failed to execute program org.freedesktop.PolicyKit1: Permission denied
Feb 18 05:55:03 box daemon.err NetworkManager[2966]: <error> [1518933303.4135] auth: could not get polkit 
proxy: Error calling StartServiceByName for org.freedesktop.PolicyKit1: 
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program 
org.freedesktop.PolicyKit1: Permission denied
Feb 18 05:55:03 box daemon.notice dbus[2961]: [system] Activating service name='fi.w1.wpa_supplicant1' (using 
servicehelper)
Feb 18 05:55:03 box daemon.notice dbus[2961]: [system] Activated service 'fi.w1.wpa_supplicant1' failed: 
Failed to execute program fi.w1.wpa_supplicant1: Permission denied
Feb 18 05:55:03 box daemon.info NetworkManager[2966]: <info>  [1518933303.4275] device (eth0): state change: 
disconnected -> prepare (reason 'none') [30 40 0]
Feb 18 05:55:03 box daemon.warn NetworkManager[2966]: <warn>  [1518933303.4308] supplicant: failed to acquire 
wpa_supplicant proxy: Wi-Fi and 802.1x will not be available (Error calling StartServiceByName for 
fi.w1.wpa_supplicant1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program 
fi.w1.wpa_supplicant1: Permission denied)
Feb 18 05:55:03 box daemon.notice dbus[2961]: [system] Activating service 
name='org.freedesktop.ModemManager1' (using servicehelper)
Feb 18 05:55:03 box daemon.notice dbus[2961]: [system] Activated service 'org.freedesktop.ModemManager1' 
failed: Failed to execute program org.freedesktop.ModemManager1: Permission denied


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