ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Pavel Wolneykien <manowar@altlinux.org>
To: "ALT Linux Sisyphus discussions" <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] powersave перестал слушаться
Date: Wed, 10 Dec 2008 14:46:26 +0300
Message-ID: <20081210144626.11536@dinkum-thinkum.spb.altlinux.org> (raw)
In-Reply-To: Your message of Wed, 10 Dec 2008 14:29:21 +0300 <679044850812100329m67bf0686p84e0ae97eb7e156@mail.gmail.com>


Damir Shayhutdinov <lost404@gmail.com> wrote:

> От рута переключает?

  Нет, та же самая ошибка.
 
> А вообще да, к сожалению, полисикит протянул свои лапы в проект
> powersave и теперь придется жестко настраивать, каким пользователям
> разрешается менять частоту процессора или засыпать машину, а каким
> нет.

  Судя по /etc/PolicyKit/PolicyKit.conf, мне всё можно:

  <config version="0.1">
    <match user="manowar">
      <return result="yes"/>
    </match>
  </config>

  Правда, в сообщении об ошибке написано "Could not set CPUFreq policy
to powersave". Может быть всё дело в "правах" самого демона powersaved?
Работает он из под рута...

$ ps aux | grep powersave
root 11361  0.0  0.1 4584  1728 ? S 14:38 0:00 /usr/sbin/powersaved

  Выходит руту тоже может быть нельзя, если используется полисикит?

  parent reply	other threads:[~2008-12-10 11:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-10 11:22 Pavel Wolneykien
2008-12-10 11:29 ` Damir Shayhutdinov
2008-12-10 11:38   ` Michael Shigorin
2008-12-10 11:46   ` Pavel Wolneykien [this message]
2008-12-10 12:15     ` Damir Shayhutdinov
2008-12-10 12:19 ` Valery V. Inozemtsev
2008-12-10 13:43 ` Vadim Gorodisky
2008-12-10 13:47   ` Valery V. Inozemtsev
2008-12-10 14:18     ` Alexander Bokovoy
2008-12-12 20:26       ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081210144626.11536@dinkum-thinkum.spb.altlinux.org \
    --to=manowar@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git