...
>
> I chose to strace krdb because it's the first app that is started by the
> startkde script (and it hangs).
>
> krdb STRACE:
> read(6, 0x40508000, 4096) = -1 EPERM (Operation not permitted)
> fstat(6, {st_mode=S_IFREG|S_ISGID|0640, st_size=76, ...}) = 0
> read(6, 0x40508000, 4096) = -1 EIO (Input/output error)
> fstat(6, {st_mode=S_IFREG|S_ISGID|0640, st_size=76, ...}) = 0
>
> Is it trying to open/read a suid file (which one) and getting IO errors? I can
> do that with the shell perfectly...
st_mode=S_IFREG|S_ISGID|0640 implies a "mandatory locking" file.
knfsd currently refuses to touch mandatory locking files as NFS (v2
and v3 at least) cannot support mandatory locking. It would probably
be as safe, and less intrusive, to allow access but simply deny all
lock requests to a mandatory locking file, but I haven't looked into
the issues very deeply.
Do you know which file is being accessed? used "tcpdump -s 300"
should help you find out.
Does it "need" to have mandatory locking set?
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/