Bug 868358
Summary: | RFE: user can't change tuned profile | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Radek Vokál <rvokal> |
Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | antgizelis, jkaluza, jskarvad, jvcelak, pknirsch, twoerner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tuned-2.1.0-1.fc18 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-12 01:25:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Radek Vokál
2012-10-19 15:12:48 UTC
> if not os.geteuid() == 0:
> self.error("Only root can run this script.", 2)
It's already in git head.
We need:
a) SUIDed wrapper or
b) port tuned-adm to use dbus control, correctly handle permissions and probably add special group that will allow the control
I vote for b).
Resolved in upstream. The daemon is now controlled via DBus. tuned-adm {list,active} should work for all users, tuned-adm {profile,off} is allowed only for root and users, which are logged in locally. This behavior is consistent with old tuned-adm, which was run via consolekit. tuned-2.1.0-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/tuned-2.1.0-1.fc18 Resolved in: tuned-2.1.0-1.fc18 tuned-2.1.0-1.fc19 Package tuned-2.1.0-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tuned-2.1.0-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-19556/tuned-2.1.0-1.fc18 then log in and leave karma (feedback). tuned-2.1.1-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/tuned-2.1.1-1.fc18 tuned-2.1.1-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. pffff...!!! still i cant change profile with the tuned -adm i write "tuned-adm profile profile-powersave" and i says cannot change profile not as user neither a root!....:( (In reply to comment #8) > pffff...!!! > still i cant change profile with the tuned -adm > i write "tuned-adm profile profile-powersave" > and i says cannot change profile > not as user neither a root!....:( For default profiles it is: # tuned-adm profile powersave Could you provide more info, e.g. output of the failing command, /var/log/tuned/tuned.log? i think now is ok!!! thanks!! may i used wrong command!!i tryed now and its ok!!:) (In reply to comment #9) > (In reply to comment #8) > > pffff...!!! > > still i cant change profile with the tuned -adm > > i write "tuned-adm profile profile-powersave" > > and i says cannot change profile > > not as user neither a root!....:( > > For default profiles it is: > > # tuned-adm profile powersave > > Could you provide more info, e.g. output of the failing command, > /var/log/tuned/tuned.log? i think now is ok!!! thanks!! may i used wrong command!!i tryed now and its ok!!:) |