Re: console-kit session not activates properly

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



On Fri, Nov 25, 2011 at 18:25, Leonid Isaev <lisaev@xxxxxxxxxxxx> wrote:
> The sleep is needed to avoid a race condition: logout happens before the
> policykit starts. What I don't understand is why ck doesn't complain about an
> empty utmp entry? I though you have to keep your user logged in, so that "w"
> returns something. I suspect, you won't be able to use Upower to shutdown...


Thank you both, added a sleep to the script and now it works fine.

I use halt for shutdown, which i do rarely, i mostly just suspend to
ram so I only noticed the polcy/console-kit error because of the
failing automount.


-- 
J.


[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