[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-25 Thread Martin Pitt
Gabriel, indeed the PrepareForSleep false signal is still missing. I now have run out of ideas why that would be, as the communication between shim and logind seems fine. Also, I cannot reproduce this at all with adding sleeps to places. This needs to be studied in more detail to get more ideas

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Martin Pitt
I can reproduce this. I added a sleep 5 to a pm-utils sleep.5 script. When I run systemd-shim in the foreground in my session, I get this output after resuming: 14:39:18 O: GDBus-debug:Address: In g_dbus_address_get_for_bus_sync() for bus type 'session' 14:39:18 O: GDBus-debug:Address: env var

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Martin Pitt
Argh, now that I'm looking for what is using the session bus: Look at the original attempt to flush the bus and spot the error: https://github.com/desrt/systemd-shim/commit/136ed11430 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Martin Pitt
Please upgrade to my systemd-shim package in https://launchpad.net/~pitti/+archive/sru-test (version 5-0ubuntu0.0pitti1). This is the only package in the PPA, so it's safe to just dist-upgrade. This really ought to fix this problem properly. Please let me know positive and negative results. I'll

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Gabriel Devenyi
Unfortunately, this doesn't seem to have fixed it, suspend-resume via the laptop function keys still disabled networking. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1252121 Title: missing resume

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Martin Pitt
Gabriel, can you please create a new systemd-shim log just like in comment 5? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1252121 Title: missing resume signal because D-BUS connection goes away

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Gabriel Devenyi
systemd-shim log with 5-0ubuntu0.0pitti1 ** Attachment added: systemd-shim log with 5-0ubuntu0.0pitti1 https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3915058/+files/systemd-shim.log -- You received this bug notification because you are a member of Ubuntu

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Gabriel Devenyi
pm-suspend log of 5-0ubuntu0.0pitti1 ** Attachment added: pm-suspend log of 5-0ubuntu0.0pitti1 https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3915059/+files/pm-suspend.log -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Martin Pitt
Thanks Gabriel. That confirms that the D-BUS mess is fixed, and it also times out properly 10 seconds after the suspend call. Both logs now look spotless. So I'm afraid I need to ask you to get a complete system D-BUS log of the whole suspend process, to check what happens to the PrepareForSleep

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Gabriel Devenyi
dbus-log with 5-0ubuntu0.0pitti1 ** Attachment added: dbus-log with 5-0ubuntu0.0pitti1 https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3915067/+files/dbus-log.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-22 Thread Pablo180
Martin, Thanks but unfortunately it didn't work for me either. I have just resumed after about a 5 hour hibernation only to have no networking once again. I have installed the updated systemd-shim from the PPA but I haven't restarted since installing, not sure whether that makes a difference?

[Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-20 Thread Daniel Lombraña González
Looks like I come from bug #1184262, and I'm experiencing the same problem :-) pm-suspend works always, quickly and the network is available without problems, however if I suspend the laptop with the lid or Unity menu, network never comes back. I'll try to send you a log, so you can review it here

Re: [Bug 1252121] Re: missing resume signal because D-BUS connection goes away

2013-11-20 Thread Martin Pitt
Hello Daniel, Daniel Lombraña González [2013-11-21 7:33 -]: Looks like I come from bug #1184262, and I'm experiencing the same problem :-) pm-suspend works always, quickly and the network is available without problems, however if I suspend the laptop with the lid or Unity menu, network