[opensuse-kde] Update to kde unstable desktop breaks pm-hibernate
Hi, when I updated to kde4 unstable pm-hibernate stopped working just failed silently. I built the version from Base:System/pm-utils for kde4 unstable 11.2 and it now functions again. It's in : http://download.opensuse.org/repositories/home:/plater/KDE4_Unstable/ if anyone has the same problem. Regards Dave P -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-05-07 10:10, Dave Plater wrote:
Hi, when I updated to kde4 unstable pm-hibernate stopped working just failed silently.
pm-hibernate always fails silently (when it fails). You have to look in /var/log/pm-suspend.log and /var/log/messages for the cause. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkvj6fkACgkQU92UU+smfQUdlgCfXF/+Y7wFDRYCSKua0TszSVRt MAQAnRlLaBtIi3WgPx0L542JKedbx8tX =DEnC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On 05/07/2010 12:22 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2010-05-07 10:10, Dave Plater wrote:
Hi, when I updated to kde4 unstable pm-hibernate stopped working just failed silently.
pm-hibernate always fails silently (when it fails). You have to look in /var/log/pm-suspend.log and /var/log/messages for the cause.
- -- Cheers / Saludos,
by silently I meant no trace in /var/log/pm-suspend.log (size 0) and nothing in messages. I have an alias that goes rcsquid stop;pm-hibernate;rcsquid restart and there was nothing in between the squid stop and start. It failed really silently. Regards Dave P -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LSU.2.00.1005081433300.26376@nimrodel.valinor> El 2010-05-07 a las 15:28 +0200, Dave Plater escribió:
On 05/07/2010 12:22 PM, Carlos E. R. wrote:
pm-hibernate always fails silently (when it fails). You have to look in /var/log/pm-suspend.log and /var/log/messages for the cause.
by silently I meant no trace in /var/log/pm-suspend.log (size 0) and nothing in messages. I have an alias that goes rcsquid stop;pm-hibernate;rcsquid restart and there was nothing in between the squid stop and start. It failed really silently.
That's weird... Anyway, you can put that stop squid in /etc/pm/sleep.d/, so that it runs automatically. For instance, I have a script named 4cosas and another 95cosas; in them I make it log that it is going to hibernate and whatever I need: #!/bin/bash . /usr/lib/pm-utils/functions function Router () { sleep 20 /home/cer/bin/router_askandlogrouterip } case "$1" in hibernate|suspend) /bin/logger -t pm-utils -p syslog.warn "Hibernating (4)..." ;; thaw|resume) /bin/logger -t pm-utils -p syslog.warn "Thawing (4)..." Router & ;; *) ;; esac exit $? - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkvlWkEACgkQtTMYHG2NR9Ve9ACgiAS7BEpOX9abFRgCMaWUBmLi h1gAnRL7XjK0AKpl4l7YNuv0uHiibBnP =TV+x -----END PGP SIGNATURE-----
On 05/08/2010 02:34 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Content-ID: <alpine.LSU.2.00.1005081433300.26376@nimrodel.valinor>
El 2010-05-07 a las 15:28 +0200, Dave Plater escribió:
On 05/07/2010 12:22 PM, Carlos E. R. wrote:
pm-hibernate always fails silently (when it fails). You have to look in /var/log/pm-suspend.log and /var/log/messages for the cause.
by silently I meant no trace in /var/log/pm-suspend.log (size 0) and nothing in messages. I have an alias that goes rcsquid stop;pm-hibernate;rcsquid restart and there was nothing in between the squid stop and start. It failed really silently.
That's weird...
Anyway, you can put that stop squid in /etc/pm/sleep.d/, so that it runs automatically. For instance, I have a script named 4cosas and another 95cosas; in them I make it log that it is going to hibernate and whatever I need:
#!/bin/bash
. /usr/lib/pm-utils/functions
function Router () { sleep 20 /home/cer/bin/router_askandlogrouterip }
case "$1" in hibernate|suspend) /bin/logger -t pm-utils -p syslog.warn "Hibernating (4)..." ;; thaw|resume) /bin/logger -t pm-utils -p syslog.warn "Thawing (4)..." Router & ;; *) ;; esac
exit $?
- -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkvlWkEACgkQtTMYHG2NR9Ve9ACgiAS7BEpOX9abFRgCMaWUBmLi h1gAnRL7XjK0AKpl4l7YNuv0uHiibBnP =TV+x -----END PGP SIGNATURE----- Thanks for the tip, I will definitely put the squid bit in, s2disk worked btw so I could still hibernate when pm-hibernate failed. I'm experiencing a squid problem with boot lately as well, it doesn't start quick enough and I have to refresh firefox but I'm doing the big zypper dup to factory tomorrow so I'm not that worried (yet). Regards Dave P -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
participants (2)
-
Carlos E. R.
-
Dave Plater