Bug#324900: nscd: umount /var fails (unclean shutdowns)
GOTO Masanori <firstname.lastname@example.org> writes:
> At Thu, 25 Aug 2005 12:56:04 +0200,
> Zlatko Calusic wrote:
>> rc 1119 root mem REG 8,9 217016 228931 /var/db/nscd/passwd
> This is another file which is not /var/run/nscd/dbXXXXXX.
That is because I reenabled persistent caching (seeing that disabling
it doesn't help, why not have it enabled, after all).
>> This is the process list at the same time (kernel daemons and ps
>> itself excluded):
>> UID PID PPID C STIME TTY TIME CMD
>> root 1 0 0 12:42 ? 00:00:00 init 
>> root 1119 1 0 12:47 ? 00:00:00 /bin/sh /etc/init.d/rc 6
>> root 1421 1119 0 12:47 ? 00:00:00 /bin/sh /etc/rc6.d/S40umountfs stop
>> What next?
> Before shutting down, "lsof | grep nscd" probably shows /var/db/nscd
> or /var/run/nscd files. Could you try it?
lsof | grep nscd right before reboot -d -f -i line:
rc 827 root mem REG 8,9 217016 228931 /var/db/nscd/passwd
Effectively, same shit. :(
One thing I would like to add is that it seems we're not seeing
leaked/passed file descriptor but memmory mapped region ("mem" in the
losf output above above). It could even be some kind of kernel bug.
Other thing: is it possible that only I am seeing such behaviour, can
you reproduce it on your machine? Anybody else (reading this on the