[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#324900: nscd: umount /var fails (unclean shutdowns)



Package: nscd
Version: 2.3.5-4
Severity: normal

With the latest changes in nscd functionality, namely using persistent
database in /var/db/nscd, /var partition can't be cleanly umounted. I
tried to avoid the problem by disabling persistent database, but even
that didn't help because nscd keeps open descriptor to a deleted file
in /var/run, and somehow /etc/init.d/rc inherits it.

This is the relevant part of the lsof output fired just before the
umount line in /etc/init.d/umountfs:

COMMAND    PID USER   FD      TYPE DEVICE    SIZE      NODE NAME
rc        2470 root  DEL       REG    3,9           1093449 /var/run/nscd/dbUUHtCX

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc6
Locale: LANG=C, LC_CTYPE=hr_HR (charmap=ISO-8859-2)

Versions of packages nscd depends on:
ii  libc6                         2.3.5-4    GNU C Library: Shared libraries an

nscd recommends no packages.

-- no debconf information



Reply to: