Bug#324900: nscd: umount /var fails (unclean shutdowns)
At Wed, 24 Aug 2005 20:14:43 +0200,
Zlatko Calusic wrote:
> 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
Why didn't your nscd shutdown before /etc/init.d/umountfs was invoked?
Under my standard sid environment, such problem does not occur because
nscd is stopped before umount is executed.
Regards,
-- gotom
Reply to: