Ureadahead: no pack file and boot message

Asked by AlexisB

Dear all,

I have found multiple post an a similar problem but I cannot found how to correct it. On every boot I have messages like "ureadahead-other main process terminated with status 4", which taking some time.

Also, when I run the command:

ureadahead --dump, I get:

~$ ureadahead --dump
ureadahead:/var/lib/ureadahead/pack: No such file or directory

Thanks for you help

More details on system:

ureadahead 0.90.3-2
Linux 2.6.31-20-386 #57-Ubuntu SMP Mon Feb 8 11:42:49 UTC 2010 i686 GNU/Linux

( upgraded from jaunty )

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ureadahead Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

I've linked to bug report.
btw. this one includes some useful cmds.
https://bugs.launchpad.net/ubuntu/+source/ureadahead/+bug/499773

Revision history for this message
fsando (fsando) said :
#2

I think I solved the problem:
rebuild the index (?) ureadahead needs (ureadahead --help, for more help)

sudo ureadahead --force

After this there are no visible errors.

I believe there are a couple of issues at play:

1) ureadahead needs access to /var during boot. If /var is placed on its partition it is not predictably available during boot and ureadahead will fail. The developer specifically addressed this issue somewhere and said that though he could make an (ugly) workaround it wasn't worth it as the real issue lies elsewhere.

2) I'm guessing here: in my case I had /var on a separate partition during installation after reading about the ureadahead issues I moved it but for this reason the index may not have been built during installation.

Can you help with this problem?

Provide an answer of your own, or ask AlexisB for more information if necessary.

To post a message you must log in.