It seems that tuxonice is using /sys/power/suspend2/resume instead of /sys/power/suspend2/resume2. /usr/share/hibernate/scriptlets.d/suspend2 fails on line 797 (new_resume2="`cat $SWSUSP_ROOT/$RESUME_FILE`"). RESUME_FILE should be "resume" but it is not set thus the script fails. Reproducible: Always Steps to Reproduce: 1. hibernate Actual Results: $? == 2, hibernate fails Expected Results: system hibernates
What's tuxonice?
former suspend2.
In fact it's broken with sys-kernel/kamikaze-sources-2.6.22-r1 from custom_kernels overlay. kamaikaze1 includes latest suspend2 patch.
Oh... So it uses development version of suspend2. It won't be supported in portage.