I also have this problem with Ubuntu 15.10, same output as Nicolas: $ sudo systemctl status ureadahead ● ureadahead.service - Read required files in advance Loaded: loaded (/lib/systemd/system/ureadahead.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2016-01-30 07:07:07 GMT; 15min ago Process: 233 ExecStart=/sbin/ureadahead (code=exited, status=5) Main PID: 233 (code=exited, status=5)
Jan 30 07:07:07 dicer2 ureadahead[233]: ureadahead: Error while tracing: No such file or directory Jan 30 07:07:07 dicer2 ureadahead[233]: Counted 2 CPUs Jan 30 07:08:19 dicer2 systemd[1]: Stopped Read required files in advance. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ureadahead in Ubuntu. https://bugs.launchpad.net/bugs/1237042 Title: ureadahead source needs "tracing_enabled" changed to "tracing_on" for 12.04.3 Status in ureadahead package in Ubuntu: Confirmed Bug description: On a fresh install of Ubuntu 12.04.3 (64-bit), ureadahead was always exiting with status code 5. When manually run as: sudo /sbin/ureadahead --force-trace --debug The output is: Counted 4 CPUs trace: Missing uselib tracing: No such file or directory ureadahead: Error while tracing: No such file or directory The uselib tracing notice is not important. The "error while tracing" notice lead me to compare ureadahead sources between 12.04.3 and 13.04. Note that ureadahead in 13.04 works. I noticed this difference on lines 195 and 232: if (set_value (dfd, "tracing_enabled", vs: if (set_value (dfd, "tracing_on", This change is mentioned in the changelog as: ureadahead (0.100.0-13) raring; urgency=low * src/trace.c: tracing_enabled is deprecated and gone, switch to tracing_on (LP: #1085766). -- Andy Whitcroft <a...@ubuntu.com> Fri, 11 Jan 2013 12:05:17 +0000 I suspect that this issue occurs in 12.04.3 because it is now using the newer raring kernel 3.8.0-31. Previous flavors of 12.04 such as 12.04.2 do not seem to exhibit this ureadahead issue, probably because the kernel is older 3.5.xx. As a proof-of-concept test, I hex edited the 12.04.3 /sbin/ureadahead to change "tracing_enabled" to "tracing_on". Upon reboot, now ureadahead works, generates the /var/lib/ureadahead/pack file, and it does not report status code 5. Another workaround is to use the ureadahead binary from 13.04, but the updated /lib/x86_64-linux-gnu/libext2fs.so.2.4 is also required from 13.04. $ lsb_release -rd Description: Ubuntu 12.04.3 LTS Release: 12.04 $ apt-cache policy ureadahead ureadahead: Installed: 0.100.0-12 Candidate: 0.100.0-12 Version table: *** 0.100.0-12 0 500 http://mirror.peer1.net/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ureadahead/+bug/1237042/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp