本帖最后由 郑全 于 2017-1-21 17:34 编辑
rhel7: NetworkManager outputs an error about polkit properties.
Solution 已验证 - 已更新2016年十二月20日10:49 - No translations currently exist.
环境- Red Hat Enterprise Linux 7
- NetworkManager
问题- On Red Hat Enterprise Linux 7, NetworkManager outputs the following errors:
NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.sleep-wake: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-network: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.network-control: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wimax: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)NetworkManager[513]: <warn> error requesting auth for org.freedesktop.NetworkManager.sleep-wake: (0) Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
决议
- NetworkManager uses DBUS communication between applications. The error indicates that data transmission and reception with the communication destination could not be performed in the DBUS communication.
E.g. “Org.freedesktop.NetworkManager.sleep-wake" are policy attributes that polkitd daemon gives to applications. The communication destination of NetworkManager is polkitd daemon.
It occurred at the time of system startup and shutdown, it seems that polkitd start and end occurred around the start timing of NetworkManager.
In that case, you can safely ignore the errors.
If it occurs during operation, restart the polkit service with the following command:
# Systemctl restart polkit
|