[Bug 751811] New: pm-suspend generates defective /var/log/pm-suspend.log file
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c0 Summary: pm-suspend generates defective /var/log/pm-suspend.log file Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: cmcgrath5035@comcast.net QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=480963) --> (http://bugzilla.novell.com/attachment.cgi?id=480963) Good pm-suspend,log from SuSE 11.4 system User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 When running pm-suspend from console as root, the log file generated in /var/log/pm-suspend.log is defective - appears to be a binary dump (crash?) followed by some normal status lines. Log file is useless in debugging suspend-to-ram issues. Reproducible: Always Steps to Reproduce: 1. Open console window, su to root 2. run pm-suspend, system suspends 3. wake system, open /var/log/pm-suspend.log Actual Results: opening file /var/log/pm-suspend.log in kwrite or Vim - observe what appears to be binary garbage at top of file. Expected Results: I expect a log file similar to the one generated by SuSE 11.4/KDE 4.8.1 (attached) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c1 --- Comment #1 from carl mcgrath <cmcgrath5035@comcast.net> 2012-03-12 15:14:19 UTC --- Created an attachment (id=480966) --> (http://bugzilla.novell.com/attachment.cgi?id=480966) Log file generated by pm-suspend on 12.1 See garbage at top of file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c2 phanisvara das <phani00@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phani00@gmail.com --- Comment #2 from phanisvara das <phani00@gmail.com> 2012-03-12 17:01:24 UTC --- i'm seeing the same thing, on openSUSE 12.1 with KDE 4.8.1, from KDE:/Distro:/Factory, Linux 3.1.9-1.4-desktop x86_64, GeForce 7900 GS / NVIDIA 295.20. since about one week now, pm-suspend from the console (root) hangs without output. closes on ctrl+c and leaves a garbled entry in /var/log/pm-suspend.log that looks very much like the OP's. this also happens when i log into the 'awesome' window manager, without starting any KDE processes (voluntarily; didn't check what may have been running without my intervention). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c3 Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ctrippe@opensuse.org AssignedTo|kde-maintainers@suse.de |mvyskocil@suse.com --- Comment #3 from Christian Trippe <ctrippe@opensuse.org> 2012-03-12 18:51:24 UTC --- According to comment 2 this does not seem to be KDE specific assigning to pm-utils maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c4 --- Comment #4 from phanisvara das <phani00@gmail.com> 2012-03-12 20:25:59 UTC --- Created an attachment (id=481041) --> (http://bugzilla.novell.com/attachment.cgi?id=481041) non-garbled pm-suspend.log, under sysvinit starting with sysvinit instead of systemd prevents the log from getting garbled, but suspend doesn't work, and logging stops at the same script: /usr/lib/pm-utils/sleep.d/50rcnetwork according to one forum poster, moving this script allows the machine to suspend. the only connection to KDE that i can see is that the both, the OP & i, noticed this after a larger upgrade of mainly KDE 4.8.1 packages. it's quite possible or even likely that other packages were involved in that upgrade, too -- but i can't remember or figure out from zypp.history what really happened. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c5 Carlos Robinson <carlos.e.r@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos.e.r@opensuse.org --- Comment #5 from Carlos Robinson <carlos.e.r@opensuse.org> 2012-03-12 21:32:58 UTC --- I see a similar problem in 11.4, and it started on Sunday after an update. The updated packages were: Fri Feb 24 2012 libxml2-32bit 2.7.8-16.23.1 x86_64 Fri Feb 24 2012 libxml2 2.7.8-16.23.1 x86_64 Tue Feb 21 2012 libvorbis0 1.3.2-6.7.1 x86_64 Mon Jan 23 2012 dhcp 4.2.1-0.13.1 x86_64 Tue Feb 28 2012 kdf 4.6.0-4.5.1 x86_64 Tue Feb 28 2012 kgpg 4.6.0-4.5.1 x86_64 Tue Feb 28 2012 kcalc 4.6.0-4.5.1 x86_64 Thu Feb 23 2012 usbmuxd 1.0.7-3.5.1 x86_64 Fri Feb 17 2012 libgnutls26-32bit 2.8.6-5.8.1 x86_64 Tue Feb 28 2012 kwikdisk 4.6.0-4.5.1 x86_64 Tue Mar 06 2012 flash-player 11.1.102.63-0.2.1 x86_64 Tue Feb 28 2012 sweeper 4.6.0-4.5.1 x86_64 Wed Feb 01 2012 logrotate 3.7.9-6.9.1 x86_64 Tue Feb 28 2012 kfloppy 4.6.0-4.5.1 x86_64 Tue Feb 28 2012 kwalletmanager 4.6.0-4.5.1 x86_64 Tue Feb 28 2012 ark 4.6.0-4.5.1 x86_64 Tue Feb 28 2012 kcharselect 4.6.0-4.5.1 x86_64 Mon Mar 05 2012 timezone-java 2012b-0.2.1 noarch Mon Mar 05 2012 timezone 2012b-0.2.1 x86_64 Fri Feb 17 2012 libgnutls26 2.8.6-5.8.1 x86_64 Fri Mar 02 2012 pm-utils 1.4.1-5.13.1 x86_64 Tue Feb 21 2012 libvorbis0-32bit 1.3.2-6.7.1 x86_64 Tue Feb 14 2012 libxslt-32bit 1.1.26-3.4.1 x86_64 Tue Feb 21 2012 libvorbisfile3 1.3.2-6.7.1 x86_64 Tue Feb 21 2012 libvorbisfile3-32bit 1.3.2-6.7.1 x86_64 Fri Feb 24 2012 libxml2-devel 2.7.8-16.23.1 x86_64 Fri Feb 17 2012 libgnutls-extra26 2.8.6-5.8.1 x86_64 Mon Jan 23 2012 dhcp-server 4.2.1-0.13.1 x86_64 Tue Feb 21 2012 libvorbisenc2 1.3.2-6.7.1 x86_64 Mon Jan 23 2012 dhcp-client 4.2.1-0.13.1 x86_64 Thu Feb 23 2012 libusbmuxd1 1.0.7-3.5.1 x86_64 Fri Feb 17 2012 libgnutls-devel 2.8.6-5.8.1 x86_64 Tue Feb 14 2012 libxslt 1.1.26-3.4.1 x86_64 Tue Feb 21 2012 libvorbisenc2-32bit 1.3.2-6.7.1 x86_64 Tue Mar 06 2012 flash-player-gnome 11.1.102.63-77.1 i586 Tue Mar 06 2012 flash-player-kde4 11.1.102.63-77.1 i586 Fri Feb 17 2012 gnutls 2.8.6-5.8.1 x86_64 Tue Feb 14 2012 libxslt-devel 1.1.26-3.4.1 x86_64 Tue Feb 21 2012 libvorbis-devel 1.3.2-6.7.1 x86_64 %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} The pm-suspend.log gets the environment dump from some unknown process (after I remove the buggy "/usr/lib/pm-utils/sleep.d/50rcnetwork" script): +++······················· /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: success. Running hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate: /usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success. Mon Mar 12 21:28:43 CET 2012: Finished. ACLOCAL_FLAGS='-I /opt/gnome/share/aclocal' ADD_PARAMETERS=' ' ALSA_CONFIG_PATH=/etc/alsa-pulse.conf BASH=/bin/bash BASHOPTS=checkwinsize:cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath .. and much more ·······················++- See "Bug 751887 - Hibernation failure after security patches applied.", it is related. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #480966|text/x-log |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c6 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |fcrozat@suse.com, | |werner@suse.com InfoProvider| |werner@suse.com --- Comment #6 from Michal Vyskocil <mvyskocil@suse.com> 2012-03-14 09:37:58 UTC --- pm-utils calls /sbin/service, which is supposed to wrok under systemd as well Werner, do you have any idea why there is such weird output? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c7 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|werner@suse.com | --- Comment #7 from Dr. Werner Fink <werner@suse.com> 2012-03-14 10:02:41 UTC --- /sbin/service was inital written for sysvinit. That is that the final call used within /sbin/service is /etc/init.d/<script> status and this is forwarded to systemd if systemd is up and running. Compare with /etc/rc.status. Now you will see the status lines writteb out by systemctl. You may use something like SYSTEMD_NO_WRAP=yes /sbin/service or switch over to systemctl by systemctl list-units or systemctl list-unit-files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c8 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |werner@suse.com --- Comment #8 from Michal Vyskocil <mvyskocil@suse.com> 2012-03-14 13:45:36 UTC --- (In reply to comment #7)
/sbin/service was inital written for sysvinit. That is that the final call used within /sbin/service is
Well, from my understanding of http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities is the /sbin/service intended to work under systemd as well. I discussed it shortly with pm-utils upstream, but they wants to stay with /sbin/service, even they are RH guys. Would you accept a patch for /sbin/service, which calls systemctl in case systemd is up and running? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c9 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|werner@suse.com | --- Comment #9 from Dr. Werner Fink <werner@suse.com> 2012-03-14 14:01:09 UTC --- (In reply to comment #8) Let me see :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c10 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@suse.com --- Comment #10 from Frederic Crozat <fcrozat@suse.com> 2012-03-15 08:29:51 UTC --- *** Bug 752313 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=752313 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c11 --- Comment #11 from carl mcgrath <cmcgrath5035@comcast.net> 2012-03-15 12:36:12 UTC --- Created an attachment (id=481592) --> (http://bugzilla.novell.com/attachment.cgi?id=481592) Spreadsheet of observations -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c12 --- Comment #12 from carl mcgrath <cmcgrath5035@comcast.net> 2012-03-15 12:37:58 UTC --- Summary of pm-suspend log and suspend-STR issues across 3 machines added as attachment -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |751887 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c13 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|KDE4 Workspace |Basesystem AssignedTo|mvyskocil@suse.com |vdziewiecki@suse.com --- Comment #13 from Michal Vyskocil <mvyskocil@suse.com> 2012-03-27 08:36:22 UTC --- moved to the new maintainer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c Bug 751811 depends on bug 751887, which changed state. Bug 751887 Summary: Hibernation failure after security patches applied. http://bugzilla.novell.com/show_bug.cgi?id=751887 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c14 Vojta Dziewięcki <vdziewiecki@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #14 from Vojta Dziewięcki <vdziewiecki@suse.com> 2012-03-27 08:49:48 UTC --- Submitted fixed packages: OpenSUSE 12.1 - 109939 OpenSUSE 11.4 - 109938 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c Bug 751811 depends on bug 751887, which changed state. Bug 751887 Summary: Hibernation failure after security patches applied. http://bugzilla.novell.com/show_bug.cgi?id=751887 What |Old Value |New Value ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c15 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #15 from Jiri Slaby <jslaby@suse.com> 2012-04-11 21:29:30 UTC --- (In reply to comment #14)
Submitted fixed packages:
OpenSUSE 12.1 - 109939 OpenSUSE 11.4 - 109938
I still see the behaviour in factory... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c16 --- Comment #16 from phanisvara das <phani00@gmail.com> 2012-04-12 02:08:55 UTC --- also here, on openSUSE 12.1, the same still happens, i.e., suspend / hybernate doesn't work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c Vojta Dziewięcki <vdziewiecki@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c Bug 751811 depends on bug 751887, which changed state. Bug 751887 Summary: Hibernation failure after security patches applied. http://bugzilla.novell.com/show_bug.cgi?id=751887 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c17 --- Comment #17 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-04-19 12:00:24 CEST --- This is an autogenerated message for OBS integration: This bug (751811) was mentioned in https://build.opensuse.org/request/show/114572 Factory / pm-utils -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c18 --- Comment #18 from phanisvara das <phani00@gmail.com> 2012-04-19 10:43:01 UTC --- today my pm-utils package was upgraded to pm-utils-1.4.1-12.20.1.x86_64 from the 12.1 update repo, and pm-suspend works again, with no garbage in the log file. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c19 Vojta Dziewięcki <vdziewiecki@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |FIXED --- Comment #19 from Vojta Dziewięcki <vdziewiecki@suse.com> 2012-04-19 11:47:32 UTC --- I'm glad to hear that :) It should appear in factory soon, too. I guess I can close this bug now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c20 --- Comment #20 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-05-11 14:00:43 CEST --- This is an autogenerated message for OBS integration: This bug (751811) was mentioned in https://build.opensuse.org/request/show/120703 Factory / pm-utils -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751811 https://bugzilla.novell.com/show_bug.cgi?id=751811#c21 --- Comment #21 from Swamp Workflow Management <swamp@suse.de> 2012-07-03 15:09:42 UTC --- openSUSE-RU-2012:0816-1: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 633496,697379,751621,751811,753589 CVE References: Sources used: openSUSE 12.1 (src): pm-utils-1.4.1-12.25.1 openSUSE 11.4 (src): pm-utils-1.4.1-5.32.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com