dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #06861
Re: [Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Daniel Hahler [2013-12-19 13:11 -0000]:
> I have then suspended and resumed (after a minute maybe), and there's no
> PrepareForSleep=false in the log, only:
>
> signal sender=:1.3 -> dest=(null destination) serial=1076 path=/org/freedesktop/login1; interface=org.freedesktop.login1.Manager; member=PrepareForSleep
> boolean true
Thanks. So that's still the case even through the shim works as
intended. I don't have an off-hand idea where to go from here, I need
to study in detail how PrepareForSleep is handled in logind.
> Is it safe/wise to post the dbus-monitor log unfiltered puclicitly, or
> can I send it directly to you?
Should usually be harmless, but the above was the main piece of
information I wanted to get out of it. It would also have the logind
calls/signals which might be interesting, but I can't say without
looking.
Thanks!
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to systemd-shim in Ubuntu.
https://bugs.launchpad.net/bugs/1252121
Title:
missing PrepareForSleep signal after resuming, causing networking to
stay disabled
Status in “systemd-shim” package in Ubuntu:
Incomplete
Status in “systemd-shim” source package in Saucy:
Confirmed
Status in “systemd-shim” source package in Trusty:
Incomplete
Bug description:
As per request from bug #1184262, this is a new report, along with
dbus (to be attached)
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: systemd-services 204-0ubuntu19
Uname: Linux 3.12.0-custom x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Sun Nov 17 20:24:41 2013
MarkForUpload: True
SourcePackage: systemd
UpgradeStatus: Upgraded to saucy on 2013-10-17 (31 days ago)
SRU INFORMATION:
FIX: https://github.com/desrt/systemd-shim/commit/9e1ebe3ab (in trusty already)
Regression potential: Low. Flushing the session bus was introduced in
version 4 and is obviously bogus as in a system D-BUS service there is
no session bus. This causes lots of confusing error messages and
unnecessary overhead like trying to start dbus-launch. Flushing the
system bus is low-risk, in most cases it's a no-op and it would
otherwise prevent losing signals after waking up. No known
regressions.
TEST CASE: Run several suspend/resume cycles with the lid, session
indicator menu, and verify that the network comes back up. It is known
that this fix is necessary but not sufficient, so it is not expected
to fix all cases. But it should not make things worse, so if network
now does not come up any more on a machine where it previously worked
this would count as failure/regression.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions
References