Re: my Arch box randomly becomes irresponsible

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



I didn't know the command pkaction. It's quite handy. Here are the output
of the pkaction:

$ pkaction | grep "\(hibernate\)\|\(suspend\)" -i
org.freedesktop.upower.hibernate
org.freedesktop.upower.suspend

$ pkaction --action-id org.freedesktop.upower.suspend --verbose
org.freedesktop.upower.suspend:
  description:       Suspend the system
  message:           Authentication is required to suspend the system
  vendor:            The UPower Project
  vendor_url:        http://upower.freedesktop.org/
  icon:              system-suspend
  implicit any:      no
  implicit inactive: no
  implicit active:   yes

$ pkaction --action-id org.freedesktop.upower.hibernate --verbose
org.freedesktop.upower.hibernate:
  description:       Hibernate the system
  message:           Authentication is required to hibernate the system
  vendor:            The UPower Project
  vendor_url:        http://upower.freedesktop.org/
  icon:              system-suspend
  implicit any:      no
  implicit inactive: no
  implicit active:   yes

I think my current settings is overwritten by an most recent system update
to "yes" now. But the problem exists no matter what setting that is.


On Mon, Jul 16, 2012 at 6:43 AM, Kevin Chadwick <ma1l1ists@xxxxxxxxxxx>wrote:

> > I tried to disable suspension and hibernation by editing
> > /usr/share/polkit-1/actions/org.freedesktop.upower.policy to change
> > from
> > <allow_active>yes</allow_active>
> > to
> > <allow_active>no</allow_active>
> >
> > But it doesn't work.
>
> The polkit docs (you have to look at the source code) and configuration
> system are terrible and difficult to monitor to the point that I am
> switching all the code I need to the simple straight forward,
> transparent and more secure sudo. Atleast you get config files on arch
> though, you don't on Fedora (polkits home).
>
> Have you checked if suspend is still enabled with pkaction.
>
> --
> ________________________________________________________
>
>  Why not do something good every day and install BOINC.
> ________________________________________________________
>



-- 
Best,
Zhenjiang


[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