Package Details: tuned 2.18.0-1

Git Clone URL: https://aur.archlinux.org/tuned.git (read-only, click to copy)
Package Base: tuned
Description: Daemon that performs monitoring and adaptive configuration of devices in the system
Upstream URL: https://github.com/redhat-performance/tuned
Keywords: daemon monitoring python system tuning
Licenses: GPL
Submitter: irtimmer
Maintainer: SunRed
Last Packager: SunRed
Votes: 16
Popularity: 0.123056
First Submitted: 2016-01-26 12:09 (UTC)
Last Updated: 2022-02-11 09:57 (UTC)

Latest Comments

ChrisTX commented on 2022-07-01 09:01 (UTC)

The package is creating __pycache__ orphans: Any package containing Python modules needs to precompile them, otherwise running them will create orphaned files in the __pycache__ folder.

Not only will the files not be properly refreshed, but they also remain after upgrading python versions, causing a lot of orphaned files.

This can be easily fixed by adding

python -m compileall -d /usr/lib "$pkgdir/usr/lib"
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"

in the package() step. Compare what was done in libxml2 by the Arch devs, PKGCONFIG and the related announcement.

yochananmarqos commented on 2021-01-08 05:05 (UTC)

@SunRed: Instead of farting around in the package() function, do this in a prepare() function instead:

prepare() {
    cd "${pkgname}-${pkgver}"
    mv libexec lib

    sed -i 's/libexec/lib/g' Makefile
    sed -i 's/sbin/bin/g' Makefile
}

SunRed commented on 2020-12-25 06:48 (UTC)

@STiNG Yes, I had that error as well and the issue was a python-configobj version (5.0.6-10) where downgrading to the previous version (5.0.6-9) helped fix it temporarily. There is a new version out now that fixes the issue. In addition to that I updated the tuned package to the latest version. :)

STiNG commented on 2020-12-22 18:51 (UTC)

Getting this error: tuned-adm active Traceback (most recent call last): File "/usr/bin/tuned-adm", line 29, in <module> from tuned.utils.global_config import GlobalConfig File "/usr/lib/python3.9/site-packages/tuned/utils/global_config.py", line 3, in <module> from validate import Validator ModuleNotFoundError: No module named 'validate'

egrupled commented on 2019-01-20 20:53 (UTC)

@aorth please take a look at https://aur.archlinux.org/packages/tuned-git/ and discussion there for a proper list of dependencies needed (aside of python version).

aorth commented on 2019-01-20 07:58 (UTC) (edited on 2019-01-20 09:47 (UTC) by aorth)

Needs updating for 2.10.0, where the upstream project has since switched to Python 3. At the very least, this means updating dependencies in the PKGBUILD to their python versions (instead of python2) and removing the sed command from the PKGBUILD.

Edit: Using Python 3 is problematic because Fedora is currently using Python 3.6 and Arch is on 3.7. I updated the PKGBUILD 2.10.0, corrected the use of Python 2, and re-organized the list of Python dependencies according to the tuned.spec provided by the upstream package. See PKGBUILD here.

https://gist.github.com/alanorth/8bd848424387120fbebc22ec9c0b37e9

jboyens commented on 2018-10-12 07:39 (UTC)

Updated to the newest version @ https://gitlab.com/jboyens/tuned/tree/update-version

Megaton commented on 2017-07-25 17:28 (UTC)

Hello, Could you add "desktop-file-utils" to makedepends? regards, Megaton

SunRed commented on 2017-03-11 23:13 (UTC)

@balticer Thanks! Updated. A version bump should not be required.

commented on 2017-03-05 20:57 (UTC)

Hi, please change download link in the PKGBUILD either to https://github.com/redhat-performance/tuned/archive/v2.7.1.zip or to https://jskarvad.fedorapeople.org/tuned/download/tuned-2.7.1.tar.bz2 The fedorahosted link is dead. Thank you very much! regards Kai

harleypig commented on 2017-03-04 15:43 (UTC)

fedorahosted has been retired, the file is no longer available at the uri specified

rafaelsoaresbr commented on 2016-06-21 13:25 (UTC)

Hello, please add dbus-glib as a dependency.