Hi Phi, Why we assume that gpm is started by init when you uss pgrep to find if gpm is running or not?
Regards, Jedy On Wed, 2009-03-11 at 22:08 -0700, Phi Tran wrote: > Jedy Wang wrote: > > Hi Phi, > > > > The target for gnome 2.24.4 is nv115. I think gpm is started by > > gnome-session. > > That's the problem. It was an adequate search when GPM was started by > init, but not when GPM is started by an ordinary process. > > Phi > > > > > Regards, > > > > Jedy > > On Wed, 2009-03-11 at 19:56 -0700, Phi Tran wrote: > >> I ran into an issue with the power button. If you press the power > >> button, powerd thinks GPM is not running so it will also launch > >> sys-suspend. The code in powerd previously checked if there is a GPM > >> process started by init. GPM in 2.24.4 isn't started by init so this > >> fails. I need to see if there is another adequate search or > >> fix it another way. > >> > >> What is the target for 2.24.4? > >> > >> Phi > > >