[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
** Changed in: systemd (Ubuntu) Status: Confirmed => Fix Released ** Changed in: systemd (Ubuntu Trusty) Status: Confirmed => Won't Fix -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Dear ubuntu staffs, installing new softwares in my ubutu I am persistently face with error as below: dpkg-divert: error: rename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed dpkg: error processing package systemd-shim (--remove): installed systemd-shim package post-removal script subprocess returned error exit status 2 Errors were encountered while processing: systemd-shim E: Sub-process /usr/bin/dpkg returned an error code (1) please help me solve this problem. Thanks in advance for your help ** Changed in: systemd-shim (Ubuntu) Status: Confirmed => New -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu Trusty) Status: New => Confirmed -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
I've recently upgraded from 12.04 to 14.04. In 12.04 all worked perfectly. I see the same sort of thing as discussed. I attach a log from dbus-monitor. PrepareForSleep True is sent, sleep state is never reached, PrepareForSleep false is never sent I have no problem suspend/hybernate via pm-suspend. sudo /lib/systemd/systemd-sleep suspend also works fine for suspend, hibernate and hybrid-sleep systemd/network manager get in a mess. seemingly together (see test results below) Since I'm on 14.04, I don't have systemd-shim, so this seems to be a systemd problem, not just -shim I used to have tlp installed, but have purged it, and re-installed systemd, the problem has not cleared. Test results: $ sudo gdbus call -y -d org.freedesktop.login1 -o /org/freedesktop/login1 -m org.freedesktop.login1.Manager.Suspend true >> network manager disables, no suspend 2nd call: $ sudo gdbus call -y -d org.freedesktop.login1 -o /org/freedesktop/login1 -m org.freedesktop.login1.Manager.Suspend true Error: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit systemd-suspend.service failed to load: No such file or directory. See system logs and 'systemctl status systemd-suspend.service' for details. $ sudo killall NetworkManager >> Network returns. $ sudo gdbus call -y -d org.freedesktop.login1 -o /org/freedesktop/login1 -m org.freedesktop.login1.Manager.Suspend true >> network manager disables, no suspend - Test results2: $ systemctl suspend >> network manager disables, no suspend (no error msg) $ systemctl suspend Failed to issue method call: Unit systemd-suspend.service failed to load: No such file or directory. See system logs and 'systemctl status systemd-suspend.service' for details. Failed to issue method call: Access denied $ sudo killall NetworkManager >> Network returns. $ systemctl suspend >> network manager disables, no suspend (no error msg) $ sudo systemctl status systemd-suspend.service systemd-suspend.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) $ sudo nmcli nm sleep false >> NM restarts, however, it is NOT as 'cleansing' as killing NM As: $ systemctl suspend Failed to issue method call: Unit systemd-suspend.service failed to load: No such file or directory. See system logs and 'systemctl status systemd-suspend.service' for details. ** Attachment added: "dbus log, kill NetworkManager, wait, try to suspend, wait, kill N-Mgr" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1252121/+attachment/4810108/+files/dbus.log ** No longer affects: systemd (Ubuntu Saucy) -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
This works perfectly on Ubuntu 16.04 with systemd: https://gist.github.com/nitely/3d5f10b4f686f5f96c95 -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
** Project changed: network-manager => ubuntu-translations ** No longer affects: ubuntu-translations ** Project changed: wicd => ubuntu-translations ** No longer affects: ubuntu-translations ** Changed in: systemd-shim (Ubuntu Saucy) Importance: Undecided => High -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Any progress on this issue? I experience all of the symptoms posted by #8, are more logs required to properly troubleshoot this issue? The proposed workaround for enabling the network using "nmcli nm sleep false" works ok for me, but I also use VirtualBox quite heavily and any running machines refuses to resume due to the missing "PrepareForSleep false" signal. I can see in the VirtualBox source-code that it waits for this signal to determine if the host has properly resumed from standby in order to resume all the guests from a "Paused" state. Are there any way to also "fake" the sending this dbus-signal via a sleep.d-script to make VirtualBox happy as a workaround for this issue? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Currently using Xubuntu 14.04.2 updated. I have tried all the workarounds (restarting services, scripts, unload module files, etc) and none of them work for me. The issue I experience is related only to wired connection (DSL or Ethernet connections) and *not* with wi-fi. What I found out and what is not mentioned often is that for me the issue only happens when my laptop is on battery power (battery mode). If the laptop is plugged into AC, no issues. Network driver = r8169 (Realtek) Note - wi-fi says disabled, because I disabled it myself. Unlike ethernet, I don't keep the wi-fi always on. Are there any news about this bug ? Reading all the topics here and on Ubuntu forums, ASK Ubuntu, I see it is present for 2-3 years now ? Thanks ! description: Notebook product: SATELLITE C50-A (PSCJGE-***) vendor: TOSHIBA version: ** serial: *** width: 64 bits capabilities: smbios-2.7 dmi-2.7 vsyscall32 configuration: boot=normal chassis=notebook family=Durban 10BT sku=PSCJGE- uuid=** *-core description: Motherboard product: Portable PC vendor: TOSHIBA physical id: 0 version: MP serial: 1 *-firmware description: BIOS vendor: INSYDE Corp. physical id: 0 version: 1.10 date: 12/03/2013 size: 64KiB capacity: 8128KiB capabilities: pci pnp upgrade shadowing cdboot bootselect edd int9keyboard int10video acpi usb smartbattery biosbootspecification netboot *-cpu description: CPU product: Intel(R) Celeron(R) CPU N2820 @ 2.13GHz vendor: Intel Corp. physical id: 4 bus info: cpu@0 version: Intel(R) Celeron(R) CPU N2820 @ 2.13GHz slot: CPU 1 size: 2132MHz capacity: 4GHz width: 64 bits clock: 133MHz capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms cpufreq configuration: cores=4 enabledcores=4 threads=1 *-cache:0 description: L1 cache physical id: 8 slot: L1 Cache size: 32KiB capacity: 32KiB capabilities: synchronous internal write-back instruction *-cache:1 description: L2 cache physical id: 9 slot: L2 Cache size: 1MiB capacity: 1MiB capabilities: synchronous internal write-back unified *-cache description: L1 cache physical id: 7 slot: L1 Cache size: 24KiB capacity: 24KiB capabilities: synchronous internal write-back data *-memory description: System Memory physical id: c slot: System board or motherboard size: 4GiB *-bank:0 description: SODIMM DDR3 Synchronous 1066 MHz (0,9 ns) product: M471B5173DB0-YK0 vendor: Samsung physical id: 0 serial: 55107331 slot: DIMM0 size: 4GiB width: 64 bits clock: 1066MHz (0.9ns) *-bank:1 description: SODIMM [empty] physical id: 1 slot: DIMM1 *-pci description: Host bridge product: ValleyView SSA-CUnit vendor: Intel Corporation physical id: 100 bus info: pci@:00:00.0 version: 0c width: 32 bits clock: 33MHz configuration: driver=iosf_mbi_pci resources: irq:0 *-display description: VGA compatible controller product: ValleyView Gen7 vendor: Intel Corporation physical id: 2 bus info: pci@:00:02.0 version: 0c width: 32 bits clock: 33MHz capabilities: pm msi vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:106 memory:9000-903f memory:8000-8fff ioport:2050(size=8) *-storage description: SATA controller product: ValleyView 6-Port SATA AHCI Controller vendor: Intel Corporation physical id: 13 bus info: pci@:00:13.0 version: 0c width: 32 bits clock: 66MHz capabilities: storage msi pm ahci_1.0 bus_master cap_list configuration: driver=ahci latency
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Have anybody tried to remove light-locker? Maybe light-locker causes it? Or lightdm... As for me the bug isn't reproducable currently. Also I have upgraded to 3.16 kernel and suspending is much faster now -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@Pablo have you tried disabling ACPI HPET Table in BIOS? Maybe you don't have such option in BIOS/UEFI. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Spoke too soon, just hibernated and then resumed with Ethernet cable plugged in and the problem occurred. Killing or restarting Network Manager just caused nm-applet to crash so I had to restart that - which is probably why the workaround no longer works. I haven't noticed this problem in the week or so since the reinstall, although I have been using wifi and not ethernet all that time - my wifi was disabled via Network Manager before hibernating this time., so that may be related. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
After an upgrade to 14.10 the workaround stopped working (restarting network manager each resume). Due to another problem I had to reinstall 14.10 and the problem is no longer present for me after the reinstall. I am not sure whether this has been fixed in 14.10 or whether it was the re-installation that fixed it, but either way the problem has been fixed for me. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Hello guys! The bug seems to be fixed on my PC. There were lots of changes since the last check, but the last I did was disabling ACPI HPET Table in BIOS. Also I got rid of indicators. Other BIOS settings: suspend to ram - auto check ready bit - auto away mode support - disabled restore on AC - power off Ring-in power on - disabled PCI devices power on - disabled PS/2 Keyboard power on - disabled RTC alarm - by OS ACPI HPET Table - disabled -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
14.04.2 had been just released with new kernel 3.16 Is the big still persists? And what is wicd? Package that fixes bug ? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
This works fine for me, with wicd on Ubuntu Utopic. Actually, I don't see why someone (justin parker?) marked wicd as being affected, because I don't see anyone mentioning wicd in this report, and neither in https://bugs.launchpad.net/ubuntu/+source/systemd- shim/+bug/1184262 and neither in any of the duplicates. Marked as Invalid, just let me know if there's a real issue with wicd here. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
This works fine for me, with wicd on Ubuntu Utopic. Actually, I don't see why someone (justin parker?) marked wicd as being affected, because I don't see anyone mentioning wicd in this report, and neither in https://bugs.launchpad.net/ubuntu/+source/systemd- shim/+bug/1184262 and neither in any of the duplicates. Marked as Invalid, just let me know if there's a real issue with wicd here. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
** Changed in: wicd Status: New => Incomplete ** Changed in: wicd Importance: Undecided => Medium ** Changed in: wicd Assignee: (unassigned) => Tom Van Braeckel (tomvanbraeckel) ** Changed in: wicd Status: Incomplete => Invalid -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
The issue of the network not reconnecting after a suspend cycle is present also in 14.10 (utopic). Maybe it is another bug, but if this is the case, the fact that other bugs opened on the issue are made duplicate of this should be corrected. The issue completely breaks the possibility of using wake on lan. Machine is suspended Machine is waken on lan Machine is unusable because it properly wake on lan, but it is not on the lan. Please consider providing a script in /etc/pm/sleep.d/ as a solution as a SRU until a better solution can be found since having the network not connecting on machines that do not have a human operator in front of them means compelling the operator to taking a trip to the machine and long down times. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
The issue of the network not reconnecting after a suspend cycle is present also in utopic (14.10). Maybe it is another bug, but if this is the case, the fact that other bugs opened on the issue are made duplicate of this should be corrected. The issue completely breaks the possibility of using wake on lan. Machine is suspended Machine is waken on lan Machine is unusable because it properly wake on lan, but it is not on the lan. Please *consider* the option of adding a script to /etc/pm/sleep.d/ to wake up or restart network manager as a workaround, until the bug can addressed otherwise. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Maybe it depends on fresh install/update from buggy trusty? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
It is still happening in Xubuntu 14.10. After coming back from suspend (closed the laptop lid), NetworkManager is asleep: RUNNING STATE WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running asleep enabled enabledenabled disabled This workaround works for me: created script /etc/pm/sleep.d/49network- manager: #!/bin/sh # # work around a NetworkManager bug, waking it up after resume (sometimes it # stays sleeping after resume) # case "$1" in suspend|hibernate) ;; resume|thaw) nmcli nm status nmcli dev status state=`nmcli -t -f STATE nm status` if [ "$state" = "asleep" ]; then echo "waking up NetworkManager" nmcli nm sleep false nmcli nm status fi ;; esac exit 0 I had removed it to test whether the problem had gone away, but put it back when confirmed it hadn't been solved yet. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
If so we are waiting backport of fix to Trusty -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
The issue seems be resolved for me in Lubuntu 14.10. On Wed Jan 21 2015 at 2:01:06 PM Andy Somerville wrote: > @r0lf this is still happening in 14.10/Utopic should it be reopened > there? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1252121 > > Title: > missing PrepareForSleep signal after resuming, causing networking to > stay disabled > > Status in NetworkManager: > New > Status in wicd: > New > Status in systemd-shim package in Ubuntu: > Confirmed > Status in systemd-shim source package in Saucy: > Won't Fix > Status in systemd-shim source package in Trusty: > Confirmed > > 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/network-manager/+bug/1252121/+subscriptions > -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@r0lf this is still happening in 14.10/Utopic should it be reopened there? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Same feeling, I'm disappointed no one seems to take care of that basic bug that keeps me from using Ubuntu as my daily distro. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Why is this bug still unassigned more than a year later? Isn't the use of suspend + network-manager sufficiently common? It seems to me that this is a critical bug and I am quite shocked that no developer has deigned so much as to look at it in more than a year. I can do "sudo restart network-manager" every time I come back from suspend. But how many of among the non-technical masses that Ubuntu targets would know how to start the terminal application? This is quite ridiculous. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@Yanapas #148 Yes I have same bug in Linux Mint 17 KDE 64bit -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as "Won't Fix". ** Changed in: systemd-shim (Ubuntu Saucy) Status: Confirmed => Won't Fix -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Confirming: I installed Xubuntu Utopic 2 days ago, and this bug is also biting me. However, I noticed that it depends on the time interval between suspend and resume: the bug only happens when I resume 2+ hours after I suspend (it always happens in the morning when I first open the laptop lid). -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Is this reproducible on Utopic? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
I'm not sure whether this scipt were posted here. = #!/bin/bash case "$1" in thaw|resume) nmcli nm sleep false ;; *) ;; esac exit $? #save it in /etc/pm/sleep.d/wakenet.sh -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
!!! I have just booted from live Linux Mint xfce edition - everything is OK with network there. Also I booted from Xubuntu and this bug appears there. Is there anyone with Linux Mint with the same bug? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@David or anyone else having this problem, I too didn't have any luck with "nmcli nm sleep false" in my script under /etc/pm/sleep.d/ either but when I used "service network-manager restart" instead it worked flawlessly. I have not had any problems for almost five months and it doesn't cause any side effects. I've added the script that I use to this post. ** Attachment added: "Script for restarting networking manager on resume" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/4195364/+files/10_restart-networkmanager -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@dave-eorbit Thank you anyway! -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
For what it's worth, I added the command "pkill -f wpa_supplicant" after "nmcli nm sleep false" in my /etc/pm/sleep.d/ thaw or resume script, based on another similar bug that was reported elsewhere (I've lost the link; sorry). Now the wireless interface comes back up pretty consistently after a return from suspend... however, from time to time, after coming back from suspend once, it returns to suspend a few seconds later. It's never done this repeatedly after an initial suspend. Not sure if this amounts to forward progress or just sideways wiggling, but I thought I'd report it in case it rang any bells... -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Also experiencing this on Ubuntu 14.04. It's much easier to reproduce the longer you leave the computer in hibernation. I usually can't reproduce if I hibernate for a few minutes and then resume, but if I hibernate overnight and resume the next morning, this bug almost always occurs. Doing a sudo service network-manager restart works around it, but is annoying. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Same problem for laptop upgraded from 12.04 into 14.04. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
The same behavior on fresh reinstalled Xubuntu. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
I'm also experiencing this in 14.04 after upgrade from Ubuntu 12; dbus log shows PrepareForSleep true on suspend, but no corresponding PrepareForSleep false on awakening. Putting a script in /etc/pm/sleep.d/ (or in /usr/lib/pm-utils/sleep.d/) to issue "nmcli nm sleep false" (a workaround suggested elsewhere) doesn't work for me (but I can issue "sudo nmcli nm sleep false" manually to bring the network back). Creating a /etc/pm/config.d/config file with the command "SUSPEND_MODULES="brcmsmac"" (another suggested workaround) also doesn't do the trick (yes, brcmsmac is my driver, I'm pretty sure anyway). -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Yes, hibernation itself DOES work in Utopic (Lubuntu flavor). However, as I notice that I'm even able to hibernate my machine via GUI menu, I might have done some change that enables this (because I do remember there was something on launchpad about this being disabled in the vanilla installation) But anyways, 'sudo pm-hibernate' works fine regardless of what policy has been set. However, I've enabled 'S3' mode in my BIOS, though I have no idea whether 'Buntu will care about that at all. :) -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@andi3 Does hibernation work in Utopic? It is disabled for some unknown reasons in ubuntu for a long time, and I miss it very much. In addition to all now I'm back to Windows 7 and waiting for the fix -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Good question! I'm on Utopic development version (i. e. 14.10) and there is no way to get network back on automatically after hibernate! (suspend often caused my machine to hard-lock so I can only use hibernate in my case) It's a shame everyone ignores us, saying this is of minor importance. BTW, it worked fine in Saucy, so this is evidence enough that someone dabbled with the code and broke it AGAIN. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
I suppose that problem is invisible for developers. Any ideas how to UP topic? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
14.04, stock installation (no Jupiter or other additional power management software), desktop PC, networking never resumed after a suspend, 100% failure rate. Though being a desktop I supended the PC maybe 10 times since April. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@yanpas I do not know! u-power? something else gnome-specific? I should take some time to investigate what else there is. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@oliver so which utility does provide you power management? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@Dimitry from #131 Unfortunatly for some reason Gnomebuntu doesn't care about /etc/pm/sleep/*, pm-utls is involved with /etc/pm* and pm-utils is not installed under gnomebuntu 14.04 for me. Installing pm-utils makes suspend/resume work much less reliable, so leaving it off. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
I've booted from live Xubuntu 14.04 and there were such a bug too! So reinstall won't help -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Workaround using /etc/pm/sleep.d/10_restart-networkmanager works for me with less priority only, e.g. 01_restart... filename. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Ubuntu GNOME 14.04 Log like https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/comments/82 ** Attachment added: "nm.log" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/4110035/+files/nm.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Ubuntu GNOME 14.04 Log like https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/comments/82 ** Attachment added: "nm.log" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/4110034/+files/nm.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
After upgrading to 14.04 I am more affected by this bug than before: network-manager does not wake up properly after hibernation. With 13.10 this might only happen when I was using overriding the METHOD to METHOD=suspend_hybrid for METHOD=suspend. The workaround: `sudo nmcli nm sleep false`. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Philip, I also tried the Live CD version of 14.04 and discovered the same as you did that it did not suffer from this problem. However I remember some years ago trying the Live CD of a newly released version of Ubuntu and discovered that Suspend and Hibernate worked flawlessly, only to install the same version and discover that they didn’t work at all once Ubuntu was installed. So I don’t trust the Live version enough to attempt a complete re-install, probably only to discover that the problem is still present! I have upgraded to 14.04 and as others have stated, the problem persists. It seems less frequent, but I think that part of that is that it seems to happen more when it has been suspended for a while, and I have only tested it by repeatedly closing and opening the lid today. Justin, I looked at your workaround but that folder is empty for me, so I cannot try it. Yanpas, I tried setting the password again on resume in 14.04, but with the same result as before, it didn’t work for me for Suspend. I’ve given up to be honest. This will probably be fixed upstream in a year or two. I’ve been using Ubuntu for ten years and can count on one hand the number of bugs I’ve seen fixed. Typically I find a workaround, forget all about and years later realise the problem has gone away. I am now using a workaround found here: http://ubuntuforums.org/showthread.php?t=1522146 This restarts NetworkManager on every resume. It is not ideal, but it works and is not dependent on anything else and won’t be overridden by an update. Problem solved. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Maybe it is gnome-power-manager fault? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Yanpas, I tried setting the password request upon resume, it didn't make any difference for me. Networking was still down after resuming and entering my password. But I am using 13.10 and only hibernate, I don't suspend, not sure whether that has any bearing. Seth, if that was the case then I apologise, it looked to me like sarcasm, the kind of sarcasm that I see too often. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
dconf write /org/gnome/desktop/screensaver/ubuntu-lock-on-suspend true dconf write /org/gnome/desktop/screensaver/ubuntu-lock-on-suspend false This two-line script didn't solved my problem... The last workaround I've invented is to change Command "suspend" from Gear Menu to: echo | sudo -S pm-hibernate Any suggestions how to do it? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Interesting observation - If you check and then uncheck password request after suspend - that will fix the problem till the next reboot. So the final step - how to write .sh script that will check and uncheck this option at every PC boot? (Something related with dconf). Also check if this solution helps you. I think there are several bugs in this topic with the one result. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Seth Arnold, which logs do I need to upload? BTW I use latest systemd- shim 6-2bzr1 -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Pablo180, this bug is about a missing PrepareForSleep signal from systemd-shim. Justin's log messages show that his kernel had trouble re-associating with his access point. I have seen several other people with similar log messages and it would be far easier for that problem to be diagnosed and corrected if everyone who experienced that problem would file a bug for it, rather than just add their woes to an existing bug that is completely unrelated despite showing similar symptoms ("network doesn't work"). Thanks. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Hey Guys Try this work around, It's the only one that worked on my Toshiba NB505 With realtek drivers... Settings> security & privacy> Uncheck waking from Suspend & Returning >From blank screen Delete the entire contents of the following files "/etc/pm/config.d/config" & "/etc/pm/config.d/unload_modules" gksu gedit /etc/pm/config.d/config gksu gedit /etc/pm/config.d/unload_modules Try a suspend and it should come back That said you might want to look around for more edited files in /etc/pm/config.d/ Having said all that I have no Idea why that works. lol -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
A reinstallation might help. Even though the bug has not been fixed for the new LTS version (), a fresh installation might help. I didn't do much testing because I uninstalled Ubuntu to free up my SSD space for Windows (which runs rather stable and doesn't give a whole bunch of error messages after login), but for 10 minutes I tested Ubuntu 14.04 from a USB stick, and it didn't have the problem. So maybe if you install it, it won't have the problem either. However, I do realize that reinstalling the entire OS might not be something you want to do - that's why I'm on Windows now. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
IDK whats going on and thanks to those like SETH, now the bug is so split who knows if it will ever be fixed Pablo Thanks for your help... I'm not that much a newb but also not a developer. I know python and work in Networking, but when it comes to Ubuntu application support sorry to say I don't even know where to start... Yanpas, I tried your workarounds, sorry to say they did not work :( Thanks for your effort though... It would be nice to hear from a dev. How we can signal them? Maybe if we offer money? Hey Devs I'll pay! I will pay you money to help us with a fix If I said this to Microsoft they would fix it same day, lol. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Yes, by default password is on. I think the problem is that network manager needs root password to resume. So that is the trouble. I wonder why it is still unfixed and there are no comments from devs :( -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@Seth Arnold, Justin may have the package Linux installed but clearly he is lacking its dependencies: sarcasm-1.2.1 pretentiousness-99.9 elitism-1.0.1 smugness-1.0.0 Seth you seem to have an extra package installed: unhelpfulness-0.1.1 Justin, you won’t need to restart every time, you can just enter: sudo nmcli nm sleep false or sudo killall NetworkManager This is an annoying bug, that you wouldn’t expect to see in Ubuntu these days (I didn't see anything like this from the start) and I would describe it as serious, I mean how many people like Justin would have no idea how to get their networking back? I am guessing most new Ubuntu users, as it is not like they can search the net for a solution is it? Yanpas, thanks will try 2) as that has to be easier than having to open a terminal each and every time I resume. It also makes me wonder about those that don't have this bug, is it merely because many people have that enabled? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Ive collected 3 workarounds, and they work differently. Maybe this would help developers. Also I have lan network printer. 1) suspend via " sudo pm-suspend " - the best option. LAN printer doesnt make a noise and doesnt reinitialise and network continues to work, there ar no notifications about reconnection 2) turn on the password dialog on the wake up. This makes my printer make a noise and networks works too 3)place wakeup script in /etc/pm/sleep.d/ . Printer again reconnects to the computer with noise. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Justin, I believe you have a different issue; please file a new bug report for it, I suggest filing it against the package 'linux'. Thanks -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
On my system (HP ProBook 4750s) it doesn't work since Ubuntu 13.10 update. Now "killall NetworkManager" is my daily routine :) -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
** Also affects: network-manager Importance: Undecided Status: New ** Also affects: wicd Importance: Undecided Status: New -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
14.04 same thing WIFI won't come back after suspend... Editing /etc/pm/config.d/config with the "SUSPEND_MODULES="your_driver_here"" in my case rtl8192ce used to work now its not working at all. After every suspend it seems to be unable to disconnect. The last time WIFI worked at this point was 11.04 Is anyone reading these??? Why does the below Authenticate and then fail HELP PLEASE I DON't WANT TO RESTART my computer every time I use it [ 2014.937326] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin [ 2015.173101] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain [ 2015.173438] ieee80211 phy0: Selected rate control algorithm 'rtl_rc' [ 2015.174204] rtlwifi: wireless switch is on [ 2016.710890] r8169 :09:00.0: eth0: link down [ 2016.711525] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2017.076669] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 2017.080772] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 2028.174542] wlan0: authenticate with 14:d6:4d:23:76:ee [ 2028.515770] wlan0: send auth to 14:d6:4d:23:76:ee (try 1/3) [ 2028.520460] wlan0: authenticated [ 2043.997218] wlan0: authenticate with 14:d6:4d:23:76:ee [ 2044.339577] wlan0: send auth to 14:d6:4d:23:76:ee (try 1/3) [ 2044.540065] wlan0: send auth to 14:d6:4d:23:76:ee (try 2/3) [ 2044.556494] wlan0: authenticated ** Attachment added: "DMESG from WIFI problems in terminal" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/4087330/+files/WIFI_problem -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Bug affecting me in Ubuntu 14.04 -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
I have to agree with Philipp, I also, and perhaps somewhat naively, believed it would just be a case of comparing what has changed in newer version with the previous version that didn't have any problem and working out what is causing this problem. Or maybe just reverting to an earlier version of systemd-shim until the problem can be resolved? I'd be happy to test things, I'd even be happy to look over some code and do a spot the difference if that is any good? I've never had this problem before in any version of Ubuntu that I have used (that I can remember) right back to Warty, so this must be something simple that has recently been changed, right? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Same here (13.10) . The big problem is that it seems to be in all releases, so downgrading from 13.10 to the previous LTS release wouldn't even help. Half a year ago, everything was fine. So why is it that now it suddenly does not work anymore and can't be fixed (e.g. by reverting some changes)? For the last two months, I have used Ubuntu less and less often, instead I use Windows a lot more, because it saves me the 15-20 seconds that I need to workaround the issue after resuming Ubuntu. Btw: Where do bug reports go that I send from within Ubuntu (with the "Report a problem..." application, Apport)? I send tons of these because right after boot I get two errors, sometimes more, and the software updater regularly crashes, too. Maybe this is because my Ubuntu installation is upgraded from 12.10 over 13.04 to 13.10? And may the startup errors be related to this issue? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
This Bug still affects me on 12.04 -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
The workaround does not work on my machine. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
The same workaround worked for me. Thanks Massimo ! I really hope that this very annoying bug will be at least resolved for Trusty. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
This bug still affects me on an up to date saucy, with installed systemd-shim 6-0ubuntu0.13.10. I also tried systemd-shim in alternative ppa as described in https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1184262/comments/151 I could only workaround the problem through http://ubuntuforums.org/showthread.php?t=2182128&p=12830153#post12830153 -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
It currently doesn't work for me. I have the latest saucy-proposed packages, should the update you mentioned be in there? -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Since the recent update for the Gnome libraries I don't see the bug. The network resumes normally. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
So I patched pm-suspend to exit 0, and that would not trigger the bug anymore. I added a sleep as you suggested and NM would disconnect and then reconnect up to sleep value of 25 but not with sleep values of at least 26. I think we're looking at a 30 seconds timeout since my system takes some seconds to settle from the suspend code pathes (keyboard and display backlights take a couple of seconds to get turned off). The failing case also differs from the working case in that the screen doesn't turn back on; I guess this is because the signal which we're missing for Network Manager also misses for gnome-screensaver. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
So launching logind in the foreground, it displays: New seat seat0. Watching system buttons on /dev/input/event3 (Power Button) Watching system buttons on /dev/input/event7 (Video Bus) Watching system buttons on /dev/input/event1 (Power Button) Watching system buttons on /dev/input/event0 (Lid Switch) Watching system buttons on /dev/input/event2 (Sleep Button) New session c2 of user lool. Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-display. and after a failed fake-suspend, it shows: Delay lock is active but inhibitor timeout is reached. Failed to send delayed message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
This is how debug output looks: SYSTEMD_LOG_TARGET=console SYSTEMD_LOG_LEVEL=debug annotate-output /lib/systemd/systemd-logind [...] 18:25:19 E: Fixing up /dev/kvm for seat seat0... 18:25:19 E: Fixing up /dev/rfkill for seat seat0... 18:25:19 E: Fixing up /dev/snd/seq for seat seat0... 18:25:19 E: Fixing up /dev/snd/timer for seat seat0... 18:25:19 E: Inhibitor Telepathy (Disconnecting IM accounts before suspend/shutdown...) pid=16978 uid=1000 mode=delay started. 18:25:19 E: Inhibitor lool (GNOME handling keypresses) pid=4766 uid=1000 mode=block started. 18:25:19 E: systemd-logind running as pid 13421 18:25:27 E: Failed to open configuration file /etc/systemd/sleep.conf: No such file or directory 18:25:32 E: Delay lock is active but inhibitor timeout is reached. 18:25:57 E: Failed to send delayed message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Thanks LoÏc. For the record, it's expected that systemd-shim times out after some seconds of inactivity. So the shim log looks fine, and indeed the PrepareForSleep False is missing, as with other people. At this point this requires an in-depth debugging of systemd-logind, to see why it sometimes fails to send out the PrepareForSleep false after resuming. Supposedly systemd-shim doesn't simulate the suspend.target & friends convincingly enough and we are missing something important there. I'm not familiar with the inner workings of logind either, so I'm afraid I cannot give much helpful advice what could be wrong there. Just some hints if anyone wants to take a stab: - It's perfectly acceptable to kill a running logind and start it in the foreground, even from a built tree; it will pick up the state from /run/ and /sys/fs/cgroups/. That makes it easier for "add debug info"/compile/run/suspend cycles. - It's probably also helpful to edit /usr/sbin/pm-suspend to "exit 0" at the start, so that the machine doesn't actually suspend; of course before doing this you should ensure that this actually still reproduces the bug; if not, and it turns out to be some timing issue, then you could also put a "sleep N" in front of it, and check for which values of N it starts working/failing. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Getting this too; I only see one PrepareForSleep true dbus call over a suspend/resume call (no PrepareForSleep false). Will attach a systemd-shim debug log. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
This was captured with the given systemd-shim debug capture rune; I didn't have to ^C systemd-shim on resume as it exited by itself with 0 (see bottom of log). ** Attachment added: "systemd-shim.log" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3960758/+files/systemd-shim.log ** Changed in: systemd-shim (Ubuntu Trusty) Status: Incomplete => Confirmed -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
For completeness, this is grep -C 5 around PrepareForSleep dbus traffic over a suspend/resume: string "Strength" variant byte 80 ) ] signal sender=:1.23 -> dest=(null destination) serial=2607 path=/org/freedesktop/UPower; interface=org.freedesktop.UPower; member=Changed signal sender=:1.3 -> dest=(null destination) serial=677 path=/org/freedesktop/login1; interface=org.freedesktop.login1.Manager; member=PrepareForSleep boolean true signal sender=:1.0 -> dest=(null destination) serial=5501 path=/com/ubuntu/Upstart; interface=com.ubuntu.Upstart0_6; member=EventEmitted string "backlight-device-changed" array [ string "KERNEL=acpi_video0" -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
@pitti Just an update from my side: Not using hybrid suspend (via overriding "METHOD=suspend_hybrid") fixed it for me. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
And here's my systemd-shim.log (see Martin's comment #88). Just like Christian, I do not have to press Ctrl+C, it exits a few moments after resuming and entering the user password. ** Attachment added: "Suspended using Unity menu" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3954335/+files/systemd-shim.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
I have 6-0ubuntu0.13.10. Please see the attached nm.log that I created as Martin described in #82. I had to wait some time after "sudo Networkmanager ..." until my wifi was connected. Then I suspended which took the usual while. After resume, the network was disconnected as usual. I didn't have for any output to settle. I'm not sure, but I think that almost no log entries were added after resume and entering the password. ** Attachment added: "nm.log see comment #82, suspended by clicking the Unity menu item" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3954325/+files/nm.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
I can't reproduce the working state now with 10 tries. And all those logs of broken resuming only have a single suspend.target call. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
So in systemd-shim3.log StartUnit('suspend.target') is called once, while in systemd-shim2.log it's called twice. Are you sure that systemd- shim2.log was the one where things worked properly? It seems much more likely to me that calling StartUnit('suspend.target') twice in short succession might cause problems. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Here network manager resumed properly. ** Attachment added: "systemd-shim2.log" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3954187/+files/systemd-shim2.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Seems that in some cases (1 in 5 tries) networkmanager resumes. Attached is the case when it does not resume. Note that I don't have to press ctrl+c to stop logging; it exits itself. ** Attachment added: "systemd-shim3.log" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3954179/+files/systemd-shim3.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Thanks Christian. So this is yet another bug than the one that Daniel and Rafael are experiencing. First, please ensure (dpkg -l systemd-shim) that you have version 6-... installed. If you do, please run this sudo G_DBUS_DEBUG=all annotate-output /usr/lib/*/systemd-shim 2>&1 | tee /tmp/systemd-shim.log then suspend/resume, press Control-C, and attach /tmp/systemd-shim.log here. -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
The signal is really missing. Attached is the dbus log when closing and opening the lid. ** Attachment added: "dbus-lid.log" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3954133/+files/dbus-lid.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
Christian, that still looks incomplete: the log ends after the suspend, but there is nothing at all after resume? If you do "pm-suspend" then the PrepareForSleep signal isn't sent, as that's a logind thing. Christian, I didn't get a system D-BUS monitor log from you yet. If that really is the whole NM log, then for you the PrepareForSleep False signal seems to be missing; please follow https://wiki.ubuntu.com/DebuggingDBus to create a system bus debug log during a suspend cycle. Thanks! -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
When doing "sudo pm-suspend", the log does *not* contain the lines > [nm-sleep-monitor-systemd.c:150] signal_cb(): Received PrepareForSleep > signal: 1 > [nm-manager.c:3511] sleeping_cb(): Received sleeping signal -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
The last 30 lines of the network manager log as requested. ** Attachment added: "nm2.log" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3954102/+files/nm2.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1252121] Re: missing PrepareForSleep signal after resuming, causing networking to stay disabled
that 30 lines were not enough. here are 300 ** Attachment added: "nm2.log" https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+attachment/3954113/+files/nm2.log -- 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 PrepareForSleep signal after resuming, causing networking to stay disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1252121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs