Bug 779399

Summary: s2disk hibernates twice in a row
Product: [openSUSE] openSUSE 12.2 Reporter: Jiri Slaby <jslaby>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fcrozat, forgotten_ZhJd0F0L3x, info, meissner, rjwysocki
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiri Slaby 2012-09-08 08:33:27 UTC
When I hibernate a machine in 12.2, it hibernates, but when it resumes, it hibernates again. It's a regression in suspend package, s2disk utility in comparison to 12.1. If I downgrade suspend to the one from 12.1:update, everything works:
suspend-1.0-10.4.1.x86_64.rpm
Comment 1 Jiri Slaby 2012-09-17 12:53:08 UTC
(In reply to comment #0)
> When I hibernate a machine in 12.2, it hibernates, but when it resumes, it
> hibernates again. It's a regression in suspend package, s2disk utility in
> comparison to 12.1. If I downgrade suspend to the one from 12.1:update,
> everything works:
> suspend-1.0-10.4.1.x86_64.rpm

It is caused by Frederic's plymouth support added to suspend by tittiatcoke. If I remove --enable-plymouth from the .spec file, everything works.

I don't have plymouth installed btw.
Comment 2 Mathias Kosch 2012-09-17 16:37:55 UTC
I can confirm this issue. It always happens on my two computers whenever I suspend to disk.
Comment 3 Mathias Kosch 2012-09-17 16:47:11 UTC
I also don't have "plymouth" installed.
Comment 4 Jiri Slaby 2012-09-17 21:23:04 UTC
(In reply to comment #3)
> I also don't have "plymouth" installed.

Does this package with plymouth support disabled help?
http://download.opensuse.org/repositories/home:/jirislaby:/branches:/Base:/System/openSUSE_12.2_standard
Comment 5 Mathias Kosch 2012-09-18 11:44:48 UTC
(In reply to comment #4)
> Does this package with plymouth support disabled help?
> http://download.opensuse.org/repositories/home:/jirislaby:/branches:/Base:/System/openSUSE_12.2_standard
Yes, it solves the problem. (However, I first had to restart my computer because it crashed during the first resume immediately after the package update.)
Comment 6 Frederic Crozat 2012-09-18 16:38:45 UTC
I confirm the issue in a VM, when plymouth isn't installed.

should be fixed in package from http://download.opensuse.org/repositories/home:/fcrozat:/branches:/openSUSE:/12.2:/Update/openSUSE_12.2_Update

Funny to fix code I wrote more than 3 years ago for another distribution and nobody got this bug before :)

please test
Comment 7 Bernhard Wiedemann 2012-09-19 09:00:22 UTC
This is an autogenerated message for OBS integration:
This bug (779399) was mentioned in
https://build.opensuse.org/request/show/135004 Factory / suspend
Comment 8 Mathias Kosch 2012-09-25 08:54:21 UTC
(In reply to comment #6)
> should be fixed in package from
> http://download.opensuse.org/repositories/home:/fcrozat:/branches:/openSUSE:/12.2:/Update/openSUSE_12.2_Update
> [...]
> please test
Sorry for the late response. I tested it and it works.
Comment 9 Frederic Crozat 2012-09-25 11:24:36 UTC
requesting 12.2 maintenance update. I'll push a mr when getting ok from maintenance team.
Comment 10 Marcus Meissner 2012-09-25 13:17:35 UTC
feel free to submit. :)
Comment 11 Frederic Crozat 2012-09-25 13:46:18 UTC
mr#135888 submitted
Comment 12 Swamp Workflow Management 2012-10-03 10:08:39 UTC
openSUSE-RU-2012:1280-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 779399
CVE References: 
Sources used:
openSUSE 12.2 (src):    suspend-1.0-18.4.1