On 8/11/05, sergey ivanov <[EMAIL PROTECTED]> wrote: > I have not succeeded with integrating reiser4 & pam_mktemp. > From one side I recompiled kernel with reiser4 patches modified to > return ENOTTY for attempt to deal with attributes, as tmpfs does. > Pam_mktemp does not work after this. So I returned to the kernel with > original Namesys' patches.
> # strace -o su.log -fF su - seriv > 1993 mkdir("/tmp/.private", 0711) = -1 EEXIST (File exists) > 1993 lstat64("/tmp/.private", {st_mode=S_IFDIR|0711, st_size=7, ...}) = 0 > 1993 open("/tmp/.private", O_RDONLY) = 3 > 1993 ioctl(3, EXT2_IOC_GETFLAGS, 0xbf9e37f8) = -1 EISDIR (Is a directory) > So it looks like reiser4 tries to be good and answer to ioctl > getting/setting attributes "EEXIST" and "EISDIR", > and not return error "ENOTTY". This seems kind of confusing -- the problem with the idea that all files are files and directories... do we really want to be returning that it's a directory here? My guess is that this is the confusing bit about this filesystem. AFAIK, this is probably confusing the PAM code or whatever. *shrugs* -- ~Mike - Just my two cents - No man is an island, and no man is unable.