Red Hat Bugzilla – Bug 1441791
cpu-partitioning: systemd error when applying CPUAffinity=
Last modified: 2017-08-01 08:35:21 EDT
Description of problem:
When booting latest RHEL7.4 I see in dmesg:
[ 4.768508] systemd: [/etc/systemd/system.conf:60] Failed to parse CPU affinity '0,2,4,6,8,10,12,14'
[ 4.778995] systemd: Failed to parse file '/etc/systemd/system.conf': Bad message
I see this twice, which probably means CPUAffinity= is not being applied at all.
Version-Release number of selected component (if applicable): tuned-2.8.0-1.el7 systemd-219-32.el7.x86_64
Steps to Reproduce:
1. Install the cpu-partitioning profile
2. Set it up, active and reboot
Already fixed on upstream:
Author: Jaroslav Škarvada <firstname.lastname@example.org>
Date: Tue Apr 11 19:28:59 2017 +0200
systemd: added support for older systemd CPUAffinity syntax
(In reply to Luiz Capitulino from comment #2)
> Already fixed on upstream:
> commit 3023c9e86090508602d9b9d55dcc94cef3cf9e7c
> Author: Jaroslav Škarvada <email@example.com>
> Date: Tue Apr 11 19:28:59 2017 +0200
> systemd: added support for older systemd CPUAffinity syntax
Thanks for info. I would like to do respin.
When using tuned-2.8.0-2.el7, I can see that the systemd configuration file doesn't contain commas and I don't see any systemd error on dmesg. So, this issue is fixed.
@Luiz: Thank you for your testing.
Switching to VERIFIED (SanityOnly) status based on successful test by lcapitulino.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.