Skip to contentSkip to conversation

Bug#379780: autofs: Automounts fail to automount after a few days of uptime

DISCUSSION Anders Blomdell 2 participants 2 messages Aug 24, 2006 – Aug 25, 2006 Kernel automounter

lore
Share & tools
lore
#0 lore raw

I see similar behaviour on a FC4 system running 2.6.13-1.1526_FC4smp, in this case the problem seems to be (gleaned from strace of /usr/sbin/automount) when stating "/home/dir/subd":

read(3, "\4\0\0\0\0\0\0\0\f\214\2\0\10\0\0\0dir/subd\0\0\0\0\0\0"..., 272) = 272
chdir("/home") = 0
lstat64("dir/subd", 0xbfb6e0cc) = -1 ENOENT (No such file or directory)

in cases where no error occurs, the same stat gives this in the strace:

read(3, "\4\0\0\0\0\0\0\0\16\214\2\0\6\0\0\0dir\0\0\0\0\0\0\0"..., 272) = 272
chdir("/home") = 0
lstat64("dir", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0

so to mee it seems like the kernel is requesting the wrong information from the automounter...

Regards

Anders

Signature · 5 lines
Anders Blomdell                  Email: [email protected]
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden
maintainer
#1 lore raw

Re: autofs: Automounts fail to automount after a few days of uptime

Quoted 3 lines · Anders Blomdell

I see similar behaviour on a FC4 system running 2.6.13-1.1526_FC4smp, in this case the problem seems to be (gleaned from strace of /usr/sbin/automount) when stating "/home/dir/subd":

Yes. We've seen this quite a lot over time.
I'd be interested to see if this problem goes away wit a fully updated kernel.

Ian