[Touch-packages] [Bug 1889378] Re: dbus method 'Sleep' not work

2020-08-15 Thread Rex Tsai
** Tags added: oem-priority

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1889378

Title:
  dbus method 'Sleep' not work

Status in OEM Priority Project:
  New
Status in network-manager package in Ubuntu:
  Incomplete

Bug description:
  refer to https://salsa.debian.org/utopia-team/network-
  
manager/-/blob/debian/master/introspection/org.freedesktop.NetworkManager.xml#L157

  
  
    
  

  But the network not be deactivated after the Sleep method be called.

  steps:
   1.$ gdbus call --system --dest org.freedesktop.NetworkManager --object-path 
/org/freedesktop/NetworkManager --method org.freedesktop.NetworkManager.Sleep 
true

   2.$ journal ctl ; # see the dbus method be called correctly.
  NetworkManager[843]:   [1596010870.8622] manager: sleep: sleep 
requested (sleeping: no  enabled: yes)
  NetworkManager[843]:   [1596010870.8626] device (p2p-dev-wlp0s20f3): 
state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 
'managed')
  NetworkManager[843]:   [1596010870.8632] manager: NetworkManager state 
is now ASLEEP
  NetworkManager[843]:   [1596010870.8635] audit: op="sleep-control" 
arg="on" pid=2825 uid=0 result="success"

  3. $ ping 8.8.8.8 ; # still work unexpectedly

  Note: this issue can be reproduced on the latest version of network-
  manager source : https://git.launchpad.net/network-
  manager/commit/?id=6e17a2e7ad9453c0afe34dab0e6768ad8ee447c2

  upstream bug:
  https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/503

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1889378/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1889378] Re: dbus method 'Sleep' not work

2020-07-29 Thread Sebastien Bacher
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...


** Changed in: network-manager (Ubuntu)
   Importance: Undecided => Low

** Changed in: network-manager (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1889378

Title:
  dbus method 'Sleep' not work

Status in OEM Priority Project:
  New
Status in network-manager package in Ubuntu:
  Incomplete

Bug description:
  refer to https://salsa.debian.org/utopia-team/network-
  
manager/-/blob/debian/master/introspection/org.freedesktop.NetworkManager.xml#L157

  
  
    
  

  But the network not be deactivated after the Sleep method be called.

  steps:
   1.$ gdbus call --system --dest org.freedesktop.NetworkManager --object-path 
/org/freedesktop/NetworkManager --method org.freedesktop.NetworkManager.Sleep 
true

   2.$ journal ctl ; # see the dbus method be called correctly.
  NetworkManager[843]:   [1596010870.8622] manager: sleep: sleep 
requested (sleeping: no  enabled: yes)
  NetworkManager[843]:   [1596010870.8626] device (p2p-dev-wlp0s20f3): 
state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 
'managed')
  NetworkManager[843]:   [1596010870.8632] manager: NetworkManager state 
is now ASLEEP
  NetworkManager[843]:   [1596010870.8635] audit: op="sleep-control" 
arg="on" pid=2825 uid=0 result="success"

  3. $ ping 8.8.8.8 ; # still work unexpectedly

  Note: this issue can be reproduced on the latest version of network-
  manager source : https://git.launchpad.net/network-
  manager/commit/?id=6e17a2e7ad9453c0afe34dab0e6768ad8ee447c2

  upstream bug:
  https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/503

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1889378/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1889378] Re: dbus method 'Sleep' not work

2020-07-29 Thread Alex Tu
** Description changed:

+ refer to https://salsa.debian.org/utopia-team/network-
+ 
manager/-/blob/debian/master/introspection/org.freedesktop.NetworkManager.xml#L157
  
- refer to 
https://salsa.debian.org/utopia-team/network-manager/-/blob/debian/master/introspection/org.freedesktop.NetworkManager.xml#L157
+ 
- 
-   
- 
+ 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.
+ -->
+ 
+   
+ 
  
  But the network not be deactivated after the Sleep method be called.
+ 
+ steps:
+  1.$ gdbus call --system --dest org.freedesktop.NetworkManager --object-path 
/org/freedesktop/NetworkManager --method org.freedesktop.NetworkManager.Sleep 
true
+ 
+  2.$ journal ctl ; # see the dbus method be called correctly.
+  七  29 16:21:10 u-XPS-13-9310 sudo[2822]:u : TTY=pts/1 ; PWD=/home/u 
; USER=root ; COMMAND=/usr/bin/gdbus call --system --dest 
org.freedesktop.NetworkManager --object-path /org/freedesktop/NetworkManage
+ r --method org.freedesktop.NetworkManager.Sleep true
+  七  29 16:21:10 u-XPS-13-9310 sudo[2822]: pam_unix(sudo:session): session 
opened for user root by (uid=0)
+  七  29 16:21:10 u-XPS-13-9310 NetworkManager[843]:   [1596010870.8622] 
manager: sleep: sleep requested (sleeping: no  enabled: yes)
+  七  29 16:21:10 u-XPS-13-9310 NetworkManager[843]:   [1596010870.8626] 
device (p2p-dev-wlp0s20f3): state change: disconnected -> unmanaged (reason 
'sleeping', sys-iface-state: 'managed')
+  七  29 16:21:10 u-XPS-13-9310 NetworkManager[843]:   [1596010870.8632] 
manager: NetworkManager state is now ASLEEP
+  七  29 16:21:10 u-XPS-13-9310 NetworkManager[843]:   [1596010870.8635] 
audit: op="sleep-control" arg="on" pid=2825 uid=0 result="success"
+ 
+ 3. $ ping 8.8.8.8 ; # still work unexpectedly
+ 
+ Note: this issue can be reproduced on the latest version of network-
+ manager source : https://git.launchpad.net/network-
+ manager/commit/?id=6e17a2e7ad9453c0afe34dab0e6768ad8ee447c2

** Changed in: oem-priority
 Assignee: (unassigned) => Alex Tu (alextu)

** Changed in: oem-priority
   Importance: Undecided => High

** Description changed:

  refer to https://salsa.debian.org/utopia-team/network-
  
manager/-/blob/debian/master/introspection/org.freedesktop.NetworkManager.xml#L157
  
  
  
    
  
  
  But the network not be deactivated after the Sleep method be called.
  
  steps:
-  1.$ gdbus call --system --dest org.freedesktop.NetworkManager --object-path 
/org/freedesktop/NetworkManager --method org.freedesktop.NetworkManager.Sleep 
true
+  1.$ gdbus call --system --dest org.freedesktop.NetworkManager --object-path 
/org/freedesktop/NetworkManager --method org.freedesktop.NetworkManager.Sleep 
true
  
-  2.$ journal ctl ; # see the dbus method be called correctly.
-  七  29 16:21:10 u-XPS-13-9310 sudo[2822]:u : TTY=pts/1 ; PWD=/home/u 
; USER=root ; COMMAND=/usr/bin/gdbus call --system --dest 
org.freedesktop.NetworkManager --object-path /org/freedesktop/NetworkManage
- r --method org.freedesktop.NetworkManager.Sleep true
-  七  29 16:21:10 u-XPS-13-9310 sudo[2822]: pam_unix(sudo:session): session 
opened for user root by (uid=0)
-  七  29 16:21:10 u-XPS-13-9310 NetworkManager[843]:   [1596010870.8622] 
manager: sleep: sleep requested (sleeping: no  enabled: yes)
-  七  29 16:21:10 u-XPS-13-9310 NetworkManager[843]:   [1596010870.8626] 
device (p2p-dev-wlp0s20f3): state change: disconnected -> unmanaged (reason 
'sleeping', sys-iface-state: 'managed')
-  七  29 16:21:10 u-XPS-13-9310 NetworkManager[843]:   [1596010870.8632] 
manager: NetworkManager state is now ASLEEP
-  七  29 16:21:10 u-XPS-13-9310 NetworkManager[843]:   [1596010870.8635] 
audit: op="sleep-control" arg="on" pid=2825 uid=0 result="success"
+  2.$ journal ctl ; # see the dbus method be called correctly.
+ NetworkManager[843]:   [1596010870.8622] manager: sleep: sleep 
requested (sleeping: no  enabled: yes)
+ NetworkManager[843]:   [1596010870.8626] device (p2p-dev-wlp0s20f3): 
state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 
'managed')
+ NetworkManager[843]:   [1596010870.8632] manager: NetworkManager state 
is now ASLEEP
+ NetworkManager[843]:   [1596010870.8635] audit: op="sleep-control" 
arg="on" pid=2825 uid=0 result="success"
  
  3. $ ping 8.8.8.8 ; # still work unexpectedly
  
  Note: this issue can be reproduced on the latest version of network-
  manager source : https://git.launchpad.net/network-
  manager/commit/?id=6e17a2e7ad9453c0afe34dab0e6768ad8ee447c2

** Description changed:

  refer to https://salsa.debian.org/utopia-team/network-
  
manager/-/blob/debian/master/introspection/org.freedesktop.NetworkManager.xml#L157
  
  
  
    
  
  
  But the network not be