Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755137 - sys-power/thermald: references non-existant group so policy not controllable via DBUS
Summary: sys-power/thermald: references non-existant group so policy not controllable ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-17 20:59 UTC by Robin Johnson
Modified: 2021-01-28 06:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-11-17 20:59:58 UTC
/etc/dbus-1/system.d/org.freedesktop.thermald.conf uses the group "power" to permit policy control around thermald:

        <policy group="power">
                 <allow send_destination="org.freedesktop.thermald"/>
                 <allow receive_sender="org.freedesktop.thermald"/>
        </policy>


The group "power" does not exist by default on Gentoo. The ebuild should add the group to the system or patch the XML to use another group.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-01-26 03:54:21 UTC
I would recommend to patch xml file and set group to "wheel".
Comment 2 Larry the Git Cow gentoo-dev 2021-01-28 06:47:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643

commit 39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2021-01-28 06:43:43 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2021-01-28 06:45:31 +0000

    sys-power/thermald: use wheel group for policy controlling
    
    thanks Thomas Deutschmann for the suggestion
    Closes: https://bugs.gentoo.org/755137
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 .../thermald/{thermald-2.4.1.ebuild => thermald-2.4.1-r1.ebuild}     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)