[arch-general] Problem with suspend

Byron Clark byron at theclarkfamily.name
Fri Apr 2 11:46:13 EDT 2010

On Fri, Apr 02, 2010 at 05:06:29PM +0200, Csomay Mihaly wrote:
> On Fri, 2 Apr 2010 07:13:00 -0600, Byron Clark <byron at theclarkfamily.name> wrote:
> > Sounds like you're hitting this bug: http://bugs.archlinux.org/task/18881
> But if that's the cause, how come it works flawlessly when acpid is
> calling the same pm-suspend binary, and it only hangs when I call it
> from the command line?

The bug only happens for UTF-8 locales, it is not present when LANG=C.
Suspend works from acpid because LANG is set in /etc/profile.d/locale.sh
which is only sourced for login shells.  The script you run from acpid
is not a login shell.

Byron Clark

More information about the arch-general mailing list