1 |
Helmut Jarausch <jarausch@××××××××××××××××.de> [10-12-15 10:00]: |
2 |
> Hi, |
3 |
> |
4 |
> I have to power down one of my machines each day. |
5 |
> Booting it the other day fails from time to time. |
6 |
> On this (and all my machines) /usr is on an ext4 file system by its |
7 |
> own. It looks as if mounting /usr fails sometimes (silently). |
8 |
> The first unusual message is that it cannot find the file |
9 |
> /usr/sbin/acpid . After that, most other actions fail as well. |
10 |
> |
11 |
> Once the machine has failed to boot it will fail every time afterwards |
12 |
> unless I do the following: |
13 |
> I boot by a rescue CD, change root and re-emerge sys-power/acpid (this |
14 |
> package contains /usr/sbin/acpid). |
15 |
> This single action has helped without any problem each time I had to |
16 |
> try it. |
17 |
> |
18 |
> Of course, I've done many checks on the drive hosting the /usr |
19 |
> partition - no errors at all (the drive is only a few months old and a |
20 |
> good one (enterprise edition)). |
21 |
> |
22 |
> So, I suspect openrc. Might it be that this is a timing problem and |
23 |
> openrc doesn't check if the partition is mounted? Booting has worked |
24 |
> just flawlessly on that machine for more than a year. It looks as if a |
25 |
> recent version of openrc (currently 0.6.8) has generated this problem. |
26 |
> |
27 |
> Thanks for any hint, |
28 |
> Helmut. |
29 |
> |
30 |
> |
31 |
|
32 |
Hi Helmut, |
33 |
|
34 |
it would be interesting to know, whether /usr/sbin/acpid is really |
35 |
missing, when the boot fails. |
36 |
|
37 |
If it is not missing, the boot fails due to a mount problem and not |
38 |
the re-installing of acpid as such cures the problem, but what this |
39 |
installation is doing else. |
40 |
Or in other words: Any installation, which put someting into /usr |
41 |
cures the problem. |
42 |
|
43 |
If the mount of /usr is the problem, which arises from a timing |
44 |
problem than there is something done in parallel which should be done |
45 |
in sequence (and was previously done in sequence). |
46 |
|
47 |
I dont know openrc, but may be a setting in its configuration file |
48 |
regarding this aspect will cure the problem? |
49 |
|
50 |
Good luck! |
51 |
|
52 |
Best regards, |
53 |
mcc |