1 |
Also, echo > /tmp/foo => same thing |
2 |
It looks like a problem with open(..., O_CREAT|O_TRUNC, 644), but i'll |
3 |
retry strace'ing the open,write and see where the problem chain starts |
4 |
|
5 |
On 2010-07-29, Andrey Vul <andrey.vul@×××××.com> wrote: |
6 |
> If / was mounted ro, touch would output strerror(EROFS), not |
7 |
> strerror(ENOENT) |
8 |
> |
9 |
> On 2010-07-28, Bill Longman <bill.longman@×××××.com> wrote: |
10 |
>> On 07/28/2010 01:52 PM, Alan McKinnon wrote: |
11 |
>>> On Wednesday 28 July 2010 22:20:17 Andrey Vul wrote: |
12 |
>>>> Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch |
13 |
>>>> /tmp/foo => strerror(ENOENT)). |
14 |
>>>> However, this is done as root and the dirs are marked 755 root:root. |
15 |
>>>> df -i shows only 2% inode usage. |
16 |
>>>> Any explanation as to why a rwx-ed dir can't be written to? This is |
17 |
>>>> breaking quite a few of the init scripts. |
18 |
>>>> |
19 |
>>>> -- |
20 |
>>>> Andrey Vul |
21 |
>>>> begin-base64 600 sig |
22 |
>>>> bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3J |
23 |
>>>> v bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K |
24 |
>>>> ` |
25 |
>>>> end |
26 |
>>> |
27 |
>>> sounds like / is mounted read-only |
28 |
>> |
29 |
>> Do read-only filesystems typically reply ENOENT when trying to create a |
30 |
>> file? It's usually something like "read-only filesystem" in that case. |
31 |
>> ENOENT means it can't even find the file. |
32 |
>> |
33 |
>> |
34 |
> |
35 |
> -- |
36 |
> Sent from my mobile device |
37 |
> |
38 |
> Andrey Vul |
39 |
> begin-base64 600 sig |
40 |
> bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3Jv |
41 |
> bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K |
42 |
> ` |
43 |
> end |
44 |
> |
45 |
|
46 |
-- |
47 |
Sent from my mobile device |
48 |
|
49 |
Andrey Vul |
50 |
begin-base64 600 sig |
51 |
bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3Jv |
52 |
bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K |
53 |
` |
54 |
end |