FS#20292 - /var not umounted at shutdown (nscd)
Attached to Project:
Arch Linux
Opened by Alex Merry (pippin) - Tuesday, 27 July 2010, 21:26 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 28 July 2010, 06:23 GMT
Opened by Alex Merry (pippin) - Tuesday, 27 July 2010, 21:26 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 28 July 2010, 06:23 GMT
|
Details
Description:
I have /var mounted as a separate partition. For the last few days, /var has not unmounted at shutdown, complaining that it was busy. This means that the journal (reiserfs) has to be replayed at boot time. I modified rc.shutdown to run lsof on /var just before unmounting the local filesystems, and it came up with COMMAND: rc.shutdown USER: root FD: DEL TYPE: REG DEV: 254,2 NODE: 767 FILE: /var/db/nscd/passwd Judging from a similar Debian bug, this could well be a problem with bash doing something like getpwuid() when it starts. It didn't seem to happen if I went down to single-user mode (init 1) first, though, for some reason. I only tried that once, though. Additional info: glibc 2.12-4 bash 4.1.007-1 initscripts 2010.07-1 |
This task depends upon
Closed by Ionut Biru (wonder)
Wednesday, 28 July 2010, 06:23 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#16368
Wednesday, 28 July 2010, 06:23 GMT
Reason for closing: Duplicate
Additional comments about closing:
FS#16368.I'll note here what I noted there: killing nscd before shutting down solves the problem. It needs to be killed before the bash instance running rc.shutdown starts, though.