ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] powersave перестал слушаться
@ 2008-12-10 11:22 Pavel Wolneykien
  2008-12-10 11:29 ` Damir Shayhutdinov
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Pavel Wolneykien @ 2008-12-10 11:22 UTC (permalink / raw)
  To: sisyphus


  После недавнего обновления powersave перестал переключать частоту ЦП:

  $ powersave -l
  liblazy (liblazy_dbus_send_method_call:97): Received error reply: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.CPUFreq" member "SetCPUFreqGovernor" error name "(unset)" destination "org.freedesktop.Hal")
  Could not set CPUFreq policy to powersave.

  Интересно, это ошибка или теперь, для того, чтобы правильно настроить
powersave(d), нужно обязательно прочесть тонну документации про polkit,
hal и dubs?

  Павел.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 11:22 [sisyphus] powersave перестал слушаться Pavel Wolneykien
@ 2008-12-10 11:29 ` Damir Shayhutdinov
  2008-12-10 11:38   ` Michael Shigorin
  2008-12-10 11:46   ` Pavel Wolneykien
  2008-12-10 12:19 ` Valery V. Inozemtsev
  2008-12-10 13:43 ` Vadim Gorodisky
  2 siblings, 2 replies; 10+ messages in thread
From: Damir Shayhutdinov @ 2008-12-10 11:29 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

>  После недавнего обновления powersave перестал переключать частоту ЦП:
>
>  $ powersave -l
>  liblazy (liblazy_dbus_send_method_call:97): Received error reply: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.CPUFreq" member "SetCPUFreqGovernor" error name "(unset)" destination "org.freedesktop.Hal")
>  Could not set CPUFreq policy to powersave.
>
>  Интересно, это ошибка или теперь, для того, чтобы правильно настроить
> powersave(d), нужно обязательно прочесть тонну документации про polkit,
> hal и dubs?

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

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 11:29 ` Damir Shayhutdinov
@ 2008-12-10 11:38   ` Michael Shigorin
  2008-12-10 11:46   ` Pavel Wolneykien
  1 sibling, 0 replies; 10+ messages in thread
From: Michael Shigorin @ 2008-12-10 11:38 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Wed, Dec 10, 2008 at 02:29:21PM +0300, Damir Shayhutdinov wrote:
> А вообще да, к сожалению, полисикит протянул свои лапы в проект
> powersave и теперь придется жестко настраивать, каким
> пользователям разрешается менять частоту процессора или
> засыпать машину, а каким нет.

А можно из коробки всех прописать или хотя бы состоящих в группе
xgrp из %post, если список пуст?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 11:29 ` Damir Shayhutdinov
  2008-12-10 11:38   ` Michael Shigorin
@ 2008-12-10 11:46   ` Pavel Wolneykien
  2008-12-10 12:15     ` Damir Shayhutdinov
  1 sibling, 1 reply; 10+ messages in thread
From: Pavel Wolneykien @ 2008-12-10 11:46 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions


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

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 11:46   ` Pavel Wolneykien
@ 2008-12-10 12:15     ` Damir Shayhutdinov
  0 siblings, 0 replies; 10+ messages in thread
From: Damir Shayhutdinov @ 2008-12-10 12:15 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

> $ ps aux | grep powersave
> root 11361  0.0  0.1 4584  1728 ? S 14:38 0:00 /usr/sbin/powersaved
>
>  Выходит руту тоже может быть нельзя, если используется полисикит?

Я в полисиките, к сожалению, понимаю очень мало.
По мне, враппера в виде root-suid приложения, с правами на запуск для
определенной группы, достаточно. А полисикит - это из пушки по
воробьям. Впрочем, я видимо мало понимаю в нынешних тенденциях
Линукс-десктопа.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 11:22 [sisyphus] powersave перестал слушаться Pavel Wolneykien
  2008-12-10 11:29 ` Damir Shayhutdinov
@ 2008-12-10 12:19 ` Valery V. Inozemtsev
  2008-12-10 13:43 ` Vadim Gorodisky
  2 siblings, 0 replies; 10+ messages in thread
From: Valery V. Inozemtsev @ 2008-12-10 12:19 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

On Wednesday 10 December 2008 14:22:00 Pavel Wolneykien wrote:
>   После недавнего обновления powersave перестал переключать частоту ЦП:
>
>   $ powersave -l
>   liblazy (liblazy_dbus_send_method_call:97): Received error reply: A
> security policy in place prevents this sender from sending this message to
> this recipient, see message bus configuration file (rejected message had
> interface "org.freedesktop.Hal.Device.CPUFreq" member "SetCPUFreqGovernor"
> error name "(unset)" destination "org.freedesktop.Hal") Could not set
> CPUFreq policy to powersave.
>
>   Интересно, это ошибка или теперь, для того, чтобы правильно настроить
> powersave(d), нужно обязательно прочесть тонну документации про polkit,
> hal и dubs?

это исправлено в hal-0.5.12-alt3

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 11:22 [sisyphus] powersave перестал слушаться Pavel Wolneykien
  2008-12-10 11:29 ` 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
  2 siblings, 1 reply; 10+ messages in thread
From: Vadim Gorodisky @ 2008-12-10 13:43 UTC (permalink / raw)
  To: sisyphus

On Wed, 10 Dec 2008 14:22:00 +0300
Pavel Wolneykien <manowar@altlinux.org> wrote:

>   $ powersave -l
>   liblazy (liblazy_dbus_send_method_call:97): Received error reply: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.CPUFreq" member "SetCPUFreqGovernor" error name "(unset)" destination "org.freedesktop.Hal")
>   Could not set CPUFreq policy to powersave.

Откат на предыдущий dbus решает проблему.


-- 

====================================
Vadim Gorodisky  (VG22-RIPE)
mailto:vg@gor.od.ua xmpp:gor@jabber.od.ua
http://nexus.odessa.ua/authors/vadim
__LL===inux_________________________

= This game will never be the same =


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 13:43 ` Vadim Gorodisky
@ 2008-12-10 13:47   ` Valery V. Inozemtsev
  2008-12-10 14:18     ` Alexander Bokovoy
  0 siblings, 1 reply; 10+ messages in thread
From: Valery V. Inozemtsev @ 2008-12-10 13:47 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]

On Wednesday 10 December 2008 16:43:33 Vadim Gorodisky wrote:
> On Wed, 10 Dec 2008 14:22:00 +0300
>
> Pavel Wolneykien <manowar@altlinux.org> wrote:
> >   $ powersave -l
> >   liblazy (liblazy_dbus_send_method_call:97): Received error reply: A
> > security policy in place prevents this sender from sending this message
> > to this recipient, see message bus configuration file (rejected message
> > had interface "org.freedesktop.Hal.Device.CPUFreq" member
> > "SetCPUFreqGovernor" error name "(unset)" destination
> > "org.freedesktop.Hal") Could not set CPUFreq policy to powersave.
>
> Откат на предыдущий dbus решает проблему.

и возвращает CVE-2008-4311

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 13:47   ` Valery V. Inozemtsev
@ 2008-12-10 14:18     ` Alexander Bokovoy
  2008-12-12 20:26       ` Michael Shigorin
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Bokovoy @ 2008-12-10 14:18 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

2008/12/10 Valery V. Inozemtsev <shrek@altlinux.ru>:
> On Wednesday 10 December 2008 16:43:33 Vadim Gorodisky wrote:
>> On Wed, 10 Dec 2008 14:22:00 +0300
>>
>> Pavel Wolneykien <manowar@altlinux.org> wrote:
>> >   $ powersave -l
>> >   liblazy (liblazy_dbus_send_method_call:97): Received error reply: A
>> > security policy in place prevents this sender from sending this message
>> > to this recipient, see message bus configuration file (rejected message
>> > had interface "org.freedesktop.Hal.Device.CPUFreq" member
>> > "SetCPUFreqGovernor" error name "(unset)" destination
>> > "org.freedesktop.Hal") Could not set CPUFreq policy to powersave.
>>
>> Откат на предыдущий dbus решает проблему.
>
> и возвращает CVE-2008-4311
http://blogs.gnome.org/hughsie/2008/12/08/cve-2008-4311-dbus-126/

Пожалуйста, откатите dbus.

-- 
/ Alexander Bokovoy

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] powersave перестал слушаться
  2008-12-10 14:18     ` Alexander Bokovoy
@ 2008-12-12 20:26       ` Michael Shigorin
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Shigorin @ 2008-12-12 20:26 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Wed, Dec 10, 2008 at 05:18:46PM +0300, Alexander Bokovoy wrote:
> >> > "org.freedesktop.Hal") Could not set CPUFreq policy to powersave.
> >> Откат на предыдущий dbus решает проблему.
> > и возвращает CVE-2008-4311
> http://blogs.gnome.org/hughsie/2008/12/08/cve-2008-4311-dbus-126/
> Пожалуйста, откатите dbus.

Да будет libc-alpha@ храним от org.freedesktop :-(

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-12-12 20:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-10 11:22 [sisyphus] powersave перестал слушаться Pavel Wolneykien
2008-12-10 11:29 ` Damir Shayhutdinov
2008-12-10 11:38   ` Michael Shigorin
2008-12-10 11:46   ` Pavel Wolneykien
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

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