Mailinglist Archive: opensuse-kde (101 mails)
| < Previous | Next > |
Re: [opensuse-kde] Update to kde unstable desktop breaks pm-hibernate
- From: Dave Plater <davejplater@xxxxxxxxx>
- Date: Sat, 08 May 2010 15:29:22 +0200
- Message-id: <4BE56732.2010600@xxxxxxxxx>
On 05/08/2010 02:34 PM, Carlos E. R. wrote:
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----Thanks for the tip, I will definitely put the squid bit in, s2disk
Hash: SHA1
Content-ID: <alpine.LSU.2.00.1005081433300.26376@xxxxxxxxxxxxxxxx>
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 lookby silently I meant no trace in /var/log/pm-suspend.log (size 0) and
in /var/log/pm-suspend.log and
/var/log/messages for the cause.
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-----
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
| < Previous | Next > |