Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538694 - sys-apps/systemd-readahead-216 - /bin/touch: cannot touch ‘/run/systemd/readahead/done’: No such file or directory
Summary: sys-apps/systemd-readahead-216 - /bin/touch: cannot touch ‘/run/systemd/reada...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 18:56 UTC by Dennis Schridde
Modified: 2015-02-05 08:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2015-02-03 18:56:13 UTC
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.
Comment 1 Pacho Ramos gentoo-dev 2015-02-04 09:27:23 UTC
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)
Comment 2 Dennis Schridde 2015-02-05 08:49:36 UTC
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.