sys-apps/systemd-readahead-216 does not start: $ sudo systemctl status systemd-readahead-done ● systemd-readahead-done.service - Stop Read-Ahead Data Collection Loaded: loaded (/usr/lib64/systemd/system/systemd-readahead-done.service; indirect; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2015-02-03 19:53:26 CET; 5s ago Docs: man:systemd-readahead-replay.service(8) Process: 6300 ExecStart=/bin/touch /run/systemd/readahead/done (code=exited, status=1/FAILURE) Main PID: 6300 (code=exited, status=1/FAILURE) touch[6300]: /bin/touch: cannot touch ‘/run/systemd/readahead/done’: No such file or directory systemd[1]: systemd-readahead-done.service: main process exited, code=exited, status=1/FAILURE systemd[1]: Failed to start Stop Read-Ahead Data Collection. systemd[1]: Unit systemd-readahead-done.service entered failed state. systemd[1]: systemd-readahead-done.service failed.
I cannot reproduce this with sys-apps/systemd-218-r2. Do you have systemd-readahead-collect.service systemd-readahead-replay.service and systemd-readahead-drop.service enabled at boot? Also show: # ls -l /run/systemd/readahead/ total 4 -rw-r--r-- 1 root root 0 feb 4 10:22 done -rw-r--r-- 1 root root 8 feb 4 10:21 shared # systemctl status systemd-readahead-done.service ● systemd-readahead-done.service - Stop Read-Ahead Data Collection Loaded: loaded (/usr/lib64/systemd/system/systemd-readahead-done.service; indirect; vendor preset: enabled) Active: inactive (dead) since mié 2015-02-04 10:22:46 CET; 4min 15s ago Docs: man:systemd-readahead-replay.service(8) Process: 841 ExecStart=/bin/touch /run/systemd/readahead/done (code=exited, status=0/SUCCESS) Main PID: 841 (code=exited, status=0/SUCCESS) # systemctl status systemd-readahead-done.timer ● systemd-readahead-done.timer - Stop Read-Ahead Data Collection 10s After Completed Startup Loaded: loaded (/usr/lib64/systemd/system/systemd-readahead-done.timer; indirect; vendor preset: enabled) Active: active (elapsed) since mié 2015-02-04 10:22:16 CET; 4min 53s ago Docs: man:systemd-readahead-replay.service(8)
I tried: # systemctl start systemd-readahead-done When it gets executed during boot it works. I assumed I not only have to enable, but also start it.