dbus method 'Sleep' not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
New
|
High
|
Alex Tu | ||
network-manager (Ubuntu) |
Incomplete
|
Low
|
Unassigned |
Bug Description
<!--
Sleep:
@sleep: Indicates whether the NetworkManager daemon should sleep or wake.
Control the NetworkManager daemon's sleep state. When asleep, all
interfaces that it manages are deactivated. When awake, devices are
available to be activated. This command should not be called directly by
users or clients; it is intended for system suspend/resume tracking.
-->
<method name="Sleep">
<arg name="sleep" type="b" direction="in"/>
</method>
But the network not be deactivated after the Sleep method be called.
steps:
1.$ gdbus call --system --dest org.freedesktop
2.$ journal ctl ; # see the dbus method be called correctly.
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
3. $ ping 8.8.8.8 ; # still work unexpectedly
Note: this issue can be reproduced on the latest version of network-manager source : https:/
upstream bug: https:/
description: | updated |
Changed in oem-priority: | |
assignee: | nobody → Alex Tu (alextu) |
importance: | Undecided → High |
description: | updated |
description: | updated |
tags: | added: oem-priority |
Thank you for your bug report, how do you call it exactly? What are you trying to do?
The documentation states
'This command should not be called directly by users or clients; it is intended for system suspend/resume tracking.'
Is it resulting from a problem you have after suspend or are you trying to manually force a suspend for some reason? Having some details on what you trying to achieve would help understanding the issue...