Re: Problem with suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Byron Clark <byron@xxxxxxxxxxxxxxxxxxx> writes:

> 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@xxxxxxxxxxxxxxxxxxx> 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.

Thank you for the tip and the explanation!
With grep from testing it works perfectly.

csm


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux