Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1412187

Summary: microcode.service fails to load due to broken quoting in ExecStart line
Product: Red Hat Enterprise Linux 7 Reporter: Jaroslav Reznik <jreznik>
Component: microcode_ctlAssignee: Petr Oros <poros>
Status: CLOSED ERRATA QA Contact: Rachel Sibley <rasibley>
Severity: medium Docs Contact:
Priority: high    
Version: 7.3CC: agallego, antmak.pub, apmukher, aschorr, h.reindl, kueda, lmiksik, mschmidt, myllynen, ngalvin, pasteur, poros, rasibley, skozina, tomerbd1, tramer, vcojot, zpytela
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: microcode_ctl-2.1-16.3.el7_3 Doc Type: If docs needed, set a value
Doc Text:
Latest microcode_ctl introduced bug in systemd service. It is caused by broken quoting in ExecStart line. This fix removing doube quotes from ExecStart line.
Story Points: ---
Clone Of: 1411232 Environment:
Last Closed: 2017-03-02 17:10:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1411232    
Bug Blocks:    

Description Jaroslav Reznik 2017-01-11 13:34:51 UTC
This bug has been copied from bug #1411232 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 7 Rachel Sibley 2017-02-08 22:57:54 UTC
ALL TESTS PASSED

Verified as fixed in microcode_ctl-2.1-16.3.el7_3, the service now loads without errors

Before
===============================
~]# rpm -qa microcode_ctl
microcode_ctl-2.1-16.1.el7_3.x86_64

~]# systemctl status microcode -l
● microcode.service - Load CPU microcode update
   Loaded: error (Reason: Invalid argument)
   Active: inactive (dead) since Wed 2017-02-08 02:33:49 EST; 14h ago
 Main PID: 660 (code=exited, status=0/SUCCESS)

Feb 08 02:33:48 localhost.localdomain systemd[1]: Starting Load CPU microcode update...
Feb 08 02:33:49 localhost.localdomain systemd[1]: Started Load CPU microcode update.
Feb 08 17:12:03 hp-ms-01-c22.moonshot1.lab.eng.rdu.redhat.com systemd[1]: [/usr/lib/systemd/system/microcode.service:10] Trailing garbage, ignoring.
Feb 08 17:12:03 hp-ms-01-c22.moonshot1.lab.eng.rdu.redhat.com systemd[1]: microcode.service lacks both ExecStart= and ExecStop= setting. Refusing.


After
===============================
~]# yum update microcode_ctl-2.1-16.3.el7_3.x86_64.rpm

-reboot

~]# rpm -qa microcode_ctl
microcode_ctl-2.1-16.3.el7_3.x86_64

~]# systemctl status microcode -l
● microcode.service - Load CPU microcode update
   Loaded: loaded (/usr/lib/systemd/system/microcode.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Wed 2017-02-08 17:32:04 EST; 17min ago
  Process: 641 ExecStart=/usr/bin/bash -c grep -l GenuineIntel /proc/cpuinfo | xargs grep -l -E "model[[:space:]]*: 79$" > /dev/null || echo 1 > /sys/devices/system/cpu/microcode/reload (code=exited, status=0/SUCCESS)
 Main PID: 641 (code=exited, status=0/SUCCESS)

Feb 08 17:32:04 localhost.localdomain systemd[1]: Starting Load CPU microcode update...
Feb 08 17:32:04 localhost.localdomain systemd[1]: Started Load CPU microcode update.

Comment 8 Tomer Ben David 2017-02-14 16:50:37 UTC
Hi! is it possible to find microcode_ctl-2.1-16.3.el7_3 rpm, if not when is it expected to be released?

Comment 10 errata-xmlrpc 2017-03-02 17:10:49 UTC
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.

https://rhn.redhat.com/errata/RHBA-2017-0374.html