Created attachment 660439 [details] use configobj to parse config file recent tuned profiles have a [sysfs] section, where key,value couples are wrongly parsed by ConfigParser. This module allows both '=' and ':' to be a valid separator, which causes problems with entries like this one: #Runtime PM for PCI Device NEC Corporation uPD720200 USB 3.0 Host Controller /sys/bus/pci/devices/0000:0e:00.0/power/control=auto key=/sys/bus/pci/devices/0000 and value=0e:00.0/power/control=auto A possible solution is to switch to configobj instead, which works as expected, with minimal modifications to the code.
Created attachment 660676 [details] Another fix Thanks for spotting this. Added alternate patch, that doesn't require python-configobj dep.
I took your patch, thanks. We will use the configobj parser to extend/clean the code for e.g. type verification. Upstream commit: https://fedorahosted.org/tuned/changeset/677458c174194a777aaed089ac084f826c47d1a7
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This should be fixed in tuned-2.1.2, the current version in f18 is tuned-2.2.0-1.fc18. Thus I think this is already fixed. If the problem persists feel free to reopen.