Reiser4 breaks (Debian's ?) module-init-tools
Hi,On an (almost) fully Reiser4 system, /etc/modprobe.d/ contents seem to be disregarded. When tracing modprobe, each file in this directory is opened as a directory, that looks a lot like the Apache compatibility bug.
open("/etc/modprobe.d/autofs", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 getdents64(4, 0x8063e3c, 65536) = -1 ENOTDIR (Not a directory) close(4) = 0
Looking closer, it's not limited to that directory:
open("/lib/modules/2.6.8.1/modules.alias", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=27353, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 getdents64(3, 0x804f0ac, 65536) = -1 ENOTDIR (Not a directory) close(3) = 0
module-init-tools v. 3.1-pre5-7 (Debian testing)
Hello
Quoted 15 lines · Pierre Etchemaite
Hi,On an (almost) fully Reiser4 system,
/etc/modprobe.d/contents seem to be disregarded. When tracing modprobe, each file in this directory is opened as a directory, that looks a lot like the Apache compatibility bug.
open("/etc/modprobe.d/autofs", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)= 4fstat64(4, {st_mode=S_IFREG|0644, st_size=64, ...})= 0fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 getdents64(4, 0x8063e3c, 65536) = -1 ENOTDIR (Not a directory) close(4) = 0Looking closer, it's not limited to that directory:
Quoted 7 lines
open("/lib/modules/2.6.8.1/modules.alias", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)= 3fstat64(3, {st_mode=S_IFREG|0644, st_size=27353, ...})= 0fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 getdents64(3, 0x804f0ac, 65536) = -1 ENOTDIR (Not a directory) close(3) = 0module-init-tools v. 3.1-pre5-7 (Debian testing)
Would you please try whether this patch fixes the problem? ftp://ftp.ru.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc3/2.6.9-rc3-mm2/broken-out/reiser4-disable-pseudo.patch
Le mer 06 oct 2004 11:39:35 CEST, Vladimir Saveliev <[email protected]> a écrit :
(Sorry for the delay, I'm very busy those days)
Quoted 5 lines
Hello
Quoted 2 lines · Pierre Etchemaite
Hi,
Quoted 9 lines
Quoted 5 lines
On an (almost) fully Reiser4 system,
/etc/modprobe.d/contents seem to be disregarded. When tracing modprobe, each file in this directory is opened as a directory, that looks a lot like the Apache compatibility bug.Would you please try whether this patch fixes the problem? ftp://ftp.ru.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc3/2.6.9-rc3-mm2/broken-out/reiser4-disable-pseudo.patch
Yes, it fixes the problem (as expected).
Are you sure they aren't more programs (almost) silently failing ?
What about a patch that logs processes running getdents() on regular file descriptors, etc. ?
BR,
Pierre.