Package: runit Version: 2.0.0-1 Severity: important
I first noticed that /var is always checked on reboot. I also see a failure to umount /var due to filesystem being in use, shortly before the laptop turns itself off. I then put "lsof /var" and "ps aux" in the umountfs script, to see what was keeping files open on /var. This is what I got: ps aux (kernel threads edited out): root 4306 0.0 0.0 9072 1272 ? Ss 12:57 0:00 /bin/sh /etc/runit/3 root 4336 1.0 0.0 17492 1656 ? S 12:57 0:00 /bin/sh /etc/init.d/rc 6 root 4433 0.0 0.0 17420 1540 ? S 12:57 0:00 /bin/sh /etc/rc6.d/S40umountfs stop root 4436 0.0 0.0 14732 984 ? R 12:57 0:00 /bin/ps aux Nothing unexpected here. Now lsof /var: COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME 3 4306 root DEL REG 8,6 309479 /var/run/nscd/dbHNkiVS lsof 4437 root 1w REG 8,6 0 48877 /var/lsof-var The latter one is merely lsof saving its result on /var, it goes away before umount is attempted. The first one is the problem, "runit" itself is holding a file open, preventing the umount. I use nscd, but the nscd process is not running at this point. It looks like runit somehow gets involved with nscd files, I am not sure how that happens. I am worried that this inability to shutdown could lead to damaged files on /var. I'll try avoiding nscd, but that is not a perfect solution. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (800, 'stable'), (700, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.27-rc4-hh1 (SMP w/2 CPU cores) Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash runit depends on no packages. Versions of packages runit recommends: ii fgetty 0.6-5 very small, efficient, console-onl Versions of packages runit suggests: ii runit-run 1.0.0 a UNIX init scheme with service su ii socklog-run 2.1.0-8 system and kernel logging services -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]