12.3 boot systemd/systemctl boot.local is not executed

When 12.3 boots /etc/init.d/boot.local is not executed

so no hdparm to set
no cpupower to set

So where to put what was in boot.local so that its executed by systemd/sytemctl

A tutorial for systemd/systemctl is on Systemd - FedoraProject
could not find boot.local there

Seems to be executed here:

rc-local.service - /etc/init.d/boot.local Compatibility
      Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static)
      Active: active (exited) since Sun, 2013-03-17 10:13:39 MSK; 1min 8s ago
     Process: 484 ExecStart=/etc/init.d/boot.local (code=exited, status=0/SUCCESS)
      CGroup: name=systemd:/system/rc-local.service

Mar 17 10:13:39 linux-o0ic.site systemd[1]: Started /etc/init.d/boot.local Compatibility.

If the OP runs “status” and gets an identical result to the above, then it should mean that the boot.local init script did indeed run

systemctl status rc-local.service

If you see an error, then you’ll need to troubleshoot.

On the other hand, if you really want to leave systemV you should find the specific Units in /usr/lib/systemd/system/, copy them to /etc/systemd/system where you can edit and your changes will over-ride the defaults.


Have seen that to

but the execution is different
i have “cpupower frequency-set -g performance” in boot.local

starting opensuse 12.3 i see when kde is loaded

cpu speed is 1.40 then 3.60 1.40 2.20 1.40 (widget cpufreqdisplay)

the 3.60 comes from cpupower in boot.local ??

to keep the cpu on 3.60 i have to execute “cpupower frequency-set -g performance” in a terminal as root

this is what status is showing

rc-local.service - /etc/init.d/boot.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static)
Active: failed (Result: exit-code) since Sun, 2013-03-17 07:26:49 CET; 16min ago
Process: 3452 ExecStart=/etc/init.d/boot.local (code=exited, status=203/EXEC)
CGroup: name=systemd:/system/rc-local.service

Mar 17 07:26:49 linux-raid.site systemd[1]: Starting /etc/init.d/boot.local Compatibility…
Mar 17 07:26:49 linux-raid.site systemd[1]: rc-local.service: main process exited, code=exited, status=203/EXEC
Mar 17 07:26:49 linux-raid.site systemd[1]: Failed to start /etc/init.d/boot.local Compatibility.
Mar 17 07:26:49 linux-raid.site systemd[1]: Unit rc-local.service entered failed state

So boot.local is executed. Why it does not do what you expect is probably separate topic.


there was an error in boot.local

due to a bad copy-paste operation

And while you just found out how to copy/paste, please next time copy/paste computer text in between CODE tags when you post here (use the # button in the toolbar above the post editor to get the CODE tags).