Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 432846

Summary: sys-apps/microcode-ctl should install a service file for systemd
Product: Gentoo Linux Reporter: Ulenrich <ulenrich>
Component: [OLD] Core systemAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulenrich 2012-08-26 12:34:25 UTC
Please a verbose microcode_ctl.service without -q, because 
otherwise you will not see any success via
journalctl _SYSTEMD_UNIT=microcode_ctl.service
---
[Unit]
Description=CPU microcode updater

[Service]
Type=oneshot
ExecStart=/usr/sbin/microcode_ctl -f /lib/firmware/microcode.dat

[Install]
WantedBy=multi-user.target
---
I am not sure about multi-user.target, but it works ...

Reproducible: Always

Steps to Reproduce:
1. using systemd
2. journalctl _SYSTEMD_UNIT=microcode_ctl.service

Actual Results:  
Shows just dead without any information with -q option

Expected Results:  
Aug 26 14:16:24 maci microcode_ctl[3655]: /usr/sbin/microcode_ctl: writing microcode (length: 482304)
Aug 26 14:16:24 maci microcode_ctl[3655]: /usr/sbin/microcode_ctl: microcode successfuly written to /dev/cpu/microcode
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-28 14:47:31 UTC
Er, I'm not following this... does microcode_ctl provide any unit at all?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-28 14:50:12 UTC
Well, in any case, there was a bug for microcode-ctl already...

*** This bug has been marked as a duplicate of bug 393507 ***